Spec-Zone.ru › TensorFlow

tf.compat.v1.resource_loader.get_path_to_datafile

Получает путь к указанному файлу в зависимостях данных.

tf.compat.v1.resource_loader.get_path_to_datafile(
    path
)

Путь задается относительно tensorflow/

Аргументы
path строковый путь к ресурсу относительно tensorflow/
Возвращает
Путь к указанному файлу, содержащемуся в атрибуте data py_test или py_binary.
Вызывает исключение
IOError Если путь не найден или ресурс не удается открыть.

© 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/compat/v1/resource_loader/get_path_to_datafile

Spec-Zone.ru

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