संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: रीस्टोरस्लाइस:: Attrs
#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 पर डिफ़ॉल्ट
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]