updated docs
This commit is contained in:
parent
9b99a02061
commit
e182559c83
|
@ -49,6 +49,7 @@ from torchvision.datasets import MNIST
|
||||||
class CoolModel(ptl.LightningModule):
|
class CoolModel(ptl.LightningModule):
|
||||||
|
|
||||||
def __init(self):
|
def __init(self):
|
||||||
|
super(CoolModel, self).__init__()
|
||||||
# not the best model...
|
# not the best model...
|
||||||
self.l1 = torch.nn.Linear(28 * 28, 10)
|
self.l1 = torch.nn.Linear(28 * 28, 10)
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ from torchvision.datasets import MNIST
|
||||||
class CoolModel(ptl.LightningModule):
|
class CoolModel(ptl.LightningModule):
|
||||||
|
|
||||||
def __init(self):
|
def __init(self):
|
||||||
|
super(CoolModel, self).__init__()
|
||||||
# not the best model...
|
# not the best model...
|
||||||
self.l1 = torch.nn.Linear(28 * 28, 10)
|
self.l1 = torch.nn.Linear(28 * 28, 10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue