code: def __init__(self, casting=None, order=None, **kw):
      super().__init__(_casting=casting, _order=order, **kw)
      if self._casting is None:
          self._casting = "same_kind"
      if self._order is None:
          self._order = "K"
      check_order(self._order)
  
imports: import itertools
  import numpy
  from ...None import opcodes
  from ...serialization.serializables import KeyField, StringField
  from ...utils import has_unknown_shape
  from ..core import Tensor, TensorOrder
  from ..utils import broadcast_shape, check_out_param, unify_chunks, check_order
  from ..array_utils import device, as_same_device, is_sparse_module
  from ..operands import TensorOperand, TensorOperandMixin
  from ..arithmetic.utils import chunk_tree_add
  from ..datasource import tensor
label_desc: Use image node_id 1 to create a new TensorMatmul object from inherited base classes: TensorOperand, TensorOperandMixin with example: obj = TensorMatmul(casting, order)