Aviso: esta API está obsoleta e será removida em uma versão futura do TensorFlow depois que a substituição estiver estável.
EagerSession.DevicePlacementPolicy
Controla como agir quando tentamos executar uma operação em um determinado dispositivo, mas alguns tensores de entrada não estão nesse dispositivo.
Métodos herdados
Da classe java.lang.Enum final int | |
int | compareTo (arg0 Object) |
final booleano | equals (arg0 Object) |
Aula final <E> | getDeclaringClass () |
final int | hashCode () |
corda final | nome () |
final int | ordinal () |
Fragmento | toString () |
static <T extends Enum <T>> T | valueOf (Class <T> arg0, String arg1) |
Da classe java.lang.Object boleano | equals (arg0 Object) |
aula final <?> | getClass () |
int | hashCode () |
vazio final | notificar () |
vazio final | notifyAll () |
Fragmento | toString () |
vazio final | wait (longa arg0, int arg1) |
vazio final | wait (arg0 de comprimento) |
vazio final | wait () |
Da interface java.lang.Comparable Valores Enum
public static EagerSession.DevicePlacementPolicy última EXPLÍCITO
A execução de operações com tensores de entrada no dispositivo errado falhará.
public static final, EagerSession.DevicePlacementPolicy SILENT
Copie silenciosamente o tensor, o que tem um custo de desempenho, pois a operação será bloqueada até que a cópia seja concluída. Esta é a política de posicionamento padrão.
public static final, EagerSession.DevicePlacementPolicy SILENT_FOR_INT32
Política de colocação que silenciosamente copia tensores int32, mas não outros dtypes.
public static final, EagerSession.DevicePlacementPolicy WARN
Copie o tensor para o dispositivo correto, mas registre um aviso.
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":"Não contém as informações de que eu preciso"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muito complicado / etapas demais"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desatualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema na tradução"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema com as amostras / o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Outro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de entender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Meu problema foi resolvido"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Outro"
}]