Commit 595532cd authored by Paul's avatar Paul
Browse files

Fix fnction name

parent 21cdee7b
...@@ -108,7 +108,7 @@ struct find_conv_pointwise ...@@ -108,7 +108,7 @@ struct find_conv_pointwise
return std::make_pair(pm->get_parameter(name), return std::make_pair(pm->get_parameter(name),
mm->add_parameter(name, input->get_shape())); mm->add_parameter(name, input->get_shape()));
}); });
mm->add_return(mm->insert_module_instructions(mm->end(), pm, param_map)); mm->add_return(mm->insert_instructions(mm->end(), pm, param_map));
std::vector<instruction_ref> inputs; std::vector<instruction_ref> inputs;
std::copy_if(ins->inputs().begin(), std::copy_if(ins->inputs().begin(),
......
...@@ -132,7 +132,7 @@ migraphx::argument run_ref(migraphx::program p, const migraphx::parameter_map& i ...@@ -132,7 +132,7 @@ migraphx::argument run_ref(migraphx::program p, const migraphx::parameter_map& i
bool verify_mlir(const migraphx::module& mmlir) bool verify_mlir(const migraphx::module& mmlir)
{ {
migraphx::program ref; migraphx::program ref;
ref.get_main_module()->insert_module_instructions(ref.get_main_module()->end(), &mmlir); ref.get_main_module()->insert_instructions(ref.get_main_module()->end(), &mmlir);
auto inputs = generate_params(ref); auto inputs = generate_params(ref);
......
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