函数:get_aipp_type
产品支持情况
| 
          产品  | 
        
          是否支持  | 
       
|---|---|
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
使用说明
| 
          C函数原型  | 
        
          aclError aclmdlGetAippType(uint32_t modelId, size_t index, aclmdlInputAippType *type, size_t *dynamicAttachedDataIndex)  | 
       
|---|---|
| 
          Python函数  | 
        
          type, dynamic_attached_data_index, ret = acl.mdl.get_aipp_type(model_id, index)  | 
       
| 
          函数功能  | 
        
          获取指定模型的指定输入所支持的AIPP类型(动态AIPP或静态AIPP)及动态AIPP输入对应的index值。  | 
       
| 
          输入说明  | 
        
          model_id:int,指定模型的ID。 可在以下接口成功加载模型后获取到模型ID。 
 index:int,模型中输入的index。  | 
       
| 
          返回值说明  | 
        
          type:int,表示指定模型输入的AIPP类型,具体请参见aclmdlInputAippType。 dynamic_attached_data_index:int,返回信息。 
 ret:int,错误码。 
  | 
       
| 
          约束说明  | 
        
          无  | 
       
| 
          参考资源  |