Searched refs:astSeg (Results 1 - 7 of 7) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/ |
H A D | sample_comm_nnie.c | 46 if (pstNnieParam->pstModel->astSeg[i].enNetType == SVP_NNIE_NET_TYPE_ROI) {
in SAMPLE_SVP_NNIE_FillForwardInfo() 48 pstNnieParam->astForwardWithBboxCtrl[i].u32SrcNum = pstNnieParam->pstModel->astSeg[i].u16SrcNum;
in SAMPLE_SVP_NNIE_FillForwardInfo() 49 pstNnieParam->astForwardWithBboxCtrl[i].u32DstNum = pstNnieParam->pstModel->astSeg[i].u16DstNum;
in SAMPLE_SVP_NNIE_FillForwardInfo() 58 } else if ((pstNnieParam->pstModel->astSeg[i].enNetType == SVP_NNIE_NET_TYPE_CNN) ||
in SAMPLE_SVP_NNIE_FillForwardInfo() 59 (pstNnieParam->pstModel->astSeg[i].enNetType == SVP_NNIE_NET_TYPE_RECURRENT)) {
in SAMPLE_SVP_NNIE_FillForwardInfo() 61 pstNnieParam->astForwardCtrl[i].u32SrcNum = pstNnieParam->pstModel->astSeg[i].u16SrcNum;
in SAMPLE_SVP_NNIE_FillForwardInfo() 62 pstNnieParam->astForwardCtrl[i].u32DstNum = pstNnieParam->pstModel->astSeg[i].u16DstNum;
in SAMPLE_SVP_NNIE_FillForwardInfo() 72 for (j = 0; j < pstNnieParam->pstModel->astSeg[i].u16SrcNum; j++) {
in SAMPLE_SVP_NNIE_FillForwardInfo() 74 if (pstNnieParam->pstModel->astSeg[i].astSrcNode[j].enType == SVP_BLOB_TYPE_SEQ_S32) {
in SAMPLE_SVP_NNIE_FillForwardInfo() 75 pstNnieParam->astSegData[i].astSrc[j].enType = pstNnieParam->pstModel->astSeg[ in SAMPLE_SVP_NNIE_FillForwardInfo() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample/ |
H A D | sample_nnie.c | 134 for (i = 0; i < pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].u16SrcNum; i++) {
in SAMPLE_SVP_NNIE_Forward() 135 for (j = 0; j < pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum; j++) {
in SAMPLE_SVP_NNIE_Forward() 136 if (strncmp(pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].astDstNode[j].szName,
in SAMPLE_SVP_NNIE_Forward() 137 pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].astSrcNode[i].szName,
in SAMPLE_SVP_NNIE_Forward() 144 SAMPLE_SVP_CHECK_EXPR_RET((j == pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum),
in SAMPLE_SVP_NNIE_Forward() 239 for (i = 0; i < pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].u16SrcNum; i++) {
in SAMPLE_SVP_NNIE_ForwardWithBbox() 240 for (j = 0; j < pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum; j++) {
in SAMPLE_SVP_NNIE_ForwardWithBbox() 241 if (strncmp(pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].astDstNode[j].szName,
in SAMPLE_SVP_NNIE_ForwardWithBbox() 242 pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].astSrcNode[i].szName,
in SAMPLE_SVP_NNIE_ForwardWithBbox() 249 SAMPLE_SVP_CHECK_EXPR_RET((j == pstNnieParam->pstModel->astSeg[pstInputDataId in SAMPLE_SVP_NNIE_ForwardWithBbox() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/ |
H A D | sample_ive_kcf.c | 1104 for (j = 0; j < pstNnieParam->pstModel->astSeg[0].u16DstNum; j++) {
in SAMPLE_IVE_Rfcn_SoftwareInit() 1105 if (strncmp(pstNnieParam->pstModel->astSeg[0].astDstNode[j].szName,
in SAMPLE_IVE_Rfcn_SoftwareInit() 1110 pstNnieParam->pstModel->astSeg[0].astDstNode[j].unShape.stWhc.u32Height;
in SAMPLE_IVE_Rfcn_SoftwareInit() 1112 pstNnieParam->pstModel->astSeg[0].astDstNode[j].unShape.stWhc.u32Width;
in SAMPLE_IVE_Rfcn_SoftwareInit() 1114 pstNnieParam->pstModel->astSeg[0].astDstNode[j].unShape.stWhc.u32Chn;
in SAMPLE_IVE_Rfcn_SoftwareInit() 1118 SAMPLE_SVP_CHECK_EXPR_RET((j == pstNnieParam->pstModel->astSeg[0].u16DstNum), HI_FAILURE,
in SAMPLE_IVE_Rfcn_SoftwareInit() 1343 for (i = 0; i < pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].u16SrcNum; i++) {
in SAMPLE_IVE_Forward() 1344 for (j = 0; j < pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum; j++) {
in SAMPLE_IVE_Forward() 1345 if (strncmp(pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].astDstNode[j].szName,
in SAMPLE_IVE_Forward() 1346 pstNnieParam->pstModel->astSeg[pstProcSegId in SAMPLE_IVE_Forward() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/ |
H A D | ai_infer_process.c | 92 HI_U32 u32ClassNum = pstCnnPara->pstModel->astSeg[0].astDstNode[0].unShape.stWhc.u32Width;
in SampleSvpNnieCnnSoftwareParaInit() 483 for (i = 0; i < pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].u16SrcNum; i++) {
in SAMPLE_SVP_NNIE_Forward() 484 for (j = 0; j < pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum; j++) {
in SAMPLE_SVP_NNIE_Forward() 485 if (strncmp(pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].astDstNode[j].szName,
in SAMPLE_SVP_NNIE_Forward() 486 pstNnieParam->pstModel->astSeg[pstProcSegIdx->u32SegIdx].astSrcNode[i].szName,
in SAMPLE_SVP_NNIE_Forward() 493 SAMPLE_SVP_CHECK_EXPR_RET((j == pstNnieParam->pstModel->astSeg[pstInputDataIdx->u32SegIdx].u16DstNum),
in SAMPLE_SVP_NNIE_Forward()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_nnie.h | 186 SVP_NNIE_SEG_S astSeg[SVP_NNIE_MAX_NET_SEG_NUM]; member
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_nnie.h | 186 SVP_NNIE_SEG_S astSeg[SVP_NNIE_MAX_NET_SEG_NUM]; member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample_nnie_software/ |
H A D | sample_svp_nnie_software.c | 2691 for (i = 0; i < pstNnieParam->pstModel->astSeg[0].u16DstNum / 2; i++) { in SAMPLE_SVP_NNIE_Ssd_GetResultTmpBuf() 3024 for (i = 0; i < pstNnieParam->pstModel->astSeg[0].u16DstNum; i++) { in SAMPLE_SVP_NNIE_Yolov3_GetResultTmpBuf() 3025 u64DstBlobSize = pstNnieParam->pstModel->astSeg[0].astDstNode[i].unShape.stWhc.u32Width * sizeof(HI_U32); in SAMPLE_SVP_NNIE_Yolov3_GetResultTmpBuf() 3029 u64DstBlobSize *= pstNnieParam->pstModel->astSeg[0].astDstNode[i].unShape.stWhc.u32Height; in SAMPLE_SVP_NNIE_Yolov3_GetResultTmpBuf() 3033 u64DstBlobSize *= pstNnieParam->pstModel->astSeg[0].astDstNode[i].unShape.stWhc.u32Chn; in SAMPLE_SVP_NNIE_Yolov3_GetResultTmpBuf()
|
Completed in 14 milliseconds