Commit 6626861d authored by Shucai Xiao's avatar Shucai Xiao
Browse files

change the eliminate contiguous algorithm to fix a test error

parent b5a4851e
...@@ -25,7 +25,7 @@ bool try_compute_shape(instruction_ref ins, const std::vector<shape>& inputs) ...@@ -25,7 +25,7 @@ bool try_compute_shape(instruction_ref ins, const std::vector<shape>& inputs)
// is non-standard, then we cannot eliminate the contiguous // is non-standard, then we cannot eliminate the contiguous
if(outputs.empty()) if(outputs.empty())
{ {
return false; return true;
} }
for(auto output : outputs) for(auto output : outputs)
......
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