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
When checking that tensor data can be converted to a slice of `T`, we
previously were checking the right things: is the length right? Is the
alignment correct? Turns out there is a `std` function that does this
for us: `slice::align_to`. Replacing the custom check with the `std`
version should have no effect on the code other than clarity.
0 commit comments