mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
fix python syntax in code blocks to be consistent (#166)
A couple code blocks used "{.python}" instead of just "python" for the syntax highlighting, which doesn't render properly in GitHub markdown.
This commit is contained in:
1 parent
4104a0fc47
commit
b22e5918a9
1 file changed
+2
-2
@@ -166,7 +166,7 @@ You define the blue parts using the LightningModule interface:
|
||||
|
||||

|
||||
|
||||
```{.python}
|
||||
```python
|
||||
# what to do in the training loop
|
||||
def training_step(self, data_batch, batch_nb):
|
||||
|
||||
@@ -253,7 +253,7 @@ Lightning also adds a text column with all the hyperparameters for this experime
|
||||

|
||||
|
||||
Simply note the path you set for the Experiment
|
||||
``` {.python}
|
||||
```python
|
||||
from test_tube import Experiment
|
||||
from pytorch-lightning import Trainer
|
||||
|
||||
|
||||
Reference in new issue
Block a user