"test/vscode:/vscode.git/clone" did not exist on "b326bc49b1f323ccbd9bda24c9ed225507f2f08d"
Commit ec5b7278 authored by wsttiger's avatar wsttiger
Browse files

Formatting

parent d514c947
...@@ -56,7 +56,7 @@ void eliminate_concat::apply(program& p) const ...@@ -56,7 +56,7 @@ void eliminate_concat::apply(program& p) const
for(auto x : allocations) for(auto x : allocations)
{ {
migraph::op::load op{x->get_shape(), offset}; migraph::op::load op{x->get_shape(), offset};
//migraph::op::load op{x->get_shape(), 0}; // migraph::op::load op{x->get_shape(), 0};
p.replace_instruction(x, op, {super}); p.replace_instruction(x, op, {super});
offset += x->get_shape().bytes(); offset += x->get_shape().bytes();
} }
......
...@@ -109,7 +109,8 @@ void basic() ...@@ -109,7 +109,8 @@ void basic()
migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 3, 8, 8}}, 512}, {a1}); migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 3, 8, 8}}, 512}, {a1});
auto p2 = p.add_instruction(fred_op{}, l2); auto p2 = p.add_instruction(fred_op{}, l2);
auto l3 = p.add_instruction( auto l3 = p.add_instruction(
migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 5, 8, 8}}, 1280}, {a1}); migraph::op::load{migraph::shape{migraph::shape::float_type, {1, 5, 8, 8}}, 1280},
{a1});
auto p3 = p.add_instruction(fred_op{}, l3); auto p3 = p.add_instruction(fred_op{}, l3);
auto i1 = p.add_instruction(migraph::op::identity{}, {a1, p1, p2, p3}); auto i1 = p.add_instruction(migraph::op::identity{}, {a1, p1, p2, p3});
return p; return p;
......
...@@ -652,7 +652,7 @@ void manual_identity() ...@@ -652,7 +652,7 @@ void manual_identity()
void manual_test_concat_relu() void manual_test_concat_relu()
{ {
migraph::program p; migraph::program p;
std::size_t axis = 0; std::size_t axis = 0;
std::vector<float> data0 = {0, 1, 2, 3}; std::vector<float> data0 = {0, 1, 2, 3};
std::vector<float> data1 = {4, 5, 6, 7, 8, 9}; std::vector<float> data1 = {4, 5, 6, 7, 8, 9};
std::vector<float> data2 = {10, 11}; std::vector<float> data2 = {10, 11};
......
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