mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Revert "Remove split functional wrapper (#74727)"
This reverts commit a58876ace78df1cfeb136cad592487f34d7e02f1. Reverted https://github.com/pytorch/pytorch/pull/74727 on behalf of https://github.com/seemethere due to Fails internal use cases, might extend out to external use cases as well. Need to assess overall impact of this change more widely
This commit is contained in:
@ -5988,15 +5988,6 @@ See :func:`torch.tensor_split`
|
||||
""",
|
||||
)
|
||||
|
||||
add_docstr_all(
|
||||
"split",
|
||||
r"""
|
||||
split(split_size, dim=0) -> List of Tensors
|
||||
|
||||
See :func:`torch.split`
|
||||
""",
|
||||
)
|
||||
|
||||
add_docstr_all(
|
||||
"hsplit",
|
||||
r"""
|
||||
|
Reference in New Issue
Block a user