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:
PyTorch MergeBot
2022-08-10 19:45:23 +00:00
parent 651c13166c
commit f534b2c627
11 changed files with 83 additions and 92 deletions

View File

@ -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"""