Commit 39f5fe15 authored by charlie's avatar charlie
Browse files

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

parents 803cbb7a 5b01ad88
......@@ -50,7 +50,7 @@ void dead_code_elimination::apply(module& m) const
break;
// Skip instruction with empty shape as output unless its a builtin or undefined or identity
if((not i->get_shape().dynamic() and i->get_shape().elements() == 0) and
i->name().front() != '@' not contains({"undefined", "identity", "allocate"}, i->name()))
i->name().front() != '@' and not contains({"undefined", "identity", "allocate"}, i->name()))
continue;
assert(std::distance(m.begin(), i) <= std::distance(m.begin(), last));
std::unordered_set<instruction_ref> visited;
......
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