"docs/vscode:/vscode.git/clone" did not exist on "150234bd6ad9f78c3603168c3f9371651fba5054"
Commit 38582cd5 authored by charlie's avatar charlie
Browse files

Merge branch 'dyn_check_shapes' of github.com:ROCmSoftwarePlatform/AMDMIGraphX into dyn_nms

parents adc77b9f b6099eeb
...@@ -186,6 +186,9 @@ struct check_shapes ...@@ -186,6 +186,9 @@ struct check_shapes
{ {
if(!this->same([](const shape& s) { return s.max_lens(); })) if(!this->same([](const shape& s) { return s.max_lens(); }))
MIGRAPHX_THROW(prefix() + "Dimensions do not match"); MIGRAPHX_THROW(prefix() + "Dimensions do not match");
if(this->any_of([&](const shape& s) { return s.dynamic(); }))
if(!this->same([](const shape& s) { return s.min_lens(); }))
MIGRAPHX_THROW(prefix() + "Min dynamic dimensions do not match");
return *this; return *this;
} }
......
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