Passing more than one value into forward

how can you pass more than one variable to forward, so for example instead of:

def forward (self, x)

i want to do:

def forward(self,x,y)

Well, you can just do that :slight_smile:
Then call your net with your two arguments: my_net(x, y).

hmm when i try to do that i get the error saying that forward takes 3 positional arguements but 4 were given

oh im an idiot…so sorry i figured it out. never mind lol, i was making a stupid error