class_docstr: Momentum optimizer. 
class_docstr_tok: ["Momentum","optimizer","."]
code: def __init__(
      self,
      momentum=0.9,
      use_nesterov=False,
      weight_decay=None,
      grad_clip_cfg=None,
      custom_cfg=None,
  ):
      super().__init__(weight_decay, grad_clip_cfg, custom_cfg)
      self.args.update(
          {"momentum": momentum, "use_nesterov": use_nesterov}
      )
  
imports: import paddle
  from paddleseg.cvlibs import manager
  from paddleseg.utils import logger
  import paddleseg.optimizers.custom_optimizers
label_desc: Use image node_id 1 to create a new Momentum object from inherited base classes: BaseOptimizer with example: obj = Momentum(momentum, use_nesterov, weight_decay, grad_clip_cfg, custom_cfg)