tf.test.test_src_dir_path
Создаёт абсолютный путь к исходному каталогу тестов, заданный относительно пути.
tf.test.test_src_dir_path(
relative_path
)
| Аргументы | |
|---|---|
relative_path | путь, относящийся к корню tensorflow. Например, "core/platform". |
| Возвращаемое значение | |
|---|---|
| Абсолютный путь к связанному файлу в runfiles. |
© 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/r1.15/api_docs/python/tf/test/test_src_dir_path