TFloating

interfaz pública TFloating
Subclases indirectas conocidas

Interfaz común para todos los tensores de punto flotante.

Las operaciones que solo aceptan valores de coma 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