update docs (#9423)

Summary:
minor modification: fixed the incorrect comment format for ```split_size_or_sections``` (https://pytorch.org/docs/master/torch.html#torch.split)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/9423

Differential Revision: D8841367

Pulled By: soumith

fbshipit-source-id: 2d09a38ce8d278ac29b3864e8d09a91cd296196c
This commit is contained in:
Liyuan Liu
2018-07-13 13:39:52 -07:00
committed by Facebook Github Bot
parent fd25a2a86c
commit bcd20f96e0

View File

@ -29,7 +29,7 @@ def split(tensor, split_size_or_sections, dim=0):
Arguments:
tensor (Tensor): tensor to split.
split_size_or_sections (int) or (list(int)): size of a single chunk or
list of sizes for each chunk
list of sizes for each chunk
dim (int): dimension along which to split the tensor.
"""
# Overwriting reason: