Commit 1dfc77df authored by Paul's avatar Paul
Browse files

Fix merge conflicts

parent 43821538
...@@ -89,8 +89,8 @@ void verify_program(const std::string& name, ...@@ -89,8 +89,8 @@ void verify_program(const std::string& name,
ref_outs[i].get_shape().lens() != target_outs[i].get_shape().lens()) ref_outs[i].get_shape().lens() != target_outs[i].get_shape().lens())
{ {
std::cout << "FAILED: " << name << std::endl; std::cout << "FAILED: " << name << std::endl;
std::cout << "Shape mismatch {" << ref_outs[i].get_shape() << "} != {" std::cout << "Shape mismatch {" << ref_outs[i].get_shape() << "} != {" << target_outs[i].get_shape()
<< target_outs[i].get_shape() << "}" << std::endl; << "}" << std::endl;
} }
else else
{ {
...@@ -157,19 +157,15 @@ void verify_reduced(program p, ...@@ -157,19 +157,15 @@ void verify_reduced(program p,
mm->remove_instructions(last, mm->end()); mm->remove_instructions(last, mm->end());
std::cout << "Verify: " << n << std::endl; std::cout << "Verify: " << n << std::endl;
std::cout << p << std::endl; std::cout << p << std::endl;
<<<<<<< HEAD
try try
{ {
verify_program(std::to_string(n), p, t, options, quantize, inputs, tolerance); verify_program(std::to_string(n), p, t, options, quantize, inputs, tols);
} }
catch(const std::exception& e) catch(const std::exception& e)
{ {
std::cout << "FAILED: " << n << std::endl; std::cout << "FAILED: " << n << std::endl;
std::cout << "Exception: " << e.what() << std::endl; std::cout << "Exception: " << e.what() << std::endl;
} }
=======
verify_program(std::to_string(n), p, t, options, quantize, inputs, tols);
>>>>>>> origin/thres_tole
} }
void verify_reduced_program(const program& p, void verify_reduced_program(const program& p,
...@@ -184,17 +180,13 @@ void verify_reduced_program(const program& p, ...@@ -184,17 +180,13 @@ void verify_reduced_program(const program& p,
std::cout << "Verify steps: " << n << std::endl; std::cout << "Verify steps: " << n << std::endl;
for(std::size_t i = 1; i < n; i++) for(std::size_t i = 1; i < n; i++)
{ {
<<<<<<< HEAD
auto last = std::prev(mm->end(), i + 1); auto last = std::prev(mm->end(), i + 1);
if(contains({"@literal", "@param"}, last->name())) if(contains({"@literal", "@param"}, last->name()))
{ {
std::cout << "Skip: " << i << std::endl; std::cout << "Skip: " << i << std::endl;
continue; continue;
} }
verify_reduced(p, i, t, options, quantize, inputs, tolerance);
=======
verify_reduced(p, i, t, options, quantize, inputs, tols); verify_reduced(p, i, t, options, quantize, inputs, tols);
>>>>>>> origin/thres_tole
} }
} }
......
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