(program)
| 59 | runtime = Runtime.get() |
| 60 | |
| 61 | def test_add(program): |
| 62 | method = program.load_method("forward") |
| 63 | outputs = method.execute(inputs) |
| 64 | self.assertTrue(torch.allclose(outputs[0], inputs[0] + inputs[1])) |
| 65 | |
| 66 | with tempfile.NamedTemporaryFile() as f: |
| 67 | f.write(ep.buffer) |
nothing calls this directly
no test coverage detected