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
shape compute_shape(std::vector<shape> inputs, const std::vector<module_ref>&) const
{
check_shapes{inputs, *this}.same_ndims();
if(inputs.size() < 2)
MIGRAPHX_THROW("should have at least two inputs.");
if(inputs.size() < 3)
MIGRAPHX_THROW("Expected 3 inputs but got " + to_string(inputs.size()));
auto a = inputs[0];
auto b = inputs[1];
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