code: def scale(self, waveform, factor=2.0**31):
      # scales a waveform by a factor
      if not waveform.is_floating_point():
          waveform = waveform.to(torch.get_default_dtype())
      return waveform / factor
  
imports: import math
  import torch
  import torchaudio
  import torchaudio.functional
  import torchaudio.transforms
  from torchaudio_unittest import common_utils
label_desc: Use image node_id 1 for calling the Tester obj's underlying member method code with example usage: obj.scale(waveform, factor) and returns: unknown