-
Notifications
You must be signed in to change notification settings - Fork 27.7k
torch.empty_like example seems wrong #52375
Copy link
Copy link
Closed
Labels
module: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblocksmodule: tensor creationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
module: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblocksmodule: tensor creationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
📚 Documentation
The example presented for
torch.empty_likeseems wrong:I guess the desided example would be something like:
cc @brianjo @mruberry @gchanan