(self, path)
| 51 | |
| 52 | class TestConvertToTrt: |
| 53 | def check_engine(self, path): |
| 54 | loader = EngineFromBytes(BytesFromPath(path)) |
| 55 | with loader() as engine: |
| 56 | assert isinstance(engine, trt.ICudaEngine) |
| 57 | |
| 58 | def test_onnx_to_trt(self, poly_convert): |
| 59 | with util.NamedTemporaryFile(suffix=".engine") as outmodel: |
no test coverage detected