code: def select_eps_for_division(dtype: tf.DType) -> type_alias.Float:
      """Selects default values for epsilon to make divisions safe based on dtype.
  
      This function returns an epsilon slightly greater than the smallest positive
      floating number that is representable for the given dtype. This is mainly used
      to prevent division by zero, which produces Inf values. However, if the
      nominator is orders of magnitude greater than `1.0`, eps should also be
      increased accordingly. Only floating types are supported.
  
      Args:
        dtype: The `tf.DType` of the tensor to which eps will be added.
  
      Raises:
        ValueError: If `dtype` is not a floating type.
  
      Returns:
        A `float` to be used to make operations safe.
      """
      return 10.0 * np.finfo(dtype.as_numpy_dtype).tiny
  
file_path: graphics/tensorflow_graphics/util/asserts.py
imports: from typing import Optional
  from absl import flags
  import numpy
  import tensorflow
  from tensorflow_graphics.util import tfg_flags
  from tensorflow_graphics.util import type_alias
label_desc: Use image node_id 10 for calling a global function with example usage: select_eps_for_division(dtype) and returns: unknown