class_docstr: An wrapper optimizer specific to a layer class.
  
  Commonly used by backends to add extra initialization to a layer instance.
class_docstr_tok: ["An","wrapper","optimizer","specific","to","a","layer","class",".","Commonly","used","by","backends","to","add","extra","initialization","to","a","layer","instance","."]
code: def __init__(self, name, layer_class, transform):
      super().__init__(
          name, lambda node: isinstance(node, layer_class), transform
      )
      self.layer_class = layer_class
  
imports: import importlib
  import inspect
  import os
  from hls4ml.utils.string_utils import convert_to_snake_case
label_desc: Use image node_id 1 to create a new LayerOptimizerPass object from inherited base classes: WrappedOptimizerPass with example: obj = LayerOptimizerPass(name, layer_class, transform)