You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With static types it is possible to find out cases where we know the reshape is useless at compile time. We should remove it when that's the case.
Sometimes the Reshape may also just be expanding dims, pt.scalar().reshape(1, -1) (which showed up in the use of tensordot in #722), which should also be rewritten, as we have many rewrites that reason about Dimshuffles but not Reshapes
The text was updated successfully, but these errors were encountered:
Description
With static types it is possible to find out cases where we know the reshape is useless at compile time. We should remove it when that's the case.
Sometimes the Reshape may also just be expanding dims,
pt.scalar().reshape(1, -1)
(which showed up in the use of tensordot in #722), which should also be rewritten, as we have many rewrites that reason about Dimshuffles but not ReshapesThe text was updated successfully, but these errors were encountered: