mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:30:26 +08:00
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:
committed by
Facebook Github Bot
parent
fd25a2a86c
commit
bcd20f96e0
@ -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:
|
||||
|
Reference in New Issue
Block a user