Home
last modified time | relevance | path

Searched refs:ANeuralNetworksModel (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h496 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
526 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model,
889 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __NNAPI_INTRODUCED_IN(27);
904 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __NNAPI_INTRODUCED_IN(27);
924 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) __NNAPI_INTRODUCED_IN(27);
976 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
1015 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index,
1039 ANeuralNetworksModel* model, int32_t index,
1080 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index,
1110 int ANeuralNetworksModel_setOperandValueFromModel(ANeuralNetworksModel* model, int32_t index,
[all …]
DNeuralNetworksExtensions.h69 int ANeuralNetworksModel_getExtensionOperandType(ANeuralNetworksModel* model,
88 int ANeuralNetworksModel_getExtensionOperationType(ANeuralNetworksModel* model,
107 int ANeuralNetworksModel_setOperandExtensionData(ANeuralNetworksModel* model, int32_t index,
DNeuralNetworksTypes.h6221 typedef struct ANeuralNetworksModel ANeuralNetworksModel; typedef
DNeuralNetworksWrapper.h371 ANeuralNetworksModel* getHandle() const { return mModel; }
381 ANeuralNetworksModel* mModel = nullptr;
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h653 int (*ANeuralNetworksCompilation_createForDevices)(ANeuralNetworksModel* model,
1098 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model,
1107 int (*ANeuralNetworksModel_addOperation)(ANeuralNetworksModel* model,
1118 int (*ANeuralNetworksModel_create)(ANeuralNetworksModel** model);
1126 int (*ANeuralNetworksModel_finish)(ANeuralNetworksModel* model);
1134 void (*ANeuralNetworksModel_free)(ANeuralNetworksModel* model);
1142 int (*ANeuralNetworksModel_getExtensionOperandType)(ANeuralNetworksModel* model,
1153 int (*ANeuralNetworksModel_getExtensionOperationType)(ANeuralNetworksModel* model,
1165 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
1174 int (*ANeuralNetworksModel_identifyInputsAndOutputs)(ANeuralNetworksModel* model,
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestFree.cpp30 ANeuralNetworksModel* createUnfinishedModel() { in createUnfinishedModel()
31 ANeuralNetworksModel* model = nullptr; in createUnfinishedModel()
51 ANeuralNetworksModel* createFinishedModel() { in createFinishedModel()
52 ANeuralNetworksModel* const model = createUnfinishedModel(); in createFinishedModel()
84 ANeuralNetworksModel* const model = createUnfinishedModel(); in TEST()
89 ANeuralNetworksModel* const model = createFinishedModel(); in TEST()
99 ANeuralNetworksModel* const model = createFinishedModel(); in TEST()
113 ANeuralNetworksModel* const model = createFinishedModel(); in TEST()
DTestValidateOperations.cpp78 std::optional<const ANeuralNetworksModel*> valueModel;
354 void setInputOperandValueFromModel(int32_t index, const ANeuralNetworksModel* valueModel) { in setInputOperandValueFromModel()
362 ANeuralNetworksModel* model = nullptr; in addOperation()
4533 ANeuralNetworksModel* makeIdentityModel(const ANeuralNetworksOperandType* type) { in makeIdentityModel()
4534 ANeuralNetworksModel* model = nullptr; in makeIdentityModel()
4550 void testIf(const std::vector<uint32_t>& outerDims, const ANeuralNetworksModel* thenModel, in testIf()
4551 const ANeuralNetworksModel* elseModel, bool testMutations) { in testIf()
4577 ANeuralNetworksModel* thenModel = makeIdentityModel(&thenDataType); in testIf()
4578 ANeuralNetworksModel* elseModel = makeIdentityModel(&elseDataType); in testIf()
4612 ANeuralNetworksModel* makeWhileCondModel(const ANeuralNetworksOperandType* dataType, in makeWhileCondModel()
[all …]
DTestValidation.cpp124 ANeuralNetworksModel* mModel = nullptr;
327 void addScalarOperand(ANeuralNetworksModel* model) { in addScalarOperand()
333 void addTensorOperand(ANeuralNetworksModel* model, bool dimensionsUnspecified) { in addTensorOperand()
343 void createModel(ANeuralNetworksModel* model, bool dimensionsUnspecified, bool isValid) { in createModel()
395 ANeuralNetworksModel* mModel = nullptr;
399 ANeuralNetworksModel* mModelDynamic = nullptr;
403 ANeuralNetworksModel* mInitModel = nullptr;
405 ANeuralNetworksModel* mDeinitModel = nullptr;
758 ANeuralNetworksModel* valueModel = nullptr; in TEST_F()
3526 static std::pair<ANeuralNetworksModel*, ANeuralNetworksCompilation*>
[all …]
DTestOperandExtraParams.cpp127 ANeuralNetworksModel* mModel = nullptr;
DTestNeuralNetworksWrapper.h236 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
242 ANeuralNetworksModel* mModel = nullptr;
DTestIntrospectionControl.cpp173 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected()
182 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution()
1431 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F()
DTestValidateModel.cpp29 ANeuralNetworksModel* model = nullptr; in TEST_F()
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp744 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices()
792 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model, in ANeuralNetworksCompilation_createForDevices()
1085 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) { in ANeuralNetworksModel_create()
1097 *model = reinterpret_cast<ANeuralNetworksModel*>(m); in ANeuralNetworksModel_create()
1101 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) { in ANeuralNetworksModel_free()
1108 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) { in ANeuralNetworksModel_finish()
1118 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand()
1129 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValue()
1140 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromMemory()
1153 int ANeuralNetworksModel_setOperandValueFromModel(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromModel()
[all …]
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h262 void setOperandValueFromModel(uint32_t index, ANeuralNetworksModel* value) { in setOperandValueFromModel()
324 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
335 ANeuralNetworksModel* mModel = nullptr;
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t372 * ANeuralNetworksModel is an opaque type that contains a description of the
404 typedef struct ANeuralNetworksModel ANeuralNetworksModel;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp46 ANeuralNetworksModel* convertSubgraphFromHAL( in convertSubgraphFromHAL()