diff --git a/neuralnetworks/1.1/types.hal b/neuralnetworks/1.1/types.hal index 18863d3e89..fae5dd0caa 100644 --- a/neuralnetworks/1.1/types.hal +++ b/neuralnetworks/1.1/types.hal @@ -330,4 +330,12 @@ struct Model { * equals OperandLifeTime::CONSTANT_REFERENCE. */ vec pools; + + /** + * 'true' indicates TENSOR_FLOAT32 may be calculated with range and/or + * precision as low as that of the IEEE 754 16-bit floating-point format. + * 'false' indicates TENSOR_FLOAT32 must be calculated using at least the + * range and precision of the IEEE 754 32-bit floating-point format. + */ + bool relaxComputationFloat32toFloat16; };