Commit 50b1b842 authored by Paul's avatar Paul
Browse files

Fix warning

parent b4bba9a0
...@@ -198,10 +198,10 @@ static std::size_t get_reduce_elements(const std::vector<shape>& inputs) ...@@ -198,10 +198,10 @@ static std::size_t get_reduce_elements(const std::vector<shape>& inputs)
{ {
return inputs.front().elements() / inputs.back().elements(); return inputs.front().elements() / inputs.back().elements();
} }
static std::size_t get_reduce_elements(const std::vector<instruction_ref>& inputs) // static std::size_t get_reduce_elements(const std::vector<instruction_ref>& inputs)
{ // {
return get_reduce_elements(to_shapes(inputs)); // return get_reduce_elements(to_shapes(inputs));
} // }
struct reduce_op struct reduce_op
{ {
......
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