updated docs

This commit is contained in:
William Falcon 2019-07-25 12:11:49 -04:00
parent 9b99a02061
commit e182559c83
2 changed files with 22 additions and 20 deletions

View File

@ -49,6 +49,7 @@ from torchvision.datasets import MNIST
class CoolModel(ptl.LightningModule):
def __init(self):
super(CoolModel, self).__init__()
# not the best model...
self.l1 = torch.nn.Linear(28 * 28, 10)

View File

@ -38,6 +38,7 @@ from torchvision.datasets import MNIST
class CoolModel(ptl.LightningModule):
def __init(self):
super(CoolModel, self).__init__()
# not the best model...
self.l1 = torch.nn.Linear(28 * 28, 10)