Commit 45e3e755 authored by Ahsan Saghir's avatar Ahsan Saghir
Browse files

Addressed review comment

parent 2a0eec0a
...@@ -65,9 +65,7 @@ void autocast_fp8_pass::apply(module& m) const ...@@ -65,9 +65,7 @@ void autocast_fp8_pass::apply(module& m) const
i)); i));
} }
else else
{ new_inputs.push_back(i);
new_inputs.push_back(m.insert_instruction(ins, migraphx::make_op("identity"), i));
}
} }
if(new_inputs != inputs) if(new_inputs != inputs)
{ {
......
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