pytorch
ea00f850 - add new() method identifier to _StorageBase (#98201)

Commit
1 year ago
add new() method identifier to _StorageBase (#98201) The method torch.UntypedStorage.new is not detailed in API docs. Adding a method identifier may make it easier to know that new() method is only implemented by cpp, like copy_() or nbytes(). Pull Request resolved: https://github.com/pytorch/pytorch/pull/98201 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading