TypeError: 'float' object cannot be interpreted as an integer

Did you type cast both the inputs to the nn.Linear() module?

1 Like