"docs/source/tutorials/quantization_speedup.rst" did not exist on "db3130d7059bbeb2341857120f6a3c4690fbd2c5"
Commit e826b358 authored by wsttiger's avatar wsttiger
Browse files

Updated from master

parent 8143e4fb
...@@ -95,7 +95,7 @@ void basic() ...@@ -95,7 +95,7 @@ void basic()
std::size_t axis = 1; std::size_t axis = 1;
auto a4 = auto a4 =
p.add_instruction(allocate{migraph::shape{migraph::shape::float_type, {1, 10, 8, 8}}}); p.add_instruction(allocate{migraph::shape{migraph::shape::float_type, {1, 10, 8, 8}}});
auto p4 = p.add_instruction(concat(axis), p1, p2, p3, a4); p.add_instruction(concat(axis), p1, p2, p3, a4);
return p; return p;
}; };
auto create_control_program = []() { auto create_control_program = []() {
...@@ -112,7 +112,7 @@ void basic() ...@@ -112,7 +112,7 @@ void basic()
migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 5, 8, 8}}, 1280}, migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 5, 8, 8}}, 1280},
{a1}); {a1});
auto p3 = p.add_instruction(fred_op{}, l3); auto p3 = p.add_instruction(fred_op{}, l3);
auto p.add_instruction(migraph::op::identity{}, {a1, p1, p2, p3}); p.add_instruction(migraph::op::identity{}, {a1, p1, p2, p3});
return p; return p;
}; };
...@@ -139,7 +139,7 @@ void wont_work() ...@@ -139,7 +139,7 @@ void wont_work()
std::size_t axis = 1; std::size_t axis = 1;
auto a4 = auto a4 =
p.add_instruction(allocate{migraph::shape{migraph::shape::float_type, {2, 10, 8, 8}}}); p.add_instruction(allocate{migraph::shape{migraph::shape::float_type, {2, 10, 8, 8}}});
auto p.add_instruction(concat(axis), p1, p2, p3, a4); p.add_instruction(concat(axis), p1, p2, p3, a4);
return p; return p;
}; };
auto create_control_program = []() { auto create_control_program = []() {
......
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