code: def test_spectrogram_unnorm_norm(
      enhancer: SpectrogramEnhancerModel, sample_input
  ):
      input_spectrograms, lengths = sample_input
      same_input_spectrograms = enhancer.normalize_spectrograms(
          enhancer.unnormalize_spectrograms(
              input_spectrograms, lengths
          ),
          lengths,
      )
      assert torch.allclose(
          input_spectrograms, same_input_spectrograms, atol=1e-5
      )
  
file_path: NeMo/tests/collections/tts/test_spectrogram_enhancer.py
imports: import pytest
  import torch
  from einops import rearrange
  from omegaconf import DictConfig
  from nemo.collections.tts.models import SpectrogramEnhancerModel
  from nemo.collections.tts.parts.utils.helpers import mask_sequence_tensor
label_desc: Use image node_id 7 for calling a global function with example usage: test_spectrogram_unnorm_norm(enhancer, sample_input) without return types