pytorch
01da7326 - Fix type annotation of `torch.split` (#100655)

Commit
1 year ago
Fix type annotation of `torch.split` (#100655) The type annotation indicates `list` but the returned type is `tuple` ```python >>> import torch >>> type(torch.arange(10).split(4)) <class 'tuple'> ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/100655 Approved by: https://github.com/kit1980
Author
Committer
Parents
Loading