Public Member Functions | |
def | __init__ (self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8) |
def | step (self, closure=None) |
Definition at line 6 of file sparse_adam.py.
def torch.optim.sparse_adam.SparseAdam.step | ( | self, | |
closure = None |
|||
) |
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model and returns the loss.
Definition at line 37 of file sparse_adam.py.