InfeedEnqueueTuple.Options
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
विरासत में मिली विधियाँ
कक्षा java.lang.Object से बूलियन | बराबर (ऑब्जेक्ट arg0) |
अंतिम कक्षा<?> | गेटक्लास () |
int यहाँ | हैश कोड () |
अंतिम शून्य | सूचित करें () |
अंतिम शून्य | सभी को सूचित करें () |
डोरी | स्ट्रिंग () |
अंतिम शून्य | प्रतीक्षा करें (लंबा arg0, int arg1) |
अंतिम शून्य | प्रतीक्षा करें (लंबा arg0) |
अंतिम शून्य | इंतज़ार () |
सार्वजनिक तरीके
पैरामीटर
डिवाइसऑर्डिनल | उपयोग करने के लिए TPU डिवाइस. जब Op TPU डिवाइस पर चल रहा हो तो यह -1 होना चाहिए, और जब CPU डिवाइस पर Op चल रहा हो तो यह >= 0 होना चाहिए। |
---|
पैरामीटर
लेआउट | एक वेक्टर सभी टपल आकृतियों के लिए छोटे-से-बड़े अनुक्रम में अनुरोधित लेआउट को रखता है, जिस क्रम में आकृतियाँ "आकार" इनपुट में दिखाई देती हैं। उप-आकार के लिए लेआउट तत्वों को -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,["# InfeedEnqueueTuple.Options\n\npublic static class **InfeedEnqueueTuple.Options** \nOptional attributes for [InfeedEnqueueTuple](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple) \n\n### Public Methods\n\n|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [InfeedEnqueueTuple.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options) | [deviceOrdinal](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options#deviceOrdinal(java.lang.Long))(Long deviceOrdinal) |\n| [InfeedEnqueueTuple.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options) | [layouts](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options#layouts(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e layouts) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [InfeedEnqueueTuple.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options)\n**deviceOrdinal**\n(Long deviceOrdinal)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| deviceOrdinal | The TPU device to use. This should be -1 when the Op is running on a TPU device, and \\\u003e= 0 when the Op is running on the CPU device. |\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [InfeedEnqueueTuple.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.Options)\n**layouts**\n(List\\\u003cLong\\\u003e layouts)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| layouts | A vector holding the requested layout in minor-to-major sequence for all the tuple shapes, in the order the shapes appear in the \"shapes\" input. The layout elements for a sub-shape can be set to -1, in which case the corresponding layout will be computed by the infeed operation. |\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]