#include "verify_program.hpp" #include #include #include struct quant_conv_default_mode : verify_program { migraphx::program create_program() const { migraphx::program p; auto* mm = p.get_main_module(); migraphx::shape a_shape{migraphx::shape::int8_type, {2, 3, 4, 4}}; auto pa = mm->add_parameter("a", a_shape); migraphx::shape c_shape{migraphx::shape::int8_type, {2, 3, 3, 3}}; auto pc = mm->add_parameter("c", c_shape); mm->add_instruction( migraphx::op::quant_convolution{{{0, 0}}, {{1, 1}}, {{1, 1}}, migraphx::op::same}, pa, pc); return p; } };