def METHOD_NAME(self):
    """Save a network with simple metadata to a file."""
    m = torch.jit.script(TestModule())
    test_metadata = {"foo": [1, 2], "bar": "string"}
    with tempfile.TemporaryDirectory() as tempdir:
        save_net_with_metadata(m, f"{tempdir}/test", meta_values=test_metadata)
        self.assertTrue(os.path.isfile(f"{tempdir}/test.ts"))