Home
last modified time | relevance | path

Searched refs:compute (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/ml/nn/common/operations/
DReduce.cpp52 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 …]
DDequantize.cpp39 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()
DNeg.cpp43 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()
DElementwise.cpp41 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()
DComparisons.cpp43 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()
DLogicalAndOr.cpp39 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()
DLogSoftmax.cpp43 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()
DLogicalNot.cpp37 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/
Dstderr.txt.expect2 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/
DImageProcessHelper.java89 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/
DAndroid.mk4 LOCAL_MODULE:= rstest-compute
11 compute.cpp
/frameworks/rs/tests/cpp_api/cppbasic-shared/
DAndroid.mk4 LOCAL_MODULE:= rstest-compute-shared
10 compute.cpp
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
DAndroid.mk4 LOCAL_MODULE:= rstest-compute-getpointer
10 compute.cpp
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 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/
DExecutionBuilder.h81 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/
DRotationCache.java57 final R result = mComputation.compute(t, rotation); in getOrCompute()
68 R compute(T t, int rotation); in compute() method
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp121 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/
Drs_core.spec20 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/
Dstderr.txt.expect6 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/
DFibonacciDriver.cpp95 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/
Ddebug_info_static_const_fp.ll6 ; 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/
Dstderr.txt.expect1 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/
Dstderr.txt.expect1 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/
Dstderr.txt.expect1 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/
Dstderr.txt.expect1 multi_in_target_version.rscript:5:43: error: Invalid parameter 'in1' for compute kernel root(). Ker…

1234