This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BASED ON @nmichlo's ISSUE AT: | |
| # https://github.com/pytorch/pytorch/issues/60531 | |
| # NOTE: modern features of torch and numpy make this easier to implement in python | |
| # as modern one liners. | |
| ##### TORCH EXAMPLE ##### | |
| # chunks = 3 | |
| # dim = 0 | |
| # tensor = torch.arange(7) |
OlderNewer