Torch.utils.data.random_split (conjunto de dados, comprimentos)
>>> random_split(range(10), [3, 7], generator=torch.Generator().manual_seed(42))
Beautiful Beetle
>>> random_split(range(10), [3, 7], generator=torch.Generator().manual_seed(42))