Commit f208c2f3 authored by Paul's avatar Paul
Browse files

Format

parent 9db8a28d
...@@ -245,8 +245,10 @@ struct miopen_apply ...@@ -245,8 +245,10 @@ struct miopen_apply
// auto&& op = any_cast<op::convolution>(ins->get_operator()); // auto&& op = any_cast<op::convolution>(ins->get_operator());
// TODO: Use make_op // TODO: Use make_op
operation conv = make_op("gpu::" + name, {{"op", ins->get_operator().to_value()}, {"int8_x4_format", int8_x4_format}}); operation conv = make_op(
auto output = insert_allocation(ins, ins->get_shape()); "gpu::" + name,
{{"op", ins->get_operator().to_value()}, {"int8_x4_format", int8_x4_format}});
auto output = insert_allocation(ins, ins->get_shape());
return mod->replace_instruction(ins, return mod->replace_instruction(ins,
make_op("gpu::miopen_op", {{"op", to_value(conv)}}), make_op("gpu::miopen_op", {{"op", to_value(conv)}}),
......
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