tensorflow:: ops:: RestoreSlice:: Attrs

#include <io_ops.h>

RestoreSliceのオプション属性セッター。

まとめ

公開属性

preferred_shard_ = -1
int64

公的機能

PreferredShard (int64 x)
TF_MUST_USE_RESULT Attrs
複数のファイルがfile_patternに一致する場合に最初に開くファイルのインデックス。

公開属性

優先シャード

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

公的機能

優先シャード

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

複数のファイルがfile_patternに一致する場合に最初に開くファイルのインデックス。

Restoreのドキュメントを参照してください。

デフォルト値は-1です。