code: def __init__(self, parameters, lr, weight_decay):
      super().__init__(parameters, lr=lr, 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 Adagrad object from inherited base classes: torch.optim, Optimizer with example: obj = Adagrad(parameters, lr, weight_decay)