code: def count_parameters(model):
      r"""Count number of trainable parameters in a network"""
      return sum(
          p.numel() for p in model.parameters() if p.requires_grad
      )
  
file_path: TTS/tests/test_glow_tts.py
imports: import copy
  import os
  import unittest
  import torch
  from tests import get_tests_input_path
  from torch import optim
  from TTS.tts.layers.losses import GlowTTSLoss
  from TTS.tts.models.glow_tts import GlowTts
  from TTS.utils.io import load_config
  from TTS.utils.audio import AudioProcessor
label_desc: Use image node_id 1 for calling a global function with example usage: count_parameters(model) and returns: sum