Searched refs:ANeuralNetworksModel (Results 1 – 12 of 12) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestFree.cpp | 30 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()
|
D | TestValidation.cpp | 113 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; 726 ANeuralNetworksModel* valueModel = nullptr; in TEST_F() 2898 static std::pair<ANeuralNetworksModel*, ANeuralNetworksCompilation*> [all …]
|
D | TestOperandExtraParams.cpp | 126 ANeuralNetworksModel* mModel = nullptr;
|
D | TestValidateOperations.cpp | 79 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 …]
|
D | TestNeuralNetworksWrapper.h | 230 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle() 236 ANeuralNetworksModel* mModel = nullptr;
|
D | TestIntrospectionControl.cpp | 167 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected() 176 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution() 1229 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F()
|
D | TestValidateModel.cpp | 29 ANeuralNetworksModel* model = nullptr; in TEST_F()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 5991 typedef struct ANeuralNetworksModel ANeuralNetworksModel; typedef 6737 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 6767 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model, 7119 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __INTRODUCED_IN(27); 7134 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __INTRODUCED_IN(27); 7154 int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) __INTRODUCED_IN(27); 7206 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, 7244 int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index, 7269 ANeuralNetworksModel* model, int32_t index, 7313 int ANeuralNetworksModel_setOperandValueFromMemory(ANeuralNetworksModel* model, int32_t index, [all …]
|
D | NeuralNetworksExtensions.h | 71 int ANeuralNetworksModel_getExtensionOperandType(ANeuralNetworksModel* model, 90 int ANeuralNetworksModel_getExtensionOperationType(ANeuralNetworksModel* model, 109 int ANeuralNetworksModel_setOperandExtensionData(ANeuralNetworksModel* model, int32_t index,
|
D | NeuralNetworksWrapper.h | 297 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle() 302 ANeuralNetworksModel* mModel = nullptr;
|
/frameworks/ml/nn/runtime/ |
D | NeuralNetworks.cpp | 702 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/ |
D | NeuralNetworks.t | 385 * ANeuralNetworksModel is an opaque type that contains a description of the 417 typedef struct ANeuralNetworksModel ANeuralNetworksModel; 1163 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 1183 * @param model The {@link ANeuralNetworksModel} to be compiled. 1193 int ANeuralNetworksCompilation_createForDevices(ANeuralNetworksModel* model, 1520 * Create an empty {@link ANeuralNetworksModel}. 1540 * @param model The {@link ANeuralNetworksModel} to be created. 1545 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) __INTRODUCED_IN(27); 1553 * See {@link ANeuralNetworksModel} for information on multithreaded usage. 1560 void ANeuralNetworksModel_free(ANeuralNetworksModel* model) __INTRODUCED_IN(27); [all …]
|