MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

ML/src/python/neuralforge/optim/optimizers.py:178–180  ·  view source on GitHub ↗
(self, params, lr=1e-3, betas=(0.9, 0.999), final_lr=0.1, gamma=1e-3, eps=1e-8, weight_decay=0)

Source from the content-addressed store, hash-verified

176
177class AdaBound(Optimizer):
178 def __init__(self, params, lr=1e-3, betas=(0.9, 0.999), final_lr=0.1, gamma=1e-3, eps=1e-8, weight_decay=0):
179 defaults = dict(lr=lr, betas=betas, final_lr=final_lr, gamma=gamma, eps=eps, weight_decay=weight_decay)
180 super().__init__(params, defaults)
181
182 def step(self, closure=None):
183 loss = None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected