Skip to content

Commit bcd20f9

Browse files
LiyuanLucasLiufacebook-github-bot
authored andcommitted
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: #9423 Differential Revision: D8841367 Pulled By: soumith fbshipit-source-id: 2d09a38ce8d278ac29b3864e8d09a91cd296196c
1 parent fd25a2a commit bcd20f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def split(tensor, split_size_or_sections, dim=0):
2929
Arguments:
3030
tensor (Tensor): tensor to split.
3131
split_size_or_sections (int) or (list(int)): size of a single chunk or
32-
list of sizes for each chunk
32+
list of sizes for each chunk
3333
dim (int): dimension along which to split the tensor.
3434
"""
3535
# Overwriting reason:

0 commit comments

Comments
 (0)