megengine.get_tensorrt_version

get_tensorrt_version()[source]

Get the TensorRT version used when compiling MegEngine.

Returns

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