"megatron/git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "1a26b2910d6b64d8ce6bdebe807739d4ea67f3d7"
Commit aa1844fc authored by Paul's avatar Paul
Browse files

Formatting

parent 36464c0c
...@@ -355,7 +355,7 @@ struct onnx_parser ...@@ -355,7 +355,7 @@ struct onnx_parser
if(args.size() == 2) if(args.size() == 2)
{ {
literal s = args[1]->eval(); literal s = args[1]->eval();
if (s.empty()) if(s.empty())
MIGRAPHX_THROW("Dynamic shape is not supported."); MIGRAPHX_THROW("Dynamic shape is not supported.");
s.visit([&](auto v) { copy(v, std::back_inserter(op.dims)); }); s.visit([&](auto v) { copy(v, std::back_inserter(op.dims)); });
} }
......
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