kimhc6028 / relational-networks

Pytorch implementation of "A simple neural network module for relational reasoning" (Relational Networks)
https://arxiv.org/pdf/1706.01427.pdf
BSD 3-Clause "New" or "Revised" License
812 stars 160 forks source link

what is output in BasicModel? #24

Closed yihe-61wu closed 5 years ago

yihe-61wu commented 5 years ago

Hello, this might be a stupid question but I have not seen any use of self like: output = self(input_img, input_qst) in the definition of BasicModel before. From later lines I know output must be a tensor but I cannot understand how it processes input_img and input_qst. If this is simply a Python or Pytorch question, not relevant to your code, could you please perhaps let me know where I can find relevant answers? Thanks!