MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_cudnn_version

Function get_cudnn_version

imperative/python/megengine/device.py:316–322  ·  view source on GitHub ↗

r"""Get the Cudnn version used when compiling MegEngine. Returns: a version number, indicating `CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL`.

()

Source from the content-addressed store, hash-verified

314
315
316def get_cudnn_version():
317 r"""Get the Cudnn version used when compiling MegEngine.
318
319 Returns:
320 a version number, indicating `CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL`.
321 """
322 return _get_cudnn_version()
323
324
325def get_tensorrt_version():

Callers 1

init_commonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected