diff options
author | Michael K. Sanders <mks@google.com> | 2018-10-29 12:02:39 +0000 |
---|---|---|
committer | Michael K. Sanders <mks@google.com> | 2018-11-12 14:08:09 +0000 |
commit | 836477ebf406d5bf1ac642762a802ace25ef8039 (patch) | |
tree | f84a8c79a80a8f5c99063a1efdab3ddecbad3666 /nn/runtime/test/TestUnknownDimensions.cpp | |
parent | aee41dd26840c4019ef50bcdefd0f83a93eb8694 (diff) | |
download | ml-836477ebf406d5bf1ac642762a802ace25ef8039.tar.gz |
Adds float16 support to generated tests.
Uses the _Float16 type (ISO/IEC TS 18661-3:2015) for storage.
Test: NeuralNetworksTest_static
Bug: 113563458
Change-Id: I6ce7e53e28a60092fda7dc1832b9bdfa313fabd6
Diffstat (limited to 'nn/runtime/test/TestUnknownDimensions.cpp')
-rw-r--r-- | nn/runtime/test/TestUnknownDimensions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nn/runtime/test/TestUnknownDimensions.cpp b/nn/runtime/test/TestUnknownDimensions.cpp index 513aa9f72..86db04cb7 100644 --- a/nn/runtime/test/TestUnknownDimensions.cpp +++ b/nn/runtime/test/TestUnknownDimensions.cpp @@ -280,6 +280,11 @@ TEST_P(UnknownDimensionsTest, Quantized) { TestAll<uint8_t, Type::TENSOR_QUANT8_ASYMM>(); } +// TODO: Enable when float16 support is added to the ADD operation. +// TEST_P(UnknownDimensionsTest, Float16) { +// TestAll<_Float16, Type::TENSOR_FLOAT16>(); +// } + INSTANTIATE_TEST_CASE_P(UnknownCombinationsTest, UnknownDimensionsTest, ::testing::ValuesIn(ioValues)); } // end namespace |