Home
last modified time | relevance | path

Searched defs:TestTypeHelper (Results 1 – 1 of 1) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestGpuNnapi.cpp110 struct TestTypeHelper<Type::TENSOR_FLOAT32> { struct
111 using ElementType = float;
115 static constexpr double kTolerance = 1e-6;
118 struct TestTypeHelper<Type::TENSOR_FLOAT16> { struct
119 using ElementType = _Float16;
123 static constexpr double kTolerance = 1e-3;
127 using ElementType = uint8_t;
128 static constexpr bool kIsQuantized = true;
131 static constexpr double kTolerance = 0;
135 using ElementType = int8_t;
[all …]