code: def test_block_ratio(self):
      x = th.randn(1, 5, 1024)
      w = th.randn(10, 5, 19)
      ref = julius.fft_conv1d(x, w)
      for block_ratio in [1, 5, 10, 20]:
          y = julius.fft_conv1d(x, w, block_ratio=block_ratio)
          self.assertSimilar(y, ref, msg=str(block_ratio))
  
      with self.assertRaises(RuntimeError):
          y = julius.fft_conv1d(x, w, block_ratio=0.9)
  
file_path: julius/tests/test_fftconv.py
imports: import random
  import unittest
  import torch
  from torch.nn import functional
  import julius
label_desc: Use image node_id 3 for calling the TestFFTConv1d obj's underlying member method code with example usage: obj.test_block_ratio() without return types