Skip to content

Commit fff3d61

Browse files
committed
add comments
1 parent 88a7efa commit fff3d61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rasa/utils/tensorflow/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ def train_on_batch(
195195

196196
self.total_loss.update_state(total_loss)
197197

198-
# calculate the gradients that comes from supervision signal
198+
# calculate the gradients that come from supervision signal
199199
prediction_gradients = tape.gradient(prediction_loss, self.trainable_variables)
200-
# calculate the gradients that comes from regularization
200+
# calculate the gradients that come from regularization
201201
regularization_gradients = tape.gradient(
202202
regularization_loss, self.trainable_variables
203203
)

0 commit comments

Comments
 (0)