/frameworks/ml/nn/common/operations/ |
D | Reduce.cpp | 52 inline bool compute(IOperationExecutionContext* context, T init, T func(T, T)) { in compute() function 169 return compute<_Float16>(context, 1, [](_Float16 a, _Float16 b) -> _Float16 { in executeProd() 175 return compute<float>(context, 1, [](float a, float b) -> float { in executeProd() 188 return compute<_Float16>(context, 0, [](_Float16 a, _Float16 b) { return a + b; }); in executeSum() 190 return compute<float>(context, 0, [](float a, float b) { return a + b; }); in executeSum() 199 return compute<_Float16>(context, kFloat16Lowest, in executeMax() 202 return compute<float>(context, std::numeric_limits<float>::lowest(), in executeMax() 205 return compute<uint8_t>(context, std::numeric_limits<uint8_t>::lowest(), in executeMax() 208 return compute<int8_t>(context, std::numeric_limits<int8_t>::lowest(), in executeMax() 218 return compute<_Float16>(context, kFloat16Max, in executeMin() [all …]
|
D | Dequantize.cpp | 39 bool compute(const InputType* inputData, const Shape& inputShape, OutputType* outputData) { in compute() function 126 return compute(inputBuffer, inputShape, in execute() 129 return compute(inputBuffer, inputShape, context->getOutputBuffer<float>(kOutputTensor)); in execute() 134 return compute(inputBuffer, inputShape, in execute() 137 return compute(inputBuffer, inputShape, context->getOutputBuffer<float>(kOutputTensor)); in execute() 142 return compute(inputBuffer, inputShape, in execute() 145 return compute(inputBuffer, inputShape, context->getOutputBuffer<float>(kOutputTensor)); in execute()
|
D | Neg.cpp | 43 inline bool compute(const T* input, const Shape& shape, T* output) { in compute() function 75 return compute(context->getInputBuffer<_Float16>(kInputTensor), in execute() 79 return compute(context->getInputBuffer<float>(kInputTensor), in execute() 83 return compute(context->getInputBuffer<int32_t>(kInputTensor), in execute()
|
D | Elementwise.cpp | 41 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute() function 53 return compute<float, _Float16>(func, context->getInputBuffer<_Float16>(kInputTensor), in execute() 57 return compute<float, float>(func, context->getInputBuffer<float>(kInputTensor), in execute() 70 return compute<float, _Float16>(std::abs, in executeAbs() 75 return compute<float, float>(std::abs, context->getInputBuffer<float>(kInputTensor), in executeAbs() 79 return compute<int32_t, int32_t>(std::abs, in executeAbs()
|
D | Comparisons.cpp | 43 bool compute(const std::function<bool(ComparisonType, ComparisonType)>& func, const DataType* aData, in compute() function 75 return compute<DataType, ComparisonType>( in executeLessTyped() 84 return compute<DataType, ComparisonType>( in executeLessEqualTyped() 93 return compute<DataType, ComparisonType>( in executeEqualTyped() 102 return compute<DataType, ComparisonType>( in executeNotEqualTyped() 111 return compute<DataType, ComparisonType>( in executeGreaterEqualTyped() 120 return compute<DataType, ComparisonType>( in executeGreaterTyped()
|
D | LogicalAndOr.cpp | 39 bool compute(const std::function<bool(bool, bool)>& func, const bool8* aData, const Shape& aShape, in compute() function 83 return compute( in executeAnd() 91 return compute( in executeOr()
|
D | LogSoftmax.cpp | 43 inline bool compute(const T* input, const Shape& shape, T beta, uint32_t axis, T* output) { in compute() function 104 return compute(context->getInputBuffer<_Float16>(kInputTensor), in execute() 109 return compute(context->getInputBuffer<float>(kInputTensor), in execute()
|
D | LogicalNot.cpp | 37 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute() function 66 return compute(context->getInputBuffer<bool8>(kInputTensor), in execute()
|
/frameworks/compile/slang/tests/F_root_compute_really_bad/ |
D | stderr.txt.expect | 2 root_compute_really_bad.rscript:5:31: error: In compute kernel root(), special parameter 'x' must b… 3 root_compute_really_bad.rscript:6:19: error: In compute kernel root(), parameter 'extra1' cannot ap… 4 root_compute_really_bad.rscript:6:36: error: In compute kernel root(), parameter 'extra2' cannot ap… 12 root_compute_really_bad.rscript:10:66: error: Unexpected parameter 'x1' for compute kernel root2() 13 root_compute_really_bad.rscript:11:26: error: Unexpected parameter 'y1' for compute kernel root2() 14 root_compute_really_bad.rscript:16:38: error: In compute kernel root_kernel(), special parameter 'x… 15 root_compute_really_bad.rscript:16:50: error: In compute kernel root_kernel(), parameter 'extra1' c… 16 root_compute_really_bad.rscript:16:67: error: In compute kernel root_kernel(), parameter 'extra2' c…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageProcessHelper.java | 89 return new Threshold().compute(bitmap); in doInBackground() 103 public float compute(Bitmap bitmap) { in compute() method in ImageProcessHelper.Threshold 112 return algorithm.compute(grayscale, histogram); in compute() 167 public float compute(Bitmap bitmap, int[] histogram) { in compute() method in ImageProcessHelper.Percentile85 190 public float compute(Bitmap bitmap, int[] histogram) { in compute() method in ImageProcessHelper.Otsus 232 float compute(Bitmap bitmap, int[] histogram); in compute() method
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
D | Android.mk | 4 LOCAL_MODULE:= rstest-compute 11 compute.cpp
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
D | Android.mk | 4 LOCAL_MODULE:= rstest-compute-shared 10 compute.cpp
|
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
D | Android.mk | 4 LOCAL_MODULE:= rstest-compute-getpointer 10 compute.cpp
|
/frameworks/compile/slang/tests/F_root_compute_too_many_args/ |
D | stderr.txt.expect | 1 root_compute_too_many_args.rscript:6:20: error: In compute kernel root(), parameter 'extra1' cannot… 2 root_compute_too_many_args.rscript:6:37: error: In compute kernel root(), parameter 'extra2' cannot…
|
/frameworks/ml/nn/runtime/ |
D | ExecutionBuilder.h | 81 return compute(synchronizationCallback); in computeAsynchronously() 83 int computeSynchronously() { return compute(nullptr); } in computeSynchronously() 84 int burstCompute(BurstBuilder* burst) { return compute(nullptr, burst); } in burstCompute() 131 int compute(sp<ExecutionCallback>* synchronizationCallback, 267 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> compute(
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RotationCache.java | 57 final R result = mComputation.compute(t, rotation); in getOrCompute() 68 R compute(T t, int rotation); in compute() method
|
/frameworks/ml/nn/runtime/test/ |
D | TestTrivialModel.cpp | 121 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F() 174 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F() 194 ASSERT_EQ(execution2.compute(), Result::NO_ERROR); in TEST_F() 205 ASSERT_EQ(execution3.compute(), Result::NO_ERROR); in TEST_F() 277 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F() 306 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
|
/frameworks/rs/script_api/ |
D | rs_core.spec | 20 RenderScript is a high-performance runtime that provides compute operations at the native level. 24 to write RenderScript code in C99. The RenderScript compute header files are automatically
|
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/ |
D | stderr.txt.expect | 6 root_compute_non_uint32_t_xyzwar.rscript:6:44: error: In compute kernel root(), parameter 'w' canno… 7 root_compute_non_uint32_t_xyzwar.rscript:6:53: error: In compute kernel root(), parameter 'ar' cann…
|
/frameworks/ml/nn/runtime/test/fibonacci_extension/ |
D | FibonacciDriver.cpp | 95 bool compute(int32_t n, ScaleT outputScale, ZeroPointT outputZeroPoint, OutputT* output) { in compute() function 126 return compute(n, /*scale=*/1.0, /*zeroPoint=*/0, output); in execute() 132 return compute(n, outputQuant->scale, outputQuant->zeroPoint, output); in execute()
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | debug_info_static_const_fp.ll | 6 ; There doesn't seem to be any way to compute the basename of %s, hence the unfortunate 25 ; void compute() {
|
/frameworks/compile/slang/tests/F_v15_non_root_kernel/ |
D | stderr.txt.expect | 1 v15_non_root_kernel.rscript:5:6: error: Non-root compute kernel foo() is not supported in SDK level…
|
/frameworks/compile/slang/tests/F_z_wrong_api/ |
D | stderr.txt.expect | 1 z_wrong_api.rscript:5:60: error: compute kernel bad() targeting SDK levels 11-22 may not use specia…
|
/frameworks/compile/slang/tests/F_ctxt_wrong_place/ |
D | stderr.txt.expect | 1 ctxt_wrong_place.rscript:9:57: error: In compute kernel bad(), special parameter 'context' must be …
|
/frameworks/compile/slang/tests/F_multi_in_target_version/ |
D | stderr.txt.expect | 1 multi_in_target_version.rscript:5:43: error: Invalid parameter 'in1' for compute kernel root(). Ker…
|