"...diffusion/python_stable_diffusion_21/requirements.txt" did not exist on "3d089f91c9e3d94e59aaa3e9947ab30a32e2ea78"
Commit 118e05c7 authored by Paul's avatar Paul
Browse files

Format

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