Yes, you are right about the _step
method. And .generate
can’t be called on self
because here self
is an instance of the LightningModule
.
Yes, you are right about the _step
method. And .generate
can’t be called on self
because here self
is an instance of the LightningModule
.