[GPU] Move unit test file to the proper location (#18545)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include "test_utils.h"
|
||||
#include "random_generator.hpp"
|
||||
|
||||
#include "intel_gpu/graph/network.hpp"
|
||||
#include "intel_gpu/graph/program.hpp"
|
||||
@@ -37,11 +38,12 @@ TEST(weights_factory, shape_types) {
|
||||
|
||||
TEST(weights_factory, reorder_test) {
|
||||
auto& engine = get_test_engine();
|
||||
tests::random_generator rg(GET_SUITE_NAME);
|
||||
const int input_f = 32, output_f = 32;
|
||||
|
||||
auto weights_layout = layout(ov::PartialShape{ output_f, input_f }, data_types::f32, format::bfyx);
|
||||
auto weights_data_input = engine.allocate_memory(weights_layout);
|
||||
auto weights_data_vec = generate_random_1d<float>(output_f * input_f, -1, 1);
|
||||
auto weights_data_vec = rg.generate_random_1d<float>(output_f * input_f, -1, 1);
|
||||
set_values(weights_data_input, weights_data_vec);
|
||||
|
||||
cldnn::topology topology {
|
||||
Reference in New Issue
Block a user