code block hinting

This commit is contained in:
Brandon Thomas
2020-06-02 23:47:27 -04:00
parent aa55800366
commit e3263d5fc8
+2 -2
View File
@@ -29,7 +29,7 @@ Only two changes!
Hardcode a few constructor args. These come from `inference.py`'s arg set: Hardcode a few constructor args. These come from `inference.py`'s arg set:
``` ```python
def forward(self, x, x_lengths, y=None, y_lengths=None, g=None, gen=False, noise_scale=1., length_scale=1.): def forward(self, x, x_lengths, y=None, y_lengths=None, g=None, gen=False, noise_scale=1., length_scale=1.):
y = None y = None
y_lengths = None y_lengths = None
@@ -40,7 +40,7 @@ def forward(self, x, x_lengths, y=None, y_lengths=None, g=None, gen=False, noise
Return only the mel output at the end of the `forward` branch used in tracing: Return only the mel output at the end of the `forward` branch used in tracing:
``` ```python
#return (y, y_m, y_logs, logdet), attn, logw, logw_, x_m, x_logs #return (y, y_m, y_logs, logdet), attn, logw, logw_, x_m, x_logs
return y return y
``` ```