/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
D | ModelTest.cpp | 239 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable 240 graphArgs.paramIndices.size()}; 246 …OH_NNModel_AddOperation(nullptr, graphArgs.operationType, ¶mIndices, &inputIndices, &outputInd… 286 OH_NN_UInt32Array paramIndices{nullptr, graphArgs.paramIndices.size()}; variable 292 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 310 OH_NN_UInt32Array paramIndices{¶mIndicesValue, graphArgs.paramIndices.size()}; variable 316 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 333 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), 0}; variable 339 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 356 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable [all …]
|
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
D | ModelTest.cpp | 239 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable 240 graphArgs.paramIndices.size()}; 246 …OH_NNModel_AddOperation(nullptr, graphArgs.operationType, ¶mIndices, &inputIndices, &outputInd… 286 OH_NN_UInt32Array paramIndices{nullptr, graphArgs.paramIndices.size()}; variable 292 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 310 OH_NN_UInt32Array paramIndices{¶mIndicesValue, graphArgs.paramIndices.size()}; variable 316 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 333 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), 0}; variable 339 …OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, &outputIndic… 356 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable [all …]
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
D | model.h | 39 .paramIndices = {2}, 63 .paramIndices = {1, 2, 3, 4}, 84 .paramIndices = {2}, 100 .paramIndices = {{2}, {5}},
|
D | nnrt_utils.cpp | 44 … if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph() 45 graphArgs.paramIndices[j].end()) { in BuildMultiOpGraph() 54 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices[j]); in BuildMultiOpGraph() local 58 … ret = OH_NNModel_AddOperation(model, graphArgs.operationTypes[j], ¶mIndices, &inputIndices, in BuildMultiOpGraph() 94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph() 95 graphArgs.paramIndices.end()) { in BuildSingleOpGraph() 103 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices); in BuildSingleOpGraph() local 107 ret = OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, in BuildSingleOpGraph()
|
D | nnrt_utils.h | 43 std::vector<uint32_t> paramIndices; member 54 std::vector<std::vector<uint32_t>> paramIndices; member
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
D | model.h | 39 .paramIndices = {2}, 63 .paramIndices = {1, 2, 3, 4}, 84 .paramIndices = {2}, 100 .paramIndices = {{2}, {5}},
|
D | nnrt_utils.cpp | 44 … if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph() 45 graphArgs.paramIndices[j].end()) { in BuildMultiOpGraph() 54 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices[j]); in BuildMultiOpGraph() local 58 … ret = OH_NNModel_AddOperation(model, graphArgs.operationTypes[j], ¶mIndices, &inputIndices, in BuildMultiOpGraph() 94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph() 95 graphArgs.paramIndices.end()) { in BuildSingleOpGraph() 103 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices); in BuildSingleOpGraph() local 107 ret = OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, in BuildSingleOpGraph()
|
D | nnrt_utils.h | 43 std::vector<uint32_t> paramIndices; member 54 std::vector<std::vector<uint32_t>> paramIndices; member
|
/test/xts/acts/ai/nncore/common/ |
D | nncore_utils.h | 44 std::vector<uint32_t> paramIndices; member 55 std::vector<std::vector<uint32_t>> paramIndices; member 85 .paramIndices = {2}, 104 .paramIndices = {2}, 125 .paramIndices = {2}, 141 .paramIndices = {{2}, {5}},
|
D | nncore_utils.cpp | 98 … if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph() 99 graphArgs.paramIndices[j].end()) { in BuildMultiOpGraph() 108 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices[j]); in BuildMultiOpGraph() local 111 … ret = OH_NNModel_AddOperation(model, graphArgs.operationTypes[j], ¶mIndices, &inputIndices, in BuildMultiOpGraph() 125 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices); in SingleModelBuildEndStep() local 129 ret = OH_NNModel_AddOperation(model, graphArgs.operationType, ¶mIndices, &inputIndices, in SingleModelBuildEndStep() 171 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph() 172 graphArgs.paramIndices.end()) { in BuildSingleOpGraph() 212 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraphWithQuantParams() 213 graphArgs.paramIndices.end()) { in BuildSingleOpGraphWithQuantParams()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
D | hdi_nnrt_test_utils.cpp | 47 OH_NN_UInt32Array paramIndices{¶mIndicesValue, 1}; in BuildAddGraph() local 60 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIndices)); in BuildAddGraph() 86 OH_NN_UInt32Array paramIndices{¶mIndicesValue, 1}; in BuildAddGraphDynamic() local 99 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIndices)); in BuildAddGraphDynamic()
|
/test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
D | hdi_nnrt_test_utils.cpp | 47 OH_NN_UInt32Array paramIndices{¶mIndicesValue, 1}; in BuildAddGraph() local 60 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIndices)); in BuildAddGraph() 86 OH_NN_UInt32Array paramIndices{¶mIndicesValue, 1}; in BuildAddGraphDynamic() local 99 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIndices)); in BuildAddGraphDynamic()
|