Cast¶
The operator casts the elements of a given input tensor to a data type specified by the ‘to’ argument and returns an output tensor of the same size in the converted type. The ‘to’ argument must be one of the data types specified in the ‘DataType’ enum field in the TensorProto message. Casting from s…
Abstract Signature:
Cast(input, round_mode: str, saturate: int, to: int)