mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Add torch.empty_like() to documented list of supported nested tensor ops (#96211)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/96211 Approved by: https://github.com/drisspg
This commit is contained in:
parent
b0b5f3c6c6
commit
7324aef9a8
1 changed files with 1 additions and 0 deletions
|
|
@ -212,3 +212,4 @@ NestedTensor and any constraints they have.
|
|||
:func:`torch.Tensor.reshape_as`; "Similar constraint as for ``reshape``."
|
||||
:func:`torch.transpose`; "Supports transposing of all dims except ``dim=0``."
|
||||
:func:`torch.Tensor.view`; "Rules for the new shape are similar to that of ``reshape``."
|
||||
:func:`torch.empty_like`; "Behavior is analogous to that of regular tensors; returns a new empty nested tensor (i.e. with uninitialized values) matching the nested structure of the input."
|
||||
|
|
|
|||
Loading…
Reference in a new issue