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
keepdim
any
all
axis=None
axis=None in any/all performs a reduction across all dimensions of the array. However, keepdim=True does not preserve shape in this case.
keepdim=True
>>> import heat as ht >>> a = ht.ones((1,1)) >>> a.shape (1, 1) >>> b = ht.all(a, keepdim=True) >>> b.shape (1,)
main (development branch)
3.10
1.11
The text was updated successfully, but these errors were encountered:
neosunhan
Successfully merging a pull request may close this issue.
What happened?
axis=None
inany
/all
performs a reduction across all dimensions of the array. However,keepdim=True
does not preserve shape in this case.Code snippet triggering the error
Version
main (development branch)
Python version
3.10
PyTorch version
1.11
The text was updated successfully, but these errors were encountered: