Skip to content

Conversation

@jshiwamV
Copy link
Contributor

@jshiwamV jshiwamV commented Oct 17, 2025

will probably close this pr if i think its not needed

EDIT: the change is valid, that's how View.permute() comutes the transpose of shape in the sample example mentioned in this blog

a = View.create(shape=(3, 2), strides=(2,1))
print(a)
# Transpose it
a = a.permute((1, 0))
print(a.shape) # (2, 3)
print(a.strides) # (1, 2)

a = a.reshape((3, 2))
print(a)

@Bchass
Copy link
Contributor

Bchass commented Nov 12, 2025

This can be closed: #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants