MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / main

Function main

samples/python/onnx_custom_plugin/model.py:113–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112
113def main():
114 if os.path.exists(TRT_MODEL_PATH):
115 print("TRT-compatible onnx model already exists!")
116 else:
117 print("TRT-compatible onnx model not found, generating...")
118 make_trt_compatible_onnx_model()
119
120
121if __name__ == "__main__":

Callers 1

model.pyFile · 0.70

Calls 2

printFunction · 0.85

Tested by

no test coverage detected