We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dpnp.ndarray.transpose
axes
dpnp.ndarray.transpose does not support axes as list while dpnp.transport does.
dpnp.transport
import dpnp, numpy a = numpy.ones((1, 2, 3)) b = dpnp.ones((1, 2, 3)) axes = [1, 0, 2] numpy.transpose(a, axes).shape # (2, 1, 3) dpnp.transpose(b, axes).shape # (2, 1, 3) a.transpose(axes).shape # (2, 1, 3) b.transpose(axes).shape # TypeError: 'list' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered:
vtavana
Successfully merging a pull request may close this issue.
dpnp.ndarray.transpose
does not supportaxes
as list whiledpnp.transport
does.The text was updated successfully, but these errors were encountered: