code: def _sparse_dense_truediv(
      sp_indices, sp_values, sp_shape, y, name=None
  ):
      """Internal helper function for 'sp_t / dense_t'."""
      with ops.name_scope(
          name, "truediv", [sp_indices, sp_values, sp_shape, y]
      ) as name:
          sp_values = ops.convert_to_tensor(sp_values, name="sp_values")
          y = ops.convert_to_tensor(y, name="y")
          x_dtype = sp_values.dtype.base_dtype
          y_dtype = y.dtype.base_dtype
          if x_dtype != y_dtype:
              raise TypeError(
                  "`x` and `y` must have the same dtype, "
                  f"got {x_dtype!r} != {y_dtype!r}."
              )
          try:
              dtype = _TRUEDIV_TABLE[x_dtype]
          except KeyError as exc:
              raise TypeError(
                  f"Invalid dtype {x_dtype!r} in __truediv__. Expected one "
                  f"of {{{', '.join([repr(x) for x in _TRUEDIV_TABLE.keys()])}}}."
              ) from exc
          if dtype is not None:
              sp_values = gen_math_ops.cast(sp_values, dtype)
              y = gen_math_ops.cast(y, dtype)
          return gen_sparse_ops.sparse_dense_cwise_div(
              sp_indices, sp_values, sp_shape, y, name=name
          )
  
imports: import collections
  import numpy
  from tensorflow.core.protobuf import struct_pb2
  from tensorflow.python import pywrap_tensorflow
  from tensorflow.python import tf2
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import override_binary_operator
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.framework import type_spec
  from tensorflow.python.framework import type_spec_registry
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_sparse_ops
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.types import internal
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling a global function with example usage: _sparse_dense_truediv(sp_indices, sp_values, sp_shape, y, name) and returns: gen_sparse_ops