Open gui1223 opened 7 months ago
I noticed a potential typo in the code. It seems like 'Neural network is defined' should be changed to 'Neural network is not defined'.
In the module class: def forward(self, X): assert hasattr(self, 'net'), 'Neural network is defined' return self.net(X)
I noticed a potential typo in the code. It seems like 'Neural network is defined' should be changed to 'Neural network is not defined'.
In the module class: def forward(self, X): assert hasattr(self, 'net'), 'Neural network is defined' return self.net(X)