Home
last modified time | relevance | path

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

/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/
DTestGpuNnapi.cpp110 struct TestTypeHelper<Type::TENSOR_FLOAT32> { struct
111 using ElementType = float;
112 static constexpr bool kIsQuantized = false;
114 static constexpr uint32_t kClearData = 0x3f800000;
115 static constexpr double kTolerance = 1e-6;
118 struct TestTypeHelper<Type::TENSOR_FLOAT16> { struct
119 using ElementType = _Float16;
120 static constexpr bool kIsQuantized = false;
122 static constexpr uint32_t kClearData = 0x3c003c00;
123 static constexpr double kTolerance = 1e-3;
[all …]