Could you please give me some guidance on what’s going on in the linked code? https://github.com/haebeom-lee/l2b/blob/master/model.py
I’m making a PyTorch version and, I’m trying to troubleshoot by seeing what the outputs at each step of the model are. I’m really confused because, the model’s forward_outer_multiple, which is being called in the main.py, doesn’t take input as the argument? (It seems that earlier in the code, empty tf.placeholder tensors are created, so the model is just calculating these empty tensors and thus doing nothing??)
I know in PyTorch, the forward() method of models take the data input directly, so I can see what’s coming out of it. I’m completely confused by what’s going on here. I’ve searched up many places but, the tutorials are all about adding layers with the keras tool, which seems completely different from what’s going on in the code!
Thank you so much!