Document the meaning of the return values for

ANeuralNetworksModel_relaxComputationFloat32toFloat16 and
ANeuralNetworksModel_identifyInputsAndOutputs.

PiperOrigin-RevId: 333756261
Change-Id: I41d409d80f7abe3bb50a271f6d0853775404a142
This commit is contained in:
Fergus Henderson 2020-09-25 10:11:21 -07:00 committed by TensorFlower Gardener
parent e6851c628e
commit 80035c4f25

View File

@ -272,6 +272,7 @@ struct NnApi {
*
* See {@link ANeuralNetworksModel} for information on multithreaded usage.
*
* @return ANEURALNETWORKS_NO_ERROR if successful.
*/
int (*ANeuralNetworksModel_identifyInputsAndOutputs)(
ANeuralNetworksModel* model, uint32_t inputCount, const uint32_t* inputs,
@ -298,6 +299,8 @@ struct NnApi {
* Available since API level 28.
*
* See {@link ANeuralNetworksModel} for information on multithreaded usage.
*
* @return ANEURALNETWORKS_NO_ERROR if successful.
*/
int (*ANeuralNetworksModel_relaxComputationFloat32toFloat16)(
ANeuralNetworksModel* model, bool allow);