Skip to content

Commit

Permalink
fix: pass lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-eecs committed Jul 19, 2022
1 parent 7210c0d commit a20dbb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torchopt/_src/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
from torchopt._src import base


def apply_updates(params: base.Params, updates: base.Updates, inplace: bool = True) -> base.Params:
def apply_updates(
params: 'base.Params', updates: 'base.Updates', inplace: bool = True
) -> 'base.Params':
"""Applies an update to the corresponding parameters.
This is a utility functions that applies an update to a set of parameters,
Expand Down

0 comments on commit a20dbb8

Please # to comment.