Glossary: Deep Learning Basics
randperm
Also written: torch.randperm
Gives the numbers 0 to n − 1 in random order, used to shuffle and slice data into batches or splits.
Glossary: Deep Learning Basics
Also written: torch.randperm
Gives the numbers 0 to n − 1 in random order, used to shuffle and slice data into batches or splits.