diff options
author | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2019-01-22 16:10:44 +0000 |
---|---|---|
committer | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2019-01-22 16:10:44 +0000 |
commit | 649dd9515ddf4bd00a0bff64d51dfd835a6c7b39 (patch) | |
tree | c938bc8eb11dd24223c0cb00a57d4372a907b943 /src/backends/cl/test/OpenClTimerTest.cpp | |
parent | 382e21ce95c04479a6900afca81a57949b369f1e (diff) | |
download | armnn-649dd9515ddf4bd00a0bff64d51dfd835a6c7b39.tar.gz |
IVGCVSW-2467 Remove GetDataType<T> function
Change-Id: I7359617a307b9abb4c30b3d5f2364dc6d0f828f0
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 |