hi guys,
I am new in Pytorch shifting from Keras am writting this simple code on pytorch but am getting an error when writting the optimizer part of the program. it keep saying parametre list is empty

002.PNG1212×556 72.1 KB