class_docstr: Synthesize audio by filtering white noise.
docstr: Convert network outputs into a dictionary of synthesizer controls.
  
  Args:
    magnitudes: 3-D Tensor of synthesizer parameters, of shape [batch, time,
      n_filter_banks].
  
  Returns:
    controls: Dictionary of tensors of synthesizer controls.
docstr_tok: ["Convert","network","outputs","into","a","dictionary","of","synthesizer","controls",".","Args",":","magnitudes",":","3-D","Tensor","of","synthesizer","parameters",",","of","shape","[","batch",",","time",",","n_filter_banks","]",".","Returns",":","controls",":","Dictionary","of","tensors","of","synthesizer","controls","."]
code: def get_controls(self, magnitudes):
      """Convert network outputs into a dictionary of synthesizer controls.
  
      Args:
        magnitudes: 3-D Tensor of synthesizer parameters, of shape [batch, time,
          n_filter_banks].
  
      Returns:
        controls: Dictionary of tensors of synthesizer controls.
      """
      # Scale the magnitudes.
      if self.scale_fn is not None:
          magnitudes = self.scale_fn(magnitudes + self.initial_bias)
  
      return {"magnitudes": magnitudes}
  
imports: from ddsp import core
  from ddsp import processors
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the FilteredNoise obj's underlying member method code with example usage: obj.get_controls(magnitudes) and returns: dict