Commit a7e9ad8b authored by charlie's avatar charlie
Browse files

Use implicit conversion to size_t

parent 1adbdb5d
...@@ -93,8 +93,7 @@ struct reshape ...@@ -93,8 +93,7 @@ struct reshape
return {s0.type(), output_dyn_dims}; return {s0.type(), output_dyn_dims};
} }
template <class T> shape static_compute_shape(std::vector<shape> inputs, std::size_t n_neg_dims) const
shape static_compute_shape(std::vector<shape> inputs, T n_neg_dims) const
{ {
check_shapes{inputs, *this}.standard(); check_shapes{inputs, *this}.standard();
auto&& idims = inputs.front().lens(); auto&& idims = inputs.front().lens();
......
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