code: def unravel_index(
      indices: Union[tf.Tensor, tf.Variable],
      shape: Tuple[int],
      /,
      *,
      out: Optional[Tuple[Union[tf.Tensor, tf.Variable]]] = None,
  ) -> Tuple[tf.Tensor]:
      temp = indices
      output = []
      for dim in reversed(shape):
          output.append(temp % dim)
          temp = temp // dim
      output.reverse()
      ret = tf.convert_to_tensor(output, dtype=tf.int32)
      return tuple(ret)
  
imports: from typing import Union, Optional, Tuple
  import tensorflow
  from ivy.func_wrapper import with_supported_dtypes
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: unravel_index() and returns: tuple