diff options
Diffstat (limited to 'src/backends/cl/test/OpenClTimerTest.cpp')
-rw-r--r-- | src/backends/cl/test/OpenClTimerTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/cl/test/OpenClTimerTest.cpp b/src/backends/cl/test/OpenClTimerTest.cpp index 6f44cc4772..1eeb9ed98f 100644 --- a/src/backends/cl/test/OpenClTimerTest.cpp +++ b/src/backends/cl/test/OpenClTimerTest.cpp @@ -54,9 +54,9 @@ BOOST_AUTO_TEST_CASE(OpenClTimerBatchNorm) int32_t qOffset = 0; float qScale = 0.f; - TensorInfo inputTensorInfo({num, channels, height, width}, GetDataType<float>()); - TensorInfo outputTensorInfo({num, channels, height, width}, GetDataType<float>()); - TensorInfo tensorInfo({channels}, GetDataType<float>()); + TensorInfo inputTensorInfo({num, channels, height, width}, DataType::Float32); + TensorInfo outputTensorInfo({num, channels, height, width}, DataType::Float32); + TensorInfo tensorInfo({channels}, DataType::Float32); // Set quantization parameters if the requested type is a quantized type. if(IsQuantizedType<float>()) @@ -143,4 +143,4 @@ BOOST_AUTO_TEST_CASE(OpenClTimerBatchNorm) BOOST_AUTO_TEST_SUITE_END() -#endif //aarch64 or x86_64
\ No newline at end of file +#endif //aarch64 or x86_64 |