Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h329 int (*ANeuralNetworksCompilation_createForDevices)(ANeuralNetworksModel* model,
774 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model,
783 int (*ANeuralNetworksModel_addOperation)(ANeuralNetworksModel* model,
794 int (*ANeuralNetworksModel_create)(ANeuralNetworksModel** model);
802 int (*ANeuralNetworksModel_finish)(ANeuralNetworksModel* model);
810 void (*ANeuralNetworksModel_free)(ANeuralNetworksModel* model);
818 int (*ANeuralNetworksModel_getExtensionOperandType)(ANeuralNetworksModel* model,
829 int (*ANeuralNetworksModel_getExtensionOperationType)(ANeuralNetworksModel* model,
841 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
850 int (*ANeuralNetworksModel_identifyInputsAndOutputs)(ANeuralNetworksModel* model,
[all …]
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h493 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
523 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model,
884 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __NNAPI_INTRODUCED_IN(27);
899 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __NNAPI_INTRODUCED_IN(27);
919 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) __NNAPI_INTRODUCED_IN(27);
971 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
1010 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index,
1034 ANeuralNetworksModel* model, int32_t index,
1075 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index,
1105 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.h6029 typedef struct ANeuralNetworksModel ANeuralNetworksModel; typedef
DNeuralNetworksWrapper.h358 ANeuralNetworksModel* getHandle() const { return mModel; }
368 ANeuralNetworksModel* mModel = nullptr;
/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()
4465 ANeuralNetworksModel* makeIdentityModel(const ANeuralNetworksOperandType* type) { in makeIdentityModel()
4466 ANeuralNetworksModel* model = nullptr; in makeIdentityModel()
4482 void testIf(const std::vector<uint32_t>& outerDims, const ANeuralNetworksModel* thenModel, in testIf()
4483 const ANeuralNetworksModel* elseModel, bool testMutations) { in testIf()
4509 ANeuralNetworksModel* thenModel = makeIdentityModel(&thenDataType); in testIf()
4510 ANeuralNetworksModel* elseModel = makeIdentityModel(&elseDataType); in testIf()
4544 ANeuralNetworksModel* makeWhileCondModel(const ANeuralNetworksOperandType* dataType, in makeWhileCondModel()
[all …]
DTestValidation.cpp117 ANeuralNetworksModel* mModel = nullptr;
314 void addScalarOperand(ANeuralNetworksModel* model) { in addScalarOperand()
320 void addTensorOperand(ANeuralNetworksModel* model, bool dimensionsUnspecified) { in addTensorOperand()
330 void createModel(ANeuralNetworksModel* model, bool dimensionsUnspecified, bool isValid) { in createModel()
382 ANeuralNetworksModel* mModel = nullptr;
386 ANeuralNetworksModel* mModelDynamic = nullptr;
390 ANeuralNetworksModel* mInitModel = nullptr;
392 ANeuralNetworksModel* mDeinitModel = nullptr;
737 ANeuralNetworksModel* valueModel = nullptr; in TEST_F()
3453 static std::pair<ANeuralNetworksModel*, ANeuralNetworksCompilation*>
[all …]
DTestNeuralNetworksWrapper.h234 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
240 ANeuralNetworksModel* mModel = nullptr;
DTestOperandExtraParams.cpp127 ANeuralNetworksModel* mModel = nullptr;
DTestIntrospectionControl.cpp172 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected()
181 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution()
1430 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F()
DTestValidateModel.cpp29 ANeuralNetworksModel* model = nullptr; in TEST_F()
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp727 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices()
775 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model, in ANeuralNetworksCompilation_createForDevices()
1056 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) { in ANeuralNetworksModel_create()
1068 *model = reinterpret_cast<ANeuralNetworksModel*>(m); in ANeuralNetworksModel_create()
1072 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) { in ANeuralNetworksModel_free()
1079 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) { in ANeuralNetworksModel_finish()
1089 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand()
1100 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValue()
1111 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromMemory()
1124 int ANeuralNetworksModel_setOperandValueFromModel(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromModel()
[all …]
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h260 void setOperandValueFromModel(uint32_t index, ANeuralNetworksModel* value) { in setOperandValueFromModel()
322 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
333 ANeuralNetworksModel* mModel = nullptr;
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t355 * ANeuralNetworksModel is an opaque type that contains a description of the
387 typedef struct ANeuralNetworksModel ANeuralNetworksModel;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp46 ANeuralNetworksModel* convertSubgraphFromHAL( in convertSubgraphFromHAL()