TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.sysconfig.get_lib

TensorFlow 1 version View source on GitHub

Get the directory containing the TensorFlow framework library.

Aliases:

  • tf.compat.v1.sysconfig.get_lib
  • tf.compat.v2.sysconfig.get_lib
tf.sysconfig.get_lib()

Returns:

The directory as string.