Commit 8ea65187 authored by Paul's avatar Paul
Browse files

Fix warning

parent 5a1af3d1
...@@ -105,7 +105,6 @@ static void remove_contiguous(const std::string& op_name, module& m, F f) ...@@ -105,7 +105,6 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
} }
else if(prev->can_eval()) else if(prev->can_eval())
{ {
auto prev = arg->inputs().front();
replace(new_args, arg, prev); replace(new_args, arg, prev);
if(try_compute_shape(ins, new_args, mod_args)) if(try_compute_shape(ins, new_args, mod_args))
{ {
......
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