Skip to content

Reversing the order of elements along some axis using Einops? #203

Answered by arogozhnikov
terryryu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @terryryu, thank you for kind words.

There is currently no such operation as reversal of axes.
I've had an experimental version of reversal for numpy, but seems like a too narrow case to include. Also, behavior would be inevtiably very different across frameworks (e.g. for numpy that's essentially a free operation, while torch will create a full copy).

For anyone seeking this feature I recommend upvoting this question.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by terryryu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants