Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::Restore::Attrs

#include <io_ops.h>

Дополнительные атрибуты для Restore.

Краткое описание

Общедоступные атрибуты
preferred_shard_ = -1
int64
Общедоступные функции
PreferredShard(int64 x)
TF_MUST_USE_RESULT Attrs
Индекс файла, который будет открыт в первую очередь, если совпадает несколько файлов file_pattern.

Общедоступные атрибуты

preferred_shard_

int64 tensorflow::ops::Restore::Attrs::preferred_shard_ = -1

Общедоступные функции

PreferredShard

TF_MUST_USE_RESULT Attrs tensorflow::ops::Restore::Attrs::PreferredShard(
  int64 x
)

Индекс файла, который будет открыт в первую очередь, если совпадает несколько файлов file_pattern.

По умолчанию -1

© 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/cc/struct/tensorflow/ops/restore/attrs

Spec-Zone.ru

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