SetDataType
Function Usage
Sets the data type of an aclTensor.
Prototype
void SetDataType(op::DataType dataType)
Parameters
Returns
None
Constraints
None
Example
1 2 3 4 |
// Set the data type of the input to int64. void Func(const aclTensor *input) { input->SetDataType(DT_INT64); } |
Parent topic: common_types