code: def __init__(
      self,
      params,
      lr: float = 0.1,
      momentum: float = 0.0,
      dampening: float = 0.0,
      weight_decay: float = 0.0,
      nesterov: bool = False,
  ):
      assert check_argument_types()
      super().__init__(
          params,
          lr=lr,
          momentum=momentum,
          dampening=dampening,
          weight_decay=weight_decay,
          nesterov=nesterov,
      )
  
imports: import torch
  from typeguard import check_argument_types
label_desc: Use image node_id 1 to create a new SGD object from inherited base classes: torch.optim with example: obj = SGD(params, lr, momentum, dampening, weight_decay, nesterov)