code: def _safe_log(tensor):
      """Lower bounded log function."""
      return tf.log(1e-6 + tensor)
  
file_path: magenta/magenta/common/nade.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import tensorflow.compat.v1
  import tensorflow_probability
label_desc: Use image node_id 1 for calling a global function with example usage: _safe_log(tensor) and returns: tf