class_docstr: Abstract baseclass of an optimizer to be used with ES.
code: def __init__(self):
      self.policy: Optional[TorchModel] = None
      self.dim: Optional[int] = None
      self.t: Optional[int] = None
  
file_path: maze/maze/train/trainers/es/optimizers/base_optimizer.py
imports: from abc import ABC, abstractmethod
  from typing import Optional
  import numpy
  from maze.core.agent.torch_model import TorchModel
  from maze.train.trainers.es.es_utils import get_flat_parameters, set_flat_parameters
label_desc: Use image node_id 1 to create a new Optimizer object from inherited base classes: ABC with example: obj = Optimizer()