Python* API Reference for Intel® Data Analytics Acceleration Library 2019

library_version_info.py

1 # file: library_version_info.py
2 #===============================================================================
3 # Copyright 2014-2018 Intel Corporation.
4 #
5 # This software and the related documents are Intel copyrighted materials, and
6 # your use of them is governed by the express license under which they were
7 # provided to you (License). Unless the License provides otherwise, you may not
8 # use, modify, copy, publish, distribute, disclose or transmit this software or
9 # the related documents without Intel's prior written permission.
10 #
11 # This software and the related documents are provided as is, with no express
12 # or implied warranties, other than those that are expressly stated in the
13 # License.
14 #===============================================================================
15 
16 ## <a name="DAAL-EXAMPLE-PY-LIBRARY_VERSION_INFO"></a>
17 ## \example library_version_info.py
18 
19 from daal.services import LibraryVersionInfo
20 
21 if __name__ == "__main__":
22 
23  ver = LibraryVersionInfo()
24 
25  print("Major version: {}".format(ver.majorVersion))
26  print("Minor version: {}".format(ver.minorVersion))
27  print("Update version: {}".format(ver.updateVersion))
28  print("Product status: {}".format(ver.productStatus))
29  print("Build: {}".format(ver.build))
30  print("Build revision: {}".format(ver.build_rev))
31  print("Name: {}".format(ver.name))
32  print("Processor optimization: {}".format(ver.processor))

For more complete information about compiler optimizations, see our Optimization Notice.