Skip to content

Commit

Permalink
Propagate layout with nonpacked inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Dec 20, 2024
1 parent a678b48 commit 2aac313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/migraphx/op/binary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ struct binary : op_name<Derived>
}
else
{
return {s0.type(), s0.lens()};
return shape::from_permutation(s0.type(), s0.lens(), find_permutation({s0, s1}));
}
}

Expand Down

0 comments on commit 2aac313

Please sign in to comment.