Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/runtime/test/generated/spec_V1_0/
Dtanh.example.cpp7 namespace generated_tests::tanh { namespace
54 namespace generated_tests::tanh { namespace
/frameworks/ml/nn/common/include/
DActivationFunctor.h48 return std::tanh(a); in operator()
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dtanh_quant8_signed.mod.py32 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dtanh_v1_2.mod.py46 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rscript139 TEST_FUNC_1(tanh);
/frameworks/ml/nn/common/operations/
DQuantizedLSTM.cpp162 gemmlowp::tanh(input_modulation_gate_input); in quantizedLstmStep()
189 F0 output_activ_int16 = output_gate_output * gemmlowp::tanh(new_state_f3); in quantizedLstmStep()
DActivation.cpp93 *outputData = static_cast<_Float16>(std::tanh(static_cast<float>(*inputData))); in tanhFloat16()
103 *outputData = std::tanh(*inputData); in tanhFloat32()
/frameworks/ml/nn/common/
DQuantUtils.h157 F0 tanh_output = gemmlowp::tanh(tanh_input); in ApplyTanh()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript867 f = tanh(f);
868 f2 = tanh(f2);
869 f3 = tanh(f3);
870 f4 = tanh(f4);
Dmath.rscript324 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript887 f = tanh(f);
888 f2 = tanh(f2);
889 f3 = tanh(f3);
890 f4 = tanh(f4);
Dmath.rscript350 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript885 f = tanh(f);
886 f2 = tanh(f2);
887 f3 = tanh(f3);
888 f4 = tanh(f4);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript179 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.rs.orig324 TEST_FN_FUNC_FN(tanh);
Dmath.rscript324 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript254 TEST_HN_FUNC_HN(tanh);
Dmath.rscript348 TEST_FN_FUNC_FN(tanh);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript324 TEST_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/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript393 BENCH_FN_FUNC_FN(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.rscript3387 *(float*)buf2369 = tanh(*(float*)buf2370);
3388 *(float2*)buf2371 = tanh(*(float2*)buf2372);
3389 *(float3*)buf2373 = tanh(*(float3*)buf2374);
3390 *(float4*)buf2375 = tanh(*(float4*)buf2376);

12