code: def test_TorchModelGen(self) -> None:
      torch_model = TorchModel()
      with self.assertRaises(NotImplementedError):
          torch_model.gen(
              n=1,
              search_space_digest=self.search_space_digest,
              torch_opt_config=self.torch_opt_config,
          )
  
file_path: Ax/ax/models/tests/test_torch.py
imports: import torch
  from ax.core.search_space import SearchSpaceDigest
  from ax.models.torch_base import TorchModel, TorchOptConfig
  from ax.utils.common.testutils import TestCase
  from botorch.utils.datasets import SupervisedDataset
label_desc: Use image node_id 4 for calling the TorchModelTest obj's underlying member method code with example usage: obj.test_TorchModelGen() without return types