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;
......
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