indices_or_sections
parameter of tensor_split()
doesn't work while sections
, indices
or tensor_indices_or_sections
parameter works
#127010
Labels
module: python frontend
For issues relating to PyTorch's Python frontend
topic: fuzzer
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
π The doc issue
The doc of
tensor_split()
says that there isindices_or_sections
parameter as shown below but there isn't:Actually,
indices_or_sections
parameter doesn't work whilesections
(int
),indices
(tuple
ofint
orlist
ofint
) ortensor_indices_or_sections
(tensor
ofint
) parameter works as shown below:Suggest a potential alternative/fix
So, the doc of
tensor_split()
should be as shown below:cc @albanD
The text was updated successfully, but these errors were encountered: