Lines Matching refs:mModel
259 NNAPI_CALL(ANeuralNetworksModel_create(&mModel));
262 if (mModel) {
263 NNAPI_CALL(ANeuralNetworksModel_free(mModel));
279 if (mModel) {
280 NNAPI_CALL(ANeuralNetworksModel_free(mModel));
282 mModel = other.mModel;
285 other.mModel = nullptr;
294 auto result = static_cast<Result>(NNAPI_CALL(ANeuralNetworksModel_finish(mModel)));
305 if (NNAPI_CALL(ANeuralNetworksModel_addOperand(mModel, &(type->operandType))) !=
311 mModel, mNextOperandId, &type->channelQuant.value().params)) !=
320 if (NNAPI_CALL(ANeuralNetworksModel_setOperandValue(mModel, index, buffer, length)) !=
329 mModel, index, memory->get(), offset, length)) != ANEURALNETWORKS_NO_ERROR) {
337 mModel, index, model->getHandle())) != ANEURALNETWORKS_NO_ERROR) {
348 mModel, type, static_cast<uint32_t>(inputs.size()), inputs.data(),
357 mModel, static_cast<uint32_t>(inputs.size()), inputs.data(),
365 if (NNAPI_CALL(ANeuralNetworksModel_relaxComputationFloat32toFloat16(mModel, isRelax)) ==
371 ANeuralNetworksModel* getHandle() const { return mModel; }
381 ANeuralNetworksModel* mModel = nullptr;