Commit 118e05c7 authored by Paul's avatar Paul
Browse files

Format

parent 8671f8b7
......@@ -205,7 +205,7 @@ struct reshape
shape static_compute_shape(std::vector<shape> inputs, std::size_t n_neg_dims) const
{
check_shapes{inputs, *this}.has(1);
auto&& idims = inputs.front().lens();
auto&& idims = inputs.front().lens();
// auto&& istrides = inputs.front().strides();
std::vector<std::size_t> rdims(dims.begin(), dims.end());
......@@ -233,7 +233,7 @@ struct reshape
}
auto s = reshape_dims(inputs.front(), rdims);
if (not s.has_value())
if(not s.has_value())
MIGRAPHX_THROW("Reshape on axis that is not packed.");
if(s->elements() != inputs.front().elements())
......
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