mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This reverts commit 9fe3b2afbeff12080b483af1ee23e1c9d9fb0421.
Reverted https://github.com/pytorch/pytorch/pull/160224 on behalf of https://github.com/lw due to [GH job link](https://github.com/pytorch/pytorch/actions/runs/18588004962/job/52997748336) [HUD commit link](9fe3b2afbe
) ([comment](https://github.com/pytorch/pytorch/pull/160224#issuecomment-3415345175))
732 B
732 B
Aliases in torch
The following are aliases in torch
to their counterparts in the nested namespaces
in which they are defined. Feel free to use either the top-level version in torch
(e.g. torch.broadcast_tensors()
) or the nested version torch.functional.broadcast_tensors()
.
.. automodule:: torch.functional
.. currentmodule:: torch.functional
.. autosummary::
:toctree: generated
:nosignatures:
align_tensors
atleast_1d
atleast_2d
atleast_3d
block_diag
broadcast_shapes
broadcast_tensors
cartesian_prod
cdist
chain_matmul
einsum
lu
meshgrid
norm
split
stft
tensordot
unique
unique_consecutive
unravel_index