Skip to content

Commit

Permalink
[GPU] Fixed data generation for f16 fusion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyamin-Roman committed Oct 11, 2023
1 parent a844e59 commit f2d36c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class BaseFusingTest : public ::testing::TestWithParam<T> {
VF<uint8_t> rnd_vec = rg.generate_random_1d<uint8_t>(s.count(), min_random, max_random);
set_values(prim, rnd_vec);
} else if (l.data_type == data_types::f16) {
VF<uint16_t> rnd_vec = rg.generate_random_1d<uint16_t>(s.count(), -1, 1);
VF<ov::float16> rnd_vec = rg.generate_random_1d<ov::float16>(s.count(), -1, 1);
set_values(prim, rnd_vec);
} else {
VF<float> rnd_vec = rg.generate_random_1d<float>(s.count(), -1, 1);
Expand Down

0 comments on commit f2d36c9

Please sign in to comment.