tf.contrib.framework.load_checkpoint
Возвращает CheckpointReader для последнего контрольного пункта.
tf.contrib.framework.load_checkpoint(
filepattern
)
| Аргументы | |
|---|---|
filepattern | Каталог с файлом контрольных пунктов или путь к контрольному пункту. |
| Возвращает | |
|---|---|
| Объект CheckpointReader. |
| Исключения | |
|---|---|
ValueError | если в checkpoint_dir нет файла 'checkpoint' или контрольных пунктов. |
© 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/contrib/framework/load_checkpoint