This is my first year doing Advent of Code. My aim is to primarily use pytorch functions (and some preprocessing). Main rules:
- Single pass over input file to store input data into a Tensor
No use of for loops or list/set/dict comprehensionsFor loop used on 3.2 although in theory that could be unrolled.
For loops are allowed now but I'll still try to keep all the data vectorized and use pytorch primitives/tensors.