Spec-Zone.ru › TensorFlow

tf.sysconfig.get_link_flags

Returns the linker flags for linking with TensorFlow.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.sysconfig.get_link_flags

tf.sysconfig.get_link_flags()

The returned list of arguments can be passed to the linker for linking against TensorFlow. The result is platform dependent.

For example, on a typical Linux system with Python 3.7 the following command prints ['-L/usr/local/lib/python3.7/dist-packages/tensorflow', '-l:libtensorflow_framework.so.2']

print(tf.sysconfig.get_link_flags())
Returns
A list of strings for the linker flags.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/sysconfig/get_link_flags

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API