W3cubDocs

/TensorFlow 2.4

tf.sysconfig.get_build_info

Get a dictionary describing TensorFlow's build environment.

Values are generated when TensorFlow is compiled, and are static for each TensorFlow package. The return value is a dictionary with string keys such as:

  • cuda_version
  • cudnn_version
  • is_cuda_build
  • is_rocm_build
  • msvcp_dll_names
  • nvcuda_dll_name
  • cudart_dll_name
  • cudnn_dll_name

Note that the actual keys and values returned by this function is subject to change across different versions of TensorFlow or across platforms.

Returns
A Dictionary describing TensorFlow's build environment.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/sysconfig/get_build_info