code: def test_script(self):
      net = Discriminator(
          in_shape=(1, 64, 64),
          channels=(2, 4),
          strides=(2, 2),
          num_res_units=0,
      )
      test_data = torch.rand(16, 1, 64, 64)
      test_script_save(net, test_data)
  
file_path: MONAI/tests/test_discriminator.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.nets import Discriminator
  from tests.utils import test_script_save
label_desc: Use image node_id 2 for calling the TestDiscriminator obj's underlying member method code with example usage: obj.test_script() without return types