Home
last modified time | relevance | path

Searched refs:tanh (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/ml/nn/runtime/test/generated/tests/
Dtanh.mod.py.cpp5 namespace tanh { namespace
12 TEST_F(GeneratedTests, tanh) { in TEST_F() argument
13 execute(tanh::CreateModel, in TEST_F()
14 tanh::is_ignored, in TEST_F()
15 tanh::get_examples()); in TEST_F()
17 TEST_AVAILABLE_SINCE(V1_0, tanh, tanh::CreateModel) in TEST_AVAILABLE_SINCE() argument
20 execute(tanh::CreateModel_dynamic_output_shape, in TEST_AVAILABLE_SINCE()
21 tanh::is_ignored_dynamic_output_shape, in TEST_AVAILABLE_SINCE()
22 tanh::get_examples_dynamic_output_shape()); in TEST_AVAILABLE_SINCE()
/frameworks/ml/nn/common/include/
DActivationFunctor.h48 return std::tanh(a); in operator()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dtanh_v1_2.mod.py44 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
/frameworks/ml/nn/common/operations/
DActivation.cpp81 *outputData = static_cast<_Float16>(std::tanh(static_cast<float>(*inputData))); in tanhFloat16()
91 *outputData = std::tanh(*inputData); in tanhFloat32()
DQuantizedLSTM.cpp155 gemmlowp::tanh(input_modulation_gate_input); in quantizedLstmStep()
182 F0 output_activ_int16 = output_gate_output * gemmlowp::tanh(new_state_f3); in quantizedLstmStep()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs139 TEST_FUNC_1(tanh);
/frameworks/ml/nn/runtime/test/generated/
Dall_generated_V1_0_vts_tests.cpp5831 namespace tanh { namespace
5838 TEST_F(NeuralnetworksHidlTest, tanh) { in TEST_F() argument
5840 tanh::createTestModel, in TEST_F()
5841 tanh::is_ignored, in TEST_F()
5842 tanh::get_examples()); in TEST_F()
5845 TEST_F(ValidationTest, tanh) { in TEST_F() argument
5846 const Model model = tanh::createTestModel(); in TEST_F()
5847 const std::vector<Request> requests = createRequests(tanh::get_examples()); in TEST_F()
5855 tanh::createTestModel_dynamic_output_shape, in TEST_F()
5856 tanh::is_ignored_dynamic_output_shape, in TEST_F()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs867 f = tanh(f);
868 f2 = tanh(f2);
869 f3 = tanh(f3);
870 f4 = tanh(f4);
Dmath.rs324 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs887 f = tanh(f);
888 f2 = tanh(f2);
889 f3 = tanh(f3);
890 f4 = tanh(f4);
Dmath.rs350 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs885 f = tanh(f);
886 f2 = tanh(f2);
887 f3 = tanh(f3);
888 f4 = tanh(f4);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rs254 TEST_HN_FUNC_HN(tanh);
Dmath.rs348 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs179 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak310 TEST_FN_FUNC_FN(tanh);
Dmath.rs324 TEST_FN_FUNC_FN(tanh);
Dmath.rs.orig324 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rs324 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs393 BENCH_FN_FUNC_FN(tanh);
/frameworks/rs/driver/runtime/
Drs_cl.c786 float __attribute__((overloadable)) tanh(float v) { in tanh() function
789 FN_FUNC_FN(tanh) in FN_FUNC_FN() argument
1630 THUNK_NATIVE_F(tanh) in THUNK_NATIVE_F()
2259 HN_FUNC_HN(tanh);
/frameworks/rs/script_api/include/
Drs_math.rsh5377 * See also tanh().
6306 * tanh: Hyperbolic tangent
6313 tanh(float v);
6316 tanh(float2 v);
6319 tanh(float3 v);
6322 tanh(float4 v);
6326 tanh(half v);
6331 tanh(half2 v);
6336 tanh(half3 v);
6341 tanh(half4 v);
/frameworks/rs/script_api/
Drs_math.spec2711 See also @tanh().
3275 function: tanh
3289 function: tanh
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs3387 *(float*)buf2369 = tanh(*(float*)buf2370);
3388 *(float2*)buf2371 = tanh(*(float2*)buf2372);
3389 *(float3*)buf2373 = tanh(*(float3*)buf2374);
3390 *(float4*)buf2375 = tanh(*(float4*)buf2376);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs3280 *(float*)buf2299 = tanh(*(float*)buf2300);
3281 *(float2*)buf2301 = tanh(*(float2*)buf2302);
3282 *(float3*)buf2303 = tanh(*(float3*)buf2304);
3283 *(float4*)buf2305 = tanh(*(float4*)buf2306);

12