Skip to content

Commit 7c41267

Browse files
author
JAXopt authors
committed
No public description
PiperOrigin-RevId: 672160611
1 parent 6d88292 commit 7c41267

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

jaxopt/_src/gradient_descent.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ def init_state(self,
7979
"""
8080
return super().init_state(init_params, None, *args, **kwargs)
8181

82-
def update(self,
83-
params: Any,
84-
state: NamedTuple,
85-
*args,
86-
**kwargs) -> base.OptStep:
82+
def update(
83+
self, params: Any, state: ProxGradState, *args, **kwargs
84+
) -> base.OptStep:
8785
"""Performs one iteration of gradient descent.
8886
8987
Args:

0 commit comments

Comments
 (0)