Converts the elements of a tensor to a different data type. Returns the input unchanged if it already has the target type.
Arguments
- operand
(
tensorish)
Operand.- dtype
(
character(1)|stablehlo::TensorDataType)
Data type.
Value
tensorish
Has the given dtype and the same shape as operand.
See also
nvl_convert() for the underlying primitive.