#include "verify_program.hpp" #include #include #include struct test_conv2 : verify_program { migraphx::program create_program() const { migraphx::program p; auto input = p.add_parameter("x", migraphx::shape{migraphx::shape::float_type, {1, 512, 28, 28}}); auto weights = p.add_parameter("w", migraphx::shape{migraphx::shape::float_type, {256, 512, 1, 1}}); p.add_instruction(migraphx::op::convolution{{0, 0}, {1, 1}, {1, 1}}, input, weights); return p; } };