Commit eb0bc850 authored by Khalique's avatar Khalique
Browse files

fix compile error from rename

parent 326a5b2e
...@@ -171,7 +171,7 @@ void globalavgpool_test() ...@@ -171,7 +171,7 @@ void globalavgpool_test()
std::vector<float> data{0.3, 0.2, 0.4, 0.1, 0.8, 0.5, 0.9, 0.1, 0.1, 0.7, 0.1, 0.6}; std::vector<float> data{0.3, 0.2, 0.4, 0.1, 0.8, 0.5, 0.9, 0.1, 0.1, 0.7, 0.1, 0.6};
auto l0 = p.add_literal(migraph::literal{s, data}); auto l0 = p.add_literal(migraph::literal{s, data});
p.add_instruction(op, l0); p.add_instruction(op, l0);
p.compile(migraph::cpu::cpu_target{}); p.compile(migraph::cpu::target{});
auto result = p.eval({}); auto result = p.eval({});
std::vector<float> results_vector(3); std::vector<float> results_vector(3);
...@@ -191,7 +191,7 @@ void globalmaxpool_test() ...@@ -191,7 +191,7 @@ void globalmaxpool_test()
std::vector<float> data{0.3, 0.2, 0.4, 0.1, 0.8, 0.5, 0.9, 0.1, 0.1, 0.7, 0.1, 0.6}; std::vector<float> data{0.3, 0.2, 0.4, 0.1, 0.8, 0.5, 0.9, 0.1, 0.1, 0.7, 0.1, 0.6};
auto l0 = p.add_literal(migraph::literal{s, data}); auto l0 = p.add_literal(migraph::literal{s, data});
p.add_instruction(op, l0); p.add_instruction(op, l0);
p.compile(migraph::cpu::cpu_target{}); p.compile(migraph::cpu::target{});
auto result = p.eval({}); auto result = p.eval({});
std::vector<float> results_vector(3); std::vector<float> results_vector(3);
......
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