code: def db_to_gain(tensor: tf.Tensor) -> tf.Tensor:
      """
      Convert from decibel to gain in tensorflow.
  
      Parameters:
          tensor (tf.Tensor):
              Tensor to convert
  
      Returns:
          tf.Tensor:
              Converted tensor.
      """
      return tf.pow(10.0, (tensor / 20.0))
  
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 4 for calling a global function with example usage: db_to_gain(tensor) and returns: tf