diff --git a/test/verify/gemm_softmax_gemm_relu.cpp b/test/verify/gemm_softmax_gemm_relu.cpp index ad4a5ad3c6a..c6201f2f5d1 100644 --- a/test/verify/gemm_softmax_gemm_relu.cpp +++ b/test/verify/gemm_softmax_gemm_relu.cpp @@ -50,8 +50,7 @@ struct gemm_softmax_gemm_relu : verify_program> std::optional add_bias{std::nullopt}; if constexpr(WithBias) { - std::vector one_tenth(m2_elements, 0.1); - auto bias = mm->add_literal(migraphx::literal{m2_shape, one_tenth}); + auto bias = mm->add_parameter("4", m1_shape); add_bias = mm->add_instruction(migraphx::make_op("add"), scale, bias); }