indices_or_sections
parameter of vsplit()
doesn't work while sections
or indices
parameter works
#127019
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
vsplit()
says that there isindices_or_sections
parameter as shown below but there isn't:Actually,
indices_or_sections
parameter doesn't work whilesections
(int
) orindices
(tuple
ofint
orlist
ofint
) parameter works as shown below:Suggest a potential alternative/fix
So, the doc of
vsplit()
should be as shown below:cc @albanD
The text was updated successfully, but these errors were encountered: