Skip to content

Commit

Permalink
Updated gemm_softmax_gemm_relu.cpp verification test
Browse files Browse the repository at this point in the history
  • Loading branch information
ravil-mobile committed Mar 7, 2024
1 parent 44ce760 commit da734c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/verify/gemm_softmax_gemm_relu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ struct gemm_softmax_gemm_relu : verify_program<gemm_softmax_gemm_relu<WithBias>>
std::optional<migraphx::instruction_ref> add_bias{std::nullopt};
if constexpr(WithBias)
{
std::vector<float> 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);
}

Expand Down

0 comments on commit da734c6

Please sign in to comment.