[doc] Broken formatting for the function signature of torch.randperm
#50207
Labels
module: docs
Related to our documentation, both in docs/ and docblocks
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃摎 Documentation
Documentation does not mention anything about randperm accepting a generator.
https://pytorch.org/docs/stable/generated/torch.randperm.html
Following works:
Also,
pytorch/aten/src/ATen/native/native_functions.yaml
Lines 3073 to 3086 in 321b988
cc @jlin27 @mruberry
The text was updated successfully, but these errors were encountered: