Rate This Document
Findability
Accuracy
Completeness
Readability

Obtaining Version Information

Obtains the KDNN_EXT version information.

Interface Definition

def get_version() -> Dict[bytes, bytes]

Return Value

Type

Description

Dict[bytes, bytes]

The product version information is returned. If an exception occurs, {} is returned.

Example

>>> from libkdnn_ext import get_version
>>> get_version()
{'productName': b'Kunpeng Boostkit', 'productVersion': b'24.0.0', 'componentName': b'BoostKit-kail', 'componentVersion': b'1.0.0', 'componentAppendInfo': b'gcc', 'softwareName': b'boostKit-kail-dnn-ext', 'softwareVersion': b'1.0.0'}

The version number and compile time are subject to the running results in your environment. The preceding results are for reference only.