Skip to content

Commit

Permalink
Merge branch 'online-ml:master' into predict_in_inference_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasczz committed Dec 20, 2022
2 parents 8049ecb + aec0316 commit 11d3a6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion river_torch/anomaly/rolling_ae.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ def _learn(self, x: torch.Tensor):
loss.backward()
self.optimizer.step()

def learn_one(self, x: dict, y: None) -> "RollingAutoencoder":
def learn_one(
self, x: dict, y: Any = None, **kwargs
) -> "RollingAutoencoder":
"""
Performs one step of training with a single example.
Expand Down

0 comments on commit 11d3a6d

Please sign in to comment.