函数:set_aipp_input_format
产品支持情况
| 
          产品  | 
        
          是否支持  | 
       
|---|---|
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
使用说明
| 
          C函数原型  | 
        
          aclError aclmdlSetAIPPInputFormat(aclmdlAIPP *aippParmsSet, aclAippInputFormat inputFormat)  | 
       
|---|---|
| 
          Python函数  | 
        
          ret = acl.mdl.set_aipp_input_format(aipp_parms_set, input_format)  | 
       
| 
          函数功能  | 
        |
| 
          输入说明  | 
        
          aipp_parms_set:int,动态AIPP参数对象的指针地址,需提前调用acl.mdl.create_aipp接口创建aclmdlAIPP类型的数据。 input_format:int,表示原始输入图像的格式,具体请参见aclAippInputFormat。  | 
       
| 
          返回值说明  | 
        
          ret:int,错误码 
  | 
       
| 
          约束说明  | 
        
          无  | 
       
     父主题: 设置动态AIPP参数