code: def __init__(
      self, d_optim, g_optim, g_param_size, d_steps=1, g_steps=1
  ):
      super(GanOptimMethod, self).__init__(
          None,
          "float",
          d_optim,
          g_optim,
          d_steps,
          g_steps,
          g_param_size,
      )
  
imports: from bigdl.dllib.optim.optimizer import OptimMethod
label_desc: Use image node_id 1 to create a new GanOptimMethod object from inherited base classes: OptimMethod with example: obj = GanOptimMethod(d_optim, g_optim, g_param_size, d_steps, g_steps)