I have an issue trying to understand the def forward(self, cats, conts): part of the movielens code. In the video lecture Jeremy says that cats / conts is used to leverage on the ColumnarData obj that we will be creating later, but how does PyTorch know what to retrieve, since we do not explicitly pass the parameters in? (How does PyTorch automatically know that cats refers to the categorical columns within the dataframe?
I tried digging into the source code but can’t seem to find an explanation. Perhaps my understanding of how PyTorch runs def forward is not complete – would greatly appreciate it if someone could explain this to me please! Thank you!