[VPUX] - Tensor data with element type f16, is not representable as pointer to i16 (#16379)

* [VPUX] - Tensor data with element type f16, is not representable as pointer to i16

* [VPUX] - Tensor data with element type f16, is not representable as pointer to i16
This commit is contained in:
Daria Mityagina
2023-03-20 14:54:27 +00:00
committed by GitHub
parent 71167df234
commit 1c7b6a7b2a

View File

@@ -563,7 +563,7 @@ ov::Tensor get_random_tensor(const std::pair<std::string, benchmark_app::InputIn
} else if (type == ov::element::f64) {
return create_tensor_random<double, double>(inputInfo.second);
} else if (type == ov::element::f16) {
return create_tensor_random<short, short>(inputInfo.second);
return create_tensor_random<ov::float16, float>(inputInfo.second);
} else if (type == ov::element::i32) {
return create_tensor_random<int32_t, int32_t>(inputInfo.second);
} else if (type == ov::element::i64) {