Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 672706385
  • Loading branch information
JAXopt authors committed Sep 17, 2024
1 parent 66d90db commit a9b974f
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 a9b974f

Please sign in to comment.