code: def test_compute_energy(self):
      mel_featurizer = MelSpectrogramFeaturizer(
          mel_dim=self.spec_dim,
          hop_length=self.hop_len,
          sample_rate=self.sample_rate,
      )
      energy_featurizer = EnergyFeaturizer(
          spec_featurizer=mel_featurizer
      )
  
      with self._create_test_dir() as test_dir:
          energy = energy_featurizer.compute_energy(
              manifest_entry=self.manifest_entry, audio_dir=test_dir
          )
  
      assert len(energy.shape) == 1
      assert energy.shape[0] == self.spec_len
      assert energy.dtype == np.float32
  
imports: import contextlib
  import tempfile
  from pathlib import Path
  import numpy
  import pytest
  import soundfile
  import torch
  from nemo.collections.tts.parts.preprocessing.features import EnergyFeaturizer, MelSpectrogramFeaturizer, PitchFeaturizer
label_desc: Use image node_id 10 for calling the TestTTSFeatures obj's underlying member method code with example usage: obj.test_compute_energy() without return types