警告:このAPIは非推奨であり、置き換えが安定した後、 TensorFlowの将来のバージョンで削除される予定です。
EagerSession.DevicePlacementPolicy
特定のデバイスで操作を実行しようとしたが、一部の入力テンソルがそのデバイス上にない場合の動作を制御します。
継承されたメソッド
クラスjava.lang.Enumから最終的なint | |
int | compareTo(オブジェクトのarg0) |
最終ブール値 | 等しい(オブジェクトのarg0) |
最終クラス<E> | getDeclaringClass() |
最終的なint | hashCode() |
最終的な文字列 | 名前() |
最終的なint | 序() |
弦 | toString() |
static <T extends Enum <T >> T | valueOf(クラス<T> arg0は、String型の引数1) |
クラスjava.lang.Objectからブール値 | 等しい(オブジェクトのarg0) |
最終クラス<?> | getClass() |
int | hashCode() |
最終的な無効 | 通知() |
最終的な無効 | notifyAll() |
弦 | toString() |
最終的な無効 | 待ち時間(長いarg0は、int型の引数1) |
最終的な無効 | 待ち時間(長いarg0に) |
最終的な無効 | 待ち時間() |
インターフェイスjava.lang.Comparableから 列挙値
public static final EagerSession.DevicePlacementPolicy EXPLICIT
間違ったデバイスで入力テンソルを使用して操作を実行すると失敗します。
public static final EagerSession.DevicePlacementPolicy SILENT
テンソルをサイレントコピーします。コピーが完了するまで操作がブロックされるため、パフォーマンスコストがかかります。これはデフォルトの配置ポリシーです。
public static final EagerSession.DevicePlacementPolicy SILENT_FOR_INT32
int32テンソルをサイレントにコピーするが、他のdtypeはコピーしない配置ポリシー。
public static final EagerSession.DevicePlacementPolicyはWARN
テンソルを適切なデバイスにコピーしますが、警告をログに記録します。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]