code: def tensordot(
      self: ivy.Array,
      x2: Union[ivy.Array, ivy.NativeArray],
      /,
      *,
      axes: Union[int, Tuple[List[int], List[int]]] = 2,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      return ivy.tensordot(self._data, x2, axes=axes, out=out)
  
imports: import abc
  from typing import Union, Optional, Literal, Tuple, List, Sequence
  import ivy
label_desc: Use image node_id 23 for calling the _ArrayWithLinearAlgebra obj's underlying member method code with example usage: obj.tensordot() and returns: ivy