// -4 3.5 -0.5 21
// 12 -18 4 -9
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ 2, 1, 2, 2 } });
auto weights = memory::allocate(engine, { data_types::f32, format::bfyx,{ 1, 1, 2, 2 } });
// -4 3.5 -0.5 21
// 12 -18 4 -9
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ 2, 1, 2, 2 } });
auto weights = memory::allocate(engine, { data_types::f32, format::bfyx,{ 1, 1, 2, 2 } });
}
}
-TEST(convolution_grad_input_f32_fw_gpu, basic_wsiz2x2_in2x2x1x2_bfyx_stride2_fusion) {
+TEST(convolution_grad_input_f32_fw_gpu, DISABLED_basic_wsiz2x2_in2x2x1x2_bfyx_stride2_fusion) {
// Filter : 2x2
// Input : 2x2x1x2
// Output : 2x2x1x2
// -4 3.5 -0.5 21
// 12 -18 4 -9
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ 2, 1, 2, 2 } });
auto weights = memory::allocate(engine, { data_types::f32, format::bfyx,{ 1, 1, 2, 2 } });
auto output_ptr = output_prim.pointer<float>();
std::vector<float> expected_output_vec = {
- -3.f, 5.5f, 15.f, -14.f,
- 4.5f, 27.f, 11.f, 0.f
+ -3.f, 5.5f, 14.f, -15.f,
+ 4.5f, 27.f, 10.f, -1.f
};
for (unsigned int i = 0; i < expected_output_vec.size(); i++)