"docs/en_US/vscode:/vscode.git/clone" did not exist on "ee25377d3644c65e5077bb5ec7b870f32f149bcd"
Commit 59a0b0ce authored by Alan Turner's avatar Alan Turner
Browse files

Format and cppcheck

parent e781c38a
...@@ -95,8 +95,8 @@ struct ck_gemm_softmax_gemm ...@@ -95,8 +95,8 @@ struct ck_gemm_softmax_gemm
shape compute_shape(std::vector<shape> inputs, const std::vector<module_ref>&) const shape compute_shape(std::vector<shape> inputs, const std::vector<module_ref>&) const
{ {
check_shapes{inputs, *this}.same_ndims(); check_shapes{inputs, *this}.same_ndims();
if(inputs.size() < 2) if(inputs.size() < 3)
MIGRAPHX_THROW("should have at least two inputs."); MIGRAPHX_THROW("Expected 3 inputs but got " + to_string(inputs.size()));
auto a = inputs[0]; auto a = inputs[0];
auto b = inputs[1]; auto b = inputs[1];
auto b1 = inputs[2]; auto b1 = inputs[2];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment