| 88 | } |
| 89 | |
| 90 | static migraphx::instruction_ref init_zero_point(migraphx::module& m, |
| 91 | migraphx::instruction_ref q_ins) |
| 92 | { |
| 93 | auto zp = m.add_literal(migraphx::literal{migraphx::shape{q_ins->get_shape().type()}, {0}}); |
| 94 | return m.add_instruction( |
| 95 | migraphx::make_op("multibroadcast", {{"out_lens", q_ins->get_shape().lens()}}), zp); |
| 96 | } |
| 97 | |
| 98 | TEST_CASE(quantizelinear_ins_no_zp) |
| 99 | { |
no test coverage detected