We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a7efa commit fff3d61Copy full SHA for fff3d61
rasa/utils/tensorflow/models.py
@@ -195,9 +195,9 @@ def train_on_batch(
195
196
self.total_loss.update_state(total_loss)
197
198
- # calculate the gradients that comes from supervision signal
+ # calculate the gradients that come from supervision signal
199
prediction_gradients = tape.gradient(prediction_loss, self.trainable_variables)
200
- # calculate the gradients that comes from regularization
+ # calculate the gradients that come from regularization
201
regularization_gradients = tape.gradient(
202
regularization_loss, self.trainable_variables
203
)
0 commit comments