PyTorch-VAE icon indicating copy to clipboard operation
PyTorch-VAE copied to clipboard

Mistake in experiment.py file

Open jarvis008 opened this issue 10 months ago • 1 comments

In the forward function in experiment.py file, shouldn't it be: return self.model.forward(input, **kwargs), instead of return self.model(input, **kwargs)

If not, please explain why as I'm unable to understand. Thanks!

jarvis008 avatar Mar 31 '24 10:03 jarvis008

Behind the curtain, the call to model is exactly model.forward :)

MisterBourbaki avatar May 24 '24 08:05 MisterBourbaki