From 7107c367b5e0c90825c1ba3bfbca1a2f84ceb066 Mon Sep 17 00:00:00 2001 From: Meghan Lele Date: Fri, 13 Aug 2021 11:43:05 -0700 Subject: [PATCH] [docs] Mention `vsplit`, `hsplit` and `tensor_split` in Tensor views doc (#63191) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63191 **Summary** This commit adds `vsplit`, `hsplit` and `tensor_split` to the list of view ops on the Tensor Views documentation page. **Test Plan** Continuous integration. *Before* Captura de Pantalla 2021-08-12 a la(s) 2 55 07 p  m *After* Captura de Pantalla 2021-08-12 a la(s) 2 55 15 p  m **Fixes** This commit fixes #62727. Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D30293181 Pulled By: SplitInfinity fbshipit-source-id: 283783a4ccc3ebc50cb0a427e55c7a6cb618ffd7 --- docs/source/tensor_view.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/tensor_view.rst b/docs/source/tensor_view.rst index a75a318..2225175 100644 --- a/docs/source/tensor_view.rst +++ b/docs/source/tensor_view.rst @@ -71,6 +71,9 @@ For reference, here’s a full list of view ops in PyTorch: - :meth:`~torch.Tensor.view_as` - :meth:`~torch.Tensor.unbind` - :meth:`~torch.Tensor.split` +- :meth:`~torch.Tensor.hsplit` +- :meth:`~torch.Tensor.vsplit` +- :meth:`~torch.Tensor.tensor_split` - :meth:`~torch.Tensor.split_with_sizes` - :meth:`~torch.Tensor.swapaxes` - :meth:`~torch.Tensor.swapdims` -- 2.7.4