Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h5992 typedef struct ANeuralNetworksModel ANeuralNetworksModel; typedef
6738 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
6768 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model,
7120 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __INTRODUCED_IN(27);
7135 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __INTRODUCED_IN(27);
7155 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) __INTRODUCED_IN(27);
7207 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
7245 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index,
7270 ANeuralNetworksModel* model, int32_t index,
7314 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index,
[all …]
DNeuralNetworksExtensions.h71 int ANeuralNetworksModel_getExtensionOperandType(ANeuralNetworksModel* model,
90 int ANeuralNetworksModel_getExtensionOperationType(ANeuralNetworksModel* model,
109 int ANeuralNetworksModel_setOperandExtensionData(ANeuralNetworksModel* model, int32_t index,
DNeuralNetworksWrapper.h298 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
303 ANeuralNetworksModel* mModel = nullptr;
/frameworks/ml/nn/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()
DTestValidation.cpp113 ANeuralNetworksModel* mModel = nullptr;
310 void addScalarOperand(ANeuralNetworksModel* model) { in addScalarOperand()
316 void addTensorOperand(ANeuralNetworksModel* model, bool dimensionsUnspecified) { in addTensorOperand()
326 void createModel(ANeuralNetworksModel* model, bool dimensionsUnspecified, bool isValid) { in createModel()
376 ANeuralNetworksModel* mModel = nullptr;
380 ANeuralNetworksModel* mModelDynamic = nullptr;
384 ANeuralNetworksModel* mInitModel = nullptr;
386 ANeuralNetworksModel* mDeinitModel = nullptr;
731 ANeuralNetworksModel* valueModel = nullptr; in TEST_F()
2935 static std::pair<ANeuralNetworksModel*, ANeuralNetworksCompilation*>
[all …]
DTestOperandExtraParams.cpp126 ANeuralNetworksModel* mModel = nullptr;
DTestValidateOperations.cpp79 std::optional<const ANeuralNetworksModel*> valueModel;
355 void setInputOperandValueFromModel(int32_t index, const ANeuralNetworksModel* valueModel) { in setInputOperandValueFromModel()
363 ANeuralNetworksModel* model = nullptr; in addOperation()
4466 ANeuralNetworksModel* makeIdentityModel(const ANeuralNetworksOperandType* type) { in makeIdentityModel()
4467 ANeuralNetworksModel* model = nullptr; in makeIdentityModel()
4483 void testIf(const std::vector<uint32_t>& outerDims, const ANeuralNetworksModel* thenModel, in testIf()
4484 const ANeuralNetworksModel* elseModel, bool testMutations) { in testIf()
4510 ANeuralNetworksModel* thenModel = makeIdentityModel(&thenDataType); in testIf()
4511 ANeuralNetworksModel* elseModel = makeIdentityModel(&elseDataType); in testIf()
4545 ANeuralNetworksModel* makeWhileCondModel(const ANeuralNetworksOperandType* dataType, in makeWhileCondModel()
[all …]
DTestNeuralNetworksWrapper.h230 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle()
236 ANeuralNetworksModel* mModel = nullptr;
DTestIntrospectionControl.cpp167 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected()
176 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution()
1229 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F()
DTestValidateModel.cpp29 ANeuralNetworksModel* model = nullptr; in TEST_F()
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp702 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices()
750 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model, in ANeuralNetworksCompilation_createForDevices()
1031 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) { in ANeuralNetworksModel_create()
1043 *model = reinterpret_cast<ANeuralNetworksModel*>(m); in ANeuralNetworksModel_create()
1047 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) { in ANeuralNetworksModel_free()
1054 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) { in ANeuralNetworksModel_finish()
1064 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand()
1075 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValue()
1086 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromMemory()
1099 int ANeuralNetworksModel_setOperandValueFromModel(ANeuralNetworksModel* model, int32_t index, in ANeuralNetworksModel_setOperandValueFromModel()
[all …]
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t386 * ANeuralNetworksModel is an opaque type that contains a description of the
418 typedef struct ANeuralNetworksModel ANeuralNetworksModel;
1164 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
1184 * @param model The {@link ANeuralNetworksModel} to be compiled.
1194 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model,
1521 * Create an empty {@link ANeuralNetworksModel}.
1541 * @param model The {@link ANeuralNetworksModel} to be created.
1546 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __INTRODUCED_IN(27);
1554 * See {@link ANeuralNetworksModel} for information on multithreaded usage.
1561 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __INTRODUCED_IN(27);
[all …]