Avertissement: cette API est obsolète et sera supprimée dans une future version de TensorFlow une fois le remplacement stable.
DataType
Représente le type d'éléments d'un Tensor
comme un enum.
Méthodes héritées
De la classe java.lang.Enum entier final | |
entier | compareTo (Object arg0) |
booléen final | equals (Object arg0) |
Classe finale < DataType > | getDeclaringClass () |
entier final | hashCode () |
chaîne finale | nom () |
entier final | ordinal () |
Chaîne de caractères | toString () |
statique <T étend Enum<T>> T | valueOf (classe <T> arg0, String arg1) |
De la classe java.lang.Object booléen | equals (Object arg0) |
classe finale<?> | getClass () |
entier | hashCode () |
vide final | notifier () |
vide final | notifyAll () |
Chaîne de caractères | toString () |
vide final | attente (longue arg0, int arg1) |
vide final | attente (longue arg0) |
vide final | wait () |
Depuis l'interface java.lang.Comparable Valeurs d'énumération
public static final DataType BOOL
public static final DOUBLE DataType
virgule flottante double précision 64 bits.
public static final FLOAT DataType
virgule flottante simple précision 32 bits.
public static final DataType INT32
public static final DataType INT64
public static final STRING DataType
Une séquence d'octets.
TensorFlow utilise le type STRING pour une séquence arbitraire d'octets.
public static final DataType UINT8
Entier non signé de 8 bits.
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":"Il n'y a pas l'information dont j'ai besoin"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Trop compliqué/Trop d'étapes"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Obsolète"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problème de traduction"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Mauvais exemple/Erreur de code"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Autre"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Facile à comprendre"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"J'ai pu résoudre mon problème"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Autre"
}]