"vscode:/vscode.git/clone" did not exist on "65c4711fbc94923245c1d6d47fba8e0a82427d7c"
Commit 43e66470 authored by Khalique Ahmed's avatar Khalique Ahmed
Browse files

add warning message

parent e46a6a52
...@@ -127,7 +127,10 @@ MIGRAPHX_PRED_MATCHER(is_mlir_conv, instruction_ref ins) ...@@ -127,7 +127,10 @@ MIGRAPHX_PRED_MATCHER(is_mlir_conv, instruction_ref ins)
value v = ins->get_operator().to_value(); value v = ins->get_operator().to_value();
auto group = v.at("group").to<int>(); auto group = v.at("group").to<int>();
if(group != 1) if(group != 1)
{
std::cerr << "Warning: missed convolution with group " << group << " when using MLIR." << std::endl;
return false; return false;
}
// Avoid MLIR assertion: Index < Length && "Invalid index!" // Avoid MLIR assertion: Index < Length && "Invalid index!"
if(ins->get_shape().lens().size() != 4) if(ins->get_shape().lens().size() != 4)
return false; return false;
......
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