TFloating
Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Subclases indirectas conocidas TBfloat16 | Cerebro tipo tensor flotante de 16 bits. | TFloat16 | Tipo tensor flotante de 16 bits de media precisión IEEE-754. | TFloat32 | Tipo tensor flotante de 32 bits de precisión simple IEEE-754. | TFloat64 | Tipo tensor flotante de 64 bits de doble precisión IEEE-754. |
|
Interfaz común para todos los tensores de punto flotante.
Las operaciones que solo aceptan valores de punto flotante como algunos de sus operandos exigen que los tipos de tensor para estos operandos estén vinculados a esta interfaz. Por ejemplo:
Ops tf = Ops.create();
Constant<TFloat32> c1 = tf.array(1.0f, 2.0f, 3.0f);
Constant<TBool> c2 = tf.array(true, false, true);
Exponential<TFloat32> exp = new Exponential<>(tf);
exp.call(c1); // OK
exp.call(c2); // Compilation failure
Métodos heredados
Desde la interfaz org.tensorflow.Tensor resumen RawTensor | comoRawTensor () Devuelve una representación sin formato (sin tipo) de este tensor. |
vacío abstracto | cerca () Liberar recursos asociados con el Tensor. |
tipo de datos abstracto | |
abstracto largo | |
abstracto estático <T extiende TType > T | de (tipo Clase<T>, forma , tamaño largo, consumidor<T> dataInitializer) Asigna un tensor de un tipo de datos, forma y tamaño determinados. |
abstracto estático <T extiende TType > T | de (tipo Clase<T>, forma ) Asigna un tensor de un tipo de datos y una forma determinados. |
abstracto estático <T extiende TType > T | de (tipo Clase<T>, forma , tamaño largo) Asigna un tensor de un tipo de datos, forma y tamaño determinados. |
abstracto estático <T extiende TType > T | de (tipo Clase<T>, forma , consumidor<T> dataInitializer) Asigna e inicializa un tensor de un tipo de datos y una forma determinados. |
abstracto estático <T extiende TType > T | de (tipo Clase<T>, forma de forma , ByteDataBuffer rawData) Crea un tensor de cualquier tipo a partir de los datos sin procesar proporcionados por el búfer dado. |
forma abstracta | forma () Devuelve la forma del tensor. |
Desde la interfaz java.lang.AutoCloseable
A menos que se indique lo contrario, el contenido de esta página está sujeto a la licencia Reconocimiento 4.0 de Creative Commons y las muestras de código están sujetas a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio web de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-08-29 (UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Me falta la información que necesito"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Es demasiado complicado o hay demasiados pasos"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Está obsoleto"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema de traducción"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema de muestras o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Otro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Es fácil de entender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Me ofreció una solución al problema"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Otro"
}]
{"lastModified": "\u00daltima actualizaci\u00f3n: 2024-08-29 (UTC)."}