Skip to content

What is the best way to replace the torch.view ? #1527

Answered by awni
thegodone asked this question in Q&A
Discussion options

You must be logged in to vote

mx.reshape is the replacement. In many (probably most) cases this will not do a copy.

Replies: 1 comment

Comment options

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