pytorch / pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration
https://pytorch.org
Other
82.39k stars 22.16k forks source link

[docs] Strange torch.unique function signature #58139

Open vadimkantorov opened 3 years ago

vadimkantorov commented 3 years ago

torch.unique(*args, **kwargs) - haven't seen any other functions with signatures not listing the arguments inline

image

UPD: still the case, https://pytorch.org/docs/master/generated/torch.unique.html#torch.unique

cc @brianjo @mruberry

mruberry commented 3 years ago

That is weird; we should probably fix it

bdhirsh commented 2 years ago

reserving for bootcamp

vadimkantorov commented 2 years ago

Fixed in https://github.com/pytorch/pytorch/pull/66132