pytorch
f17ad06c - Fix docstring for torch.roll

Commit
2 years ago
Fix docstring for torch.roll The doc was indicating "If a dimension is not specified, the tensor will be flattened", whereas the actual behavior is that the input tensor is flattened only if the `dims` argument is not provided at all. Pull Request resolved: https://github.com/pytorch/pytorch/pull/74880 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading