コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::復元スライス::属性
#include <io_ops.h>
RestoreSliceのオプションの属性セッター。
まとめ
公共機能 |
---|
PreferredShard (int64 x) | 複数のファイルが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
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# tensorflow::ops::RestoreSlice::Attrs Struct Reference\n\ntensorflow::ops::RestoreSlice::Attrs\n====================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [RestoreSlice](/versions/r2.3/api_docs/cc/class/tensorflow/ops/restore-slice#classtensorflow_1_1ops_1_1_restore_slice).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------|\n| [preferred_shard_](#structtensorflow_1_1ops_1_1_restore_slice_1_1_attrs_1a435b3e19b1223b9ea5ef37bcbb1c8915)` = -1` | `int64` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PreferredShard](#structtensorflow_1_1ops_1_1_restore_slice_1_1_attrs_1a137964847b24357bd27f2f06066508bd)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/restore-slice/attrs#structtensorflow_1_1ops_1_1_restore_slice_1_1_attrs) Index of file to open first if multiple files match `file_pattern`. |\n\nPublic attributes\n-----------------\n\n### preferred_shard_\n\n```scdoc\nint64 tensorflow::ops::RestoreSlice::Attrs::preferred_shard_ = -1\n``` \n\nPublic functions\n----------------\n\n### PreferredShard\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::RestoreSlice::Attrs::PreferredShard(\n int64 x\n)\n``` \nIndex of file to open first if multiple files match `file_pattern`.\n\nSee the documentation for [Restore](/versions/r2.3/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_restore).\n\nDefaults to -1"]]