code: def __init__(
      self,
      subscripts=None,
      optimize=None,
      order=None,
      casting=None,
      **kw,
  ):
      super().__init__(
          _subscripts=subscripts,
          _optimize=optimize,
          _order=order,
          _casting=casting,
          **kw,
      )
  
imports: import itertools
  from collections import defaultdict
  import numpy
  from ...None import opcodes
  from ...core import recursive_tile
  from ...serialization.serializables import AnyField, StringField
  from ..array_utils import as_same_device, device
  from ..arithmetic.utils import chunk_tree_add
  from ..core import TensorOrder
  from ..operands import TensorOperand, TensorOperandMixin
  from ..utils import decide_unify_split
  from .einsumfunc import parse_einsum_input, einsum_path
label_desc: Use image node_id 1 to create a new TensorEinsum object from inherited base classes: TensorOperand, TensorOperandMixin with example: obj = TensorEinsum(subscripts, optimize, order, casting)