mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +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:
committed by
William Falcon
parent
4104a0fc47
commit
b22e5918a9
@@ -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