Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
torch.optim.sgd.SGD Class Reference
Inheritance diagram for torch.optim.sgd.SGD:

Public Member Functions

def __init__ (self, params, lr=required, momentum=0, dampening=0, weight_decay=0, nesterov=False)
def __setstate__ (self, state)
def step (self, closure=None)

Detailed Description

Definition at line 5 of file

Member Function Documentation

def torch.optim.sgd.SGD.step (   self,
  closure = None 
Performs a single optimization step.

    closure (callable, optional): A closure that reevaluates the model
and returns the loss.

Definition at line 71 of file

The documentation for this class was generated from the following file: