Skip to content

Commit 1c81523

Browse files
author
Beat Buesser
committed
Update _apply_preprocessing_gradient in loss_gradient
Signed-off-by: Beat Buesser <[email protected]>
1 parent 25d96be commit 1c81523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/estimators/speech_recognition/pytorch_deep_speech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def loss_gradient(self, x: np.ndarray, y: np.ndarray, **kwargs) -> np.ndarray:
492492
results_[:] = list(results)
493493
results = results_
494494

495-
results = self._apply_preprocessing_gradient(x_in, results)
495+
results = self._apply_preprocessing_gradient(x, results)
496496

497497
if x.dtype != object:
498498
results = np.array([i for i in results], dtype=x.dtype) # pylint: disable=R1721

0 commit comments

Comments
 (0)