(key: str, v: Tensor)
| 351 | else: |
| 352 | raise ValueError(f"Unexpected parameter name: {name}") |
| 353 | def optimizer_fn(key: str, v: Tensor) -> Tensor: |
| 354 | return v |
| 355 | |
| 356 | # update the parameters and the state in the optimizers |
| 357 | _update_param_with_optimizer(param_fn, optimizer_fn, params, optimizers, names=["omega"]) |
nothing calls this directly
no outgoing calls
no test coverage detected