Commit ae6db5af authored by Ted Themistokleous's avatar Ted Themistokleous
Browse files

Remove auto contiguous for reshape.

Don't need this anymore
parent da6f9c3e
...@@ -84,13 +84,6 @@ void auto_contiguous::apply(module& m) const ...@@ -84,13 +84,6 @@ void auto_contiguous::apply(module& m) const
if(ins->outputs().empty() and ins != last) if(ins->outputs().empty() and ins != last)
continue; continue;
// perform a pass to insert contiguous for every reshape (without reshaper) before
// determining if aliasing can be performed
//if(ins->name() == "reshape" and not is_reshaper_op(std::next(ins)))
//{
// m.insert_instruction(std::next(ins), make_op("contiguous"), ins);
//}
shape s = ins->get_shape(); shape s = ins->get_shape();
if(not s.dynamic() and not s.standard() and s.elements() != 0) if(not s.dynamic() and not s.standard() and s.elements() != 0)
{ {
......
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