code: def inner(
      x1: Union[tf.Tensor, tf.Variable],
      x2: Union[tf.Tensor, tf.Variable],
      /,
      *,
      out: Optional[Union[tf.Tensor, tf.Variable]] = None,
  ) -> Union[tf.Tensor, tf.Variable]:
      x1, x2 = ivy.promote_types_of_inputs(x1, x2)
      return tf.experimental.numpy.inner(x1, x2)
  
imports: from typing import Union, Optional, Tuple, Literal, List, NamedTuple, Sequence
  from collections import namedtuple
  import tensorflow
  from tensorflow.python.framework.dtypes import DType
  import ivy
  from ivy import inf
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from .None import backend_version
label_desc: Use image node_id 8 for calling a global function with example usage: inner() and returns: tf