code: def test_script(
      self, dints_grid_params, dints_params, input_shape, _
  ):
      grid = TopologyInstance(**dints_grid_params)
      dints_grid_params["device"] = "cpu"
      dints_params["dints_space"] = grid
      net = DiNTS(**dints_params).to(dints_grid_params["device"])
      test_script_save(
          net, torch.randn(input_shape).to(dints_grid_params["device"])
      )
  
file_path: MONAI/tests/test_dints_network.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.networks.nets import DiNTS, TopologyInstance, TopologySearch
  from monai.networks.nets.dints import Cell
  from tests.utils import SkipIfBeforePyTorchVersion, skip_if_quick, test_script_save
label_desc: Use image node_id 1 for calling the TestDintsTS obj's underlying member method code with example usage: obj.test_script(dints_grid_params, dints_params, input_shape, _) without return types