/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
D | ExecutorTest.cpp | 97 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 98 auto quantParam = operandTem.quantParam; 99 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 100 quantParam, operandTem.type}; 102 … OH_NNExecutor_SetInput(nullptr, inputIndex, &operand, operandTem.data, operandTem.length)); 125 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 126 auto quantParam = operandTem.quantParam; 127 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 128 quantParam, operandTem.type}; 130 … OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); [all …]
|
D | MemoryTest.cpp | 537 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 538 auto quantParam = operandTem.quantParam; 539 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 540 quantParam, operandTem.type}; 562 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 563 auto quantParam = operandTem.quantParam; 564 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 565 quantParam, operandTem.type}; 608 const OHNNOperandTest &operandTem = graphArgs.operands[2]; variable 609 auto quantParam = operandTem.quantParam; [all …]
|
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
D | ExecutorTest.cpp | 97 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 98 auto quantParam = operandTem.quantParam; 99 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 100 quantParam, operandTem.type}; 102 … OH_NNExecutor_SetInput(nullptr, inputIndex, &operand, operandTem.data, operandTem.length)); 125 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 126 auto quantParam = operandTem.quantParam; 127 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 128 quantParam, operandTem.type}; 130 … OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); [all …]
|
D | MemoryTest.cpp | 537 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 538 auto quantParam = operandTem.quantParam; 539 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 540 quantParam, operandTem.type}; 562 const OHNNOperandTest &operandTem = graphArgs.operands[0]; variable 563 auto quantParam = operandTem.quantParam; 564 …OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.d… 565 quantParam, operandTem.type}; 608 const OHNNOperandTest &operandTem = graphArgs.operands[2]; variable 609 auto quantParam = operandTem.quantParam; [all …]
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
D | nnrt_utils.cpp | 35 const OHNNOperandTest &operandTem = graphArgs.operands[j][i]; in BuildMultiOpGraph() local 36 auto quantParam = operandTem.quantParam; in BuildMultiOpGraph() 37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph() 38 operandTem.shape.data(), quantParam, operandTem.type}; in BuildMultiOpGraph() 46 ret = OH_NNModel_SetTensorData(model, opCnt, operandTem.data, operandTem.length); in BuildMultiOpGraph() 84 const OHNNOperandTest &operandTem = graphArgs.operands[i]; in BuildSingleOpGraph() local 85 auto quantParam = operandTem.quantParam; in BuildSingleOpGraph() 86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph() 87 operandTem.shape.data(), quantParam, operandTem.type}; in BuildSingleOpGraph() 96 ret = OH_NNModel_SetTensorData(model, i, operandTem.data, operandTem.length); in BuildSingleOpGraph() [all …]
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
D | nnrt_utils.cpp | 35 const OHNNOperandTest &operandTem = graphArgs.operands[j][i]; in BuildMultiOpGraph() local 36 auto quantParam = operandTem.quantParam; in BuildMultiOpGraph() 37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph() 38 operandTem.shape.data(), quantParam, operandTem.type}; in BuildMultiOpGraph() 46 ret = OH_NNModel_SetTensorData(model, opCnt, operandTem.data, operandTem.length); in BuildMultiOpGraph() 84 const OHNNOperandTest &operandTem = graphArgs.operands[i]; in BuildSingleOpGraph() local 85 auto quantParam = operandTem.quantParam; in BuildSingleOpGraph() 86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph() 87 operandTem.shape.data(), quantParam, operandTem.type}; in BuildSingleOpGraph() 96 ret = OH_NNModel_SetTensorData(model, i, operandTem.data, operandTem.length); in BuildSingleOpGraph() [all …]
|
/test/xts/acts/ai/nncore/common/ |
D | nncore_utils.cpp | 84 const OHNNOperandTest &operandTem = graphArgs.operands[j][i]; in BuildMultiOpGraph() local 85 NN_TensorDesc* tensorDesc = createTensorDesc(operandTem.shape.data(), in BuildMultiOpGraph() 86 (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph() 87 operandTem.dataType, operandTem.format); in BuildMultiOpGraph() 93 ret = OH_NNModel_SetTensorType(model, i, operandTem.type); in BuildMultiOpGraph() 100 ret = OH_NNModel_SetTensorData(model, opCnt, operandTem.data, operandTem.length); in BuildMultiOpGraph() 157 const OHNNOperandTest &operandTem = graphArgs.operands[i]; in BuildSingleOpGraph() local 158 NN_TensorDesc* tensorDesc = createTensorDesc(operandTem.shape.data(), in BuildSingleOpGraph() 159 (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph() 160 operandTem.dataType, operandTem.format); in BuildSingleOpGraph() [all …]
|