mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
update Docs [links & formatting] (#769)
* wip * wip * debug imports docs formatting * WIP * formatting * fix setup
This commit is contained in:
1 parent
bfbb4a6279
commit
5130841bef
23 files changed
+79
-78
No files matched your search
@@ -16,10 +16,9 @@ from torch.utils.data.distributed import DistributedSampler
|
||||
from torchvision.datasets import MNIST
|
||||
|
||||
import pytorch_lightning as pl
|
||||
from pytorch_lightning.core.lightning import LightningModule
|
||||
|
||||
|
||||
class LightningTemplateModel(LightningModule):
|
||||
class LightningTemplateModel(pl.LightningModule):
|
||||
"""
|
||||
Sample model to show how to define a template
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user