code: def __init__(self, name, dmap=None, x=None, n_outs=1):
      self.name = name
      if dmap is None:
          dmap = {}
      self.destroy_map = dmap
      self.x = x
      self.n_outs = n_outs
  
imports: import numpy
  from pytensor.graph.basic import Apply, Constant, NominalVariable, Variable
  from pytensor.graph.fg import FunctionGraph
  from pytensor.graph.op import HasInnerGraph, Op
  from pytensor.graph.replace import clone_replace
  from pytensor.graph.type import Type
label_desc: Use image node_id 1 to create a new MyOp object from inherited base classes: Op with example: obj = MyOp(name, dmap, x, n_outs)