class_docstr: Melgan Generator TF implementation dedicated for inference with no
  weight norm 
class_docstr_tok: ["Melgan","Generator","TF","implementation","dedicated","for","inference","with","no","weight","norm"]
code: def inference(self, c):
      c = tf.transpose(c, perm=[0, 2, 1])
      c = tf.expand_dims(c, 2)
      # FIXME: TF had no replicate padding as in Torch
      # c = tf.pad(c, [[0, 0], [self.inference_padding, self.inference_padding], [0, 0], [0, 0]], "REFLECT")
      o = c
      for layer in self.model_layers:
          o = layer(o)
      # o = self.model_layers(c)
      o = tf.transpose(o, perm=[0, 3, 2, 1])
      return o[:, :, 0, :]
  
file_path: TTS/TTS/vocoder/tf/models/melgan_generator.py
imports: import logging
  import os
  import tensorflow
  from TTS.vocoder.tf.layers.melgan import ResidualStack, ReflectionPad1d
label_desc: Use image node_id 3 for calling the MelganGenerator obj's underlying member method code with example usage: obj.inference(c) and returns: o