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