docstr: the distribution of time are correct
docstr_tok: ["the","distribution","of","time","are","correct"]
code: def test_adsr_envelope(
      self,
      num_frames,
      expected,
      attack=0.0,
      hold=0.0,
      decay=0.0,
      sustain=0.0,
      release=0.0,
      n_decay=2.0,
  ):
      """the distribution of time are correct"""
      out = F.adsr_envelope(
          num_frames,
          attack=attack,
          hold=hold,
          decay=decay,
          sustain=sustain,
          release=release,
          n_decay=n_decay,
          device=self.device,
          dtype=self.dtype,
      )
      self.assertEqual(
          out,
          torch.tensor(expected, device=self.device, dtype=self.dtype),
      )
  
imports: import torch
  import torchaudio.prototype.functional
  from parameterized import param, parameterized
  from torchaudio_unittest.common_utils import nested_params, TestBaseMixin
  from .dsp_utils import exp_sigmoid, freq_ir, oscillator_bank, sinc_ir
label_desc: Use image node_id 3 for calling the FunctionalTestImpl obj's underlying member method code with example usage: obj.test_adsr_envelope(num_frames, expected, attack, hold, decay, sustain, release, n_decay) without return types