Convert type
Changes the data type of the input object.
Input
- input
- A scalar, a matrix or a tensor. Accepted types depend on outputType: a scalar output type requires a scalar input type etc.
- outputType
- The type of the output.
- roundingMode
- The way floating-point values are converted to integers.
Outputs
- output
- The converted value.
Inherits UnaryFunctionTool.
Type of the output scalar, matrix or tensor.
Rounding and clamping modes. Rounding takes an effect only when the the input type is a floating point type and the output type is an integral type. Clamping takes an effect only when the output type is an integral type.