Home
last modified time | relevance | path

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

/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DModelTest.cpp239 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable
240 graphArgs.paramIndices.size()};
246 …OH_NNModel_AddOperation(nullptr, graphArgs.operationType, &paramIndices, &inputIndices, &outputInd…
286 OH_NN_UInt32Array paramIndices{nullptr, graphArgs.paramIndices.size()}; variable
292 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &inputIndices, &outputIndic…
310 OH_NN_UInt32Array paramIndices{&paramIndicesValue, graphArgs.paramIndices.size()}; variable
316 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &inputIndices, &outputIndic…
333 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), 0}; variable
339 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &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/
DModelTest.cpp239 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), variable
240 graphArgs.paramIndices.size()};
246 …OH_NNModel_AddOperation(nullptr, graphArgs.operationType, &paramIndices, &inputIndices, &outputInd…
286 OH_NN_UInt32Array paramIndices{nullptr, graphArgs.paramIndices.size()}; variable
292 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &inputIndices, &outputIndic…
310 OH_NN_UInt32Array paramIndices{&paramIndicesValue, graphArgs.paramIndices.size()}; variable
316 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &inputIndices, &outputIndic…
333 OH_NN_UInt32Array paramIndices{const_cast<uint32_t *>(graphArgs.paramIndices.data()), 0}; variable
339 …OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &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/
Dmodel.h39 .paramIndices = {2},
63 .paramIndices = {1, 2, 3, 4},
84 .paramIndices = {2},
100 .paramIndices = {{2}, {5}},
Dnnrt_utils.cpp44 … 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], &paramIndices, &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, &paramIndices, &inputIndices, in BuildSingleOpGraph()
Dnnrt_utils.h43 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/
Dmodel.h39 .paramIndices = {2},
63 .paramIndices = {1, 2, 3, 4},
84 .paramIndices = {2},
100 .paramIndices = {{2}, {5}},
Dnnrt_utils.cpp44 … 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], &paramIndices, &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, &paramIndices, &inputIndices, in BuildSingleOpGraph()
Dnnrt_utils.h43 std::vector<uint32_t> paramIndices; member
54 std::vector<std::vector<uint32_t>> paramIndices; member
/test/xts/acts/ai/nncore/common/
Dnncore_utils.h44 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}},
Dnncore_utils.cpp98 … 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], &paramIndices, &inputIndices, in BuildMultiOpGraph()
125 auto paramIndices = TransformUInt32Array(graphArgs.paramIndices); in SingleModelBuildEndStep() local
129 ret = OH_NNModel_AddOperation(model, graphArgs.operationType, &paramIndices, &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/
Dhdi_nnrt_test_utils.cpp47 OH_NN_UInt32Array paramIndices{&paramIndicesValue, 1}; in BuildAddGraph() local
60 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIndices)); in BuildAddGraph()
86 OH_NN_UInt32Array paramIndices{&paramIndicesValue, 1}; in BuildAddGraphDynamic() local
99 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIndices)); in BuildAddGraphDynamic()
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
Dhdi_nnrt_test_utils.cpp47 OH_NN_UInt32Array paramIndices{&paramIndicesValue, 1}; in BuildAddGraph() local
60 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIndices)); in BuildAddGraph()
86 OH_NN_UInt32Array paramIndices{&paramIndicesValue, 1}; in BuildAddGraphDynamic() local
99 … OH_NNModel_AddOperation(*model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIndices)); in BuildAddGraphDynamic()