code: def __init__(self, parameters, lr, momentum, weight_decay):
      super().__init__(
          parameters,
          lr=lr,
          momentum=momentum,
          weight_decay=weight_decay,
      )
  
imports: import torch
  from fairseq.utils import clip_grad_norm_
  from pytext.config import ConfigBase
  from pytext.config.component import Component, ComponentType
label_desc: Use image node_id 1 to create a new SGD object from inherited base classes: torch.optim, Optimizer with example: obj = SGD(parameters, lr, momentum, weight_decay)