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
@rsanchezgarc pointed out this is really slow as it copies the tensor... negative strides aren't supported so not sure of the best way to deal with this right now, flipping the matrices may be cheaper at the expense of simplicity of implementation...
The text was updated successfully, but these errors were encountered:
We can leave it as it is with a "#TODO: Investigate how to make it faster". I am sure negative striding is a feature that people demand for pytorch, so eventually, it will be there.
For sure, it seems like they might have done some things that make it fundamentally quite difficult though - the issues go back a long way (e.g. pytorch/pytorch#604)
libtilt/src/libtilt/grids/central_slice_grid.py
Lines 45 to 46 in 958e580
@rsanchezgarc pointed out this is really slow as it copies the tensor... negative strides aren't supported so not sure of the best way to deal with this right now, flipping the matrices may be cheaper at the expense of simplicity of implementation...
The text was updated successfully, but these errors were encountered: