SetDataType
函数功能
设置aclTensor的数据类型。
函数原型
void SetDataType(op::DataType dataType)
返回值说明
无
约束说明
无
调用示例
1 2 3 4 |
// 将input的数据类型设置为int64 void Func(const aclTensor *input) { input->SetDataType(DT_INT64); } |
父主题: common_types