Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 672160611
  • Loading branch information
JAXopt authors committed Sep 9, 2024
1 parent 6d88292 commit 78b295b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions jaxopt/_src/gradient_descent.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ def init_state(self,
"""
return super().init_state(init_params, None, *args, **kwargs)

def update(self,
params: Any,
state: NamedTuple,
*args,
**kwargs) -> base.OptStep:
def update(
self, params: Any, state: ProxGradState, *args, **kwargs
) -> base.OptStep:
"""Performs one iteration of gradient descent.
Args:
Expand Down

0 comments on commit 78b295b

Please sign in to comment.