class_docstr: Helper functions to compute specgrams.
class_docstr_tok: ["Helper","functions","to","compute","specgrams","."]
code: def _safe_log(self, x):
      return tf.log(x + self._eps)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from magenta.models.gansynth.lib import spectral_ops
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the SpecgramsHelper obj's underlying member method code with example usage: obj._safe_log(x) and returns: tf