class_docstr: Base class for all Vocoders that use a Glow or reversible Flow-based setup. All child class are expected
  to have a parameter called audio_to_melspec_precessor that is an instance of
  nemo.collections.asr.parts.FilterbankFeatures
class_docstr_tok: ["Base","class","for","all","Vocoders","that","use","a","Glow","or","reversible","Flow-based","setup",".","All","child","class","are","expected","to","have","a","parameter","called","audio_to_melspec_precessor","that","is","an","instance","of","nemo.collections.asr.parts.FilterbankFeatures"]
code: def temp_mode(self, mode):
      old_mode = self.mode
      self.mode = mode
      try:
          yield
      finally:
          self.mode = old_mode
  
imports: import json
  from abc import ABC, abstractmethod
  from contextlib import ExitStack, contextmanager
  from typing import List, Optional
  import torch
  from omegaconf import DictConfig
  from tqdm import tqdm
  from nemo.collections.tts.parts.utils.helpers import OperationMode
  from nemo.core.classes import ModelPT
  from nemo.core.classes.common import PretrainedModelInfo, typecheck
  from nemo.core.neural_types.elements import AudioSignal
  from nemo.core.neural_types.neural_type import NeuralType
  from nemo.utils import logging, model_utils
label_desc: Use image node_id 3 for calling the GlowVocoder obj's underlying member method code with example usage: obj.temp_mode(mode) without return types