megengine.get_tensorrt_version

get_tensorrt_version()[源代码]

Get the TensorRT version used when compiling MegEngine.

返回

a version number, indicating NV_TENSORRT_MAJOR * 1000 + NV_TENSORRT_MINOR * 100 + NV_TENSORRT_PATCH.