Skip to content

Commit 9c40449

Browse files
committed
change test input data from -1 to random data
1 parent e98951a commit 9c40449

File tree

1 file changed

+1
-1
lines changed
  • src/plugins/intel_cpu/tests/functional/custom/single_layer_tests/classes

1 file changed

+1
-1
lines changed

src/plugins/intel_cpu/tests/functional/custom/single_layer_tests/classes/conversion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void ConvertI32ToU8CPULayerTest::generate_inputs(const std::vector<ov::Shape>& t
292292
const auto& funcInputs = function->inputs();
293293
const auto& funcInput = funcInputs[0];
294294
ov::Tensor tensor(funcInput.get_element_type(), targetInputStaticShapes[0]);
295-
std::fill_n(tensor.data<int32_t>(), tensor.get_size(), -1);
295+
ov::test::utils::fill_data_random(tensor.data<int32_t>(), tensor.get_size(), 1024, -512);
296296
inputs.insert({funcInput.get_node_shared_ptr(), tensor});
297297
}
298298

0 commit comments

Comments
 (0)