aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/reference/FlattenLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/reference/FlattenLayer.cpp')
-rw-r--r--tests/validation/reference/FlattenLayer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/validation/reference/FlattenLayer.cpp b/tests/validation/reference/FlattenLayer.cpp
index 44f4d93178..e140d752a0 100644
--- a/tests/validation/reference/FlattenLayer.cpp
+++ b/tests/validation/reference/FlattenLayer.cpp
@@ -36,7 +36,7 @@ namespace reference
template <typename T>
SimpleTensor<T> flatten_layer(const SimpleTensor<T> &src, const TensorShape &shape_flatten)
{
- SimpleTensor<T> dst(shape_flatten, src.data_type(), 1, src.fixed_point_position());
+ SimpleTensor<T> dst(shape_flatten, src.data_type(), 1);
// Note: Since the reference implementation does not use padding bytes, we can copy directly the content of the source tensor
std::copy(src.data(), src.data() + src.num_elements(), dst.data());
@@ -46,8 +46,6 @@ SimpleTensor<T> flatten_layer(const SimpleTensor<T> &src, const TensorShape &sha
template SimpleTensor<float> flatten_layer(const SimpleTensor<float> &src, const TensorShape &shape_flatten);
template SimpleTensor<half> flatten_layer(const SimpleTensor<half> &src, const TensorShape &shape_flatten);
-template SimpleTensor<qint8_t> flatten_layer(const SimpleTensor<qint8_t> &src, const TensorShape &shape_flatten);
-template SimpleTensor<qint16_t> flatten_layer(const SimpleTensor<qint16_t> &src, const TensorShape &shape_flatten);
} // namespace reference
} // namespace validation
} // namespace test