Commit 8c8e5fb0 authored by Paul's avatar Paul
Browse files

Formatting

parent 139eaeed
...@@ -54,7 +54,6 @@ std::vector<int64_t> reorder_dims(std::vector<int64_t> dims, std::vector<int64_t ...@@ -54,7 +54,6 @@ std::vector<int64_t> reorder_dims(std::vector<int64_t> dims, std::vector<int64_t
return result; return result;
} }
bool is_no_transpose(const std::vector<int64_t>& dims) bool is_no_transpose(const std::vector<int64_t>& dims)
{ {
if(dims.empty()) if(dims.empty())
...@@ -216,10 +215,12 @@ void simplify_reshapes::apply(program& p) const ...@@ -216,10 +215,12 @@ void simplify_reshapes::apply(program& p) const
// Skip possible dead instructions // Skip possible dead instructions
if(ins->outputs().empty() and ins != end) if(ins->outputs().empty() and ins != end)
continue; continue;
match::find_matches(p, ins, find_nop_reshapes{}, find_reshaper{}, match::find_matches(p,
ins,
find_nop_reshapes{},
find_reshaper{},
find_transpose{}, find_transpose{},
find_concat_transpose{} find_concat_transpose{});
);
} }
} }
......
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