InfeedEnqueueTuple.Options
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
継承されたメソッド
クラスjava.lang.Objectからブール値 | 等しい(オブジェクト arg0) |
最終クラス<?> | getクラス() |
整数 | ハッシュコード() |
最後の空白 | 通知する() |
最後の空白 | すべて通知() |
弦 | toString () |
最後の空白 | wait (long arg0, int arg1) |
最後の空白 | 待機(長い引数0) |
最後の空白 | 待って() |
パブリックメソッド
パラメーター
デバイス通常 | 使用する TPU デバイス。これは、Op が TPU デバイスで実行されている場合は -1 である必要があり、Op が CPU デバイスで実行されている場合は >= 0 である必要があります。 |
---|
パラメーター
レイアウト | すべてのタプル形状について、要求されたレイアウトをマイナーからメジャーの順序で保持するベクトル (形状が「形状」入力に表示される順序)。サブシェイプのレイアウト要素は -1 に設定できます。この場合、対応するレイアウトはインフィード操作によって計算されます。 |
---|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]