Skip to content

Commit

Permalink
Rename updates' outputs for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-innocenti committed Nov 27, 2024
1 parent 6115c57 commit b7542b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jpc/_core/_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def update_activities(
"energy": energy,
"activities": activities,
"activity_grads": activity_grads,
"activity_optim": optim,
"activity_opt_state": opt_state
"optim": optim,
"opt_state": opt_state
}


Expand Down Expand Up @@ -102,6 +102,6 @@ def update_params(
"model": model,
"skip_model": skip_model,
"param_grads": param_grads,
"param_optim": optim,
"param_opt_state": opt_state
"optim": optim,
"opt_state": opt_state
}

0 comments on commit b7542b6

Please sign in to comment.