mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Deployed a6ddf8a with MkDocs version: 1.0.4
This commit is contained in:
@@ -887,7 +887,7 @@
|
||||
<h1 id="lightning-module-interface">Lightning Module interface</h1>
|
||||
<p>[<a href="https://github.com/williamFalcon/pytorch-lightning/blob/master/pytorch_lightning/root_module/root_module.py">Github Code</a>]</p>
|
||||
<p>A lightning module is a strict superclass of nn.Module, it provides a standard interface for the trainer to interact with the model.</p>
|
||||
<p>The easiest thing to do is copy <a href="../../pytorch_lightning/examples/new_project_templates/lightning_module_template.py">this template</a> and modify accordingly. </p>
|
||||
<p>The easiest thing to do is copy <a href="https://williamfalcon.github.io/pytorch-lightning/LightningModule/RequiredTrainerInterface/#minimal-example">this minimal example</a> and modify accordingly. </p>
|
||||
<p>Otherwise, to Define a Lightning Module, implement the following methods:</p>
|
||||
<p><strong>Required</strong>: </p>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user