Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensors with more than 3 dimensions #36

Open
marcodeltutto opened this issue Oct 4, 2019 · 0 comments
Open

Tensors with more than 3 dimensions #36

marcodeltutto opened this issue Oct 4, 2019 · 0 comments

Comments

@marcodeltutto
Copy link
Member

marcodeltutto commented Oct 4, 2019

Currently, it is not possible to access elements of the ndarray from C if the ndarray has more than 3 dimensions. PyArray_AsCArray can be used on 1, 2 and 3 dimensions arrays only: https://docs.scipy.org/doc/numpy-1.13.0/reference/c-api.array.html#c.PyArray_AsCArray. A workaround is needed in the case of 4 or more dimensions.

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

No branches or pull requests

1 participant