aclGetDataType
函数功能
获取aclTensor的DataType。
函数原型
aclnnStatus aclGetDataType(const aclTensor *tensor, aclDataType *dataType)
参数说明
| 
          参数名  | 
        
          输入/输出  | 
        
          说明  | 
       
|---|---|---|
| 
          tensor  | 
        
          输入  | 
        
          输入的tensor。需提前调用aclCreateTensor接口创建aclTensor。  | 
       
| 
          dataType  | 
        
          输出  | 
        
          返回的aclTensor的数据类型。  | 
       
返回值说明
返回0表示成功,返回其他值表示失败。
     父主题: 基础接口
    
   