Commit a6b99124 authored by Paul's avatar Paul
Browse files

Formatting

parent a96fae91
......@@ -34,9 +34,9 @@ void eliminate_contiguous::apply(program& p) const
if(ends_with(arg->op.name(), "contiguous"))
{
auto new_args = args;
auto prev = arg->arguments.front();
auto prev = arg->arguments.front();
replace(new_args, arg, prev);
if(try_compute_shape(ins->op, new_args))
if(try_compute_shape(ins->op, new_args))
{
replace_argument(ins, arg, prev);
}
......
......@@ -38,7 +38,7 @@ void non_standard_op()
EXPECT(std::distance(p.begin(), p.end()) == (count - 1));
}
int main()
int main()
{
standard_op();
non_standard_op();
......
......@@ -94,7 +94,7 @@ struct pass_standard_op
migraph::shape compute_shape(std::vector<migraph::shape> inputs) const
{
for(auto&& input:inputs)
for(auto&& input : inputs)
{
if(not input.standard())
throw std::runtime_error("Not standard shape");
......
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