MCPcopy Create free account
hub / github.com/NVlabs/DiffPure / optimize_fn

Function optimize_fn

score_sde/losses.py:41–50  ·  view source on GitHub ↗

Optimizes with warmup and gradient clipping (disabled if negative).

(optimizer, params, step, lr=config.optim.lr,
                  warmup=config.optim.warmup,
                  grad_clip=config.optim.grad_clip)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

step_fnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected