code: def gain_to_db(
      tensor: tf.Tensor, espilon: float = 10e-10
  ) -> tf.Tensor:
      """
      Convert from gain to decibel in tensorflow.
  
      Parameters:
          tensor (tf.Tensor):
              Tensor to convert
          epsilon (float):
              Operation constant.
  
      Returns:
          tf.Tensor:
              Converted tensor.
      """
      return (
          20.0 / np.log(10) * tf.math.log(tf.maximum(tensor, espilon))
      )
  
file_path: spleeter/spleeter/audio/convertor.py
imports: import numpy
  import tensorflow
  from ..utils.tensor import from_float32_to_uint8, from_uint8_to_float32
label_desc: Use image node_id 3 for calling a global function with example usage: gain_to_db(tensor, espilon) and returns: unknown