docstr: sdr produces the same result as the reference implementation
code: def test_sdr(self, batch_size):
      """sdr produces the same result as the reference implementation"""
      num_frames = 256
  
      estimation = torch.rand(batch_size, num_frames)
      origin = torch.rand(batch_size, num_frames)
  
      sdr_ref = sdr_reference.calc_sdr_torch(estimation, origin)
      sdr = metrics.sdr(
          estimation.unsqueeze(1), origin.unsqueeze(1)
      ).squeeze(1)
  
      self.assertEqual(sdr, sdr_ref)
  
file_path: audio/test/torchaudio_unittest/example/souce_sepration/metrics_test.py
imports: from itertools import product
  import torch
  from parameterized import parameterized
  from source_separation.utils import metrics
  from torch.testing._internal.common_utils import TestCase
  from .None import sdr_reference
label_desc: Use image node_id 1 for calling the TestSDR obj's underlying member method code with example usage: obj.test_sdr(batch_size) without return types