tf.raw_ops.Cast

robots: noindex

Cast x of type SrcT to y of DstT.

x A Tensor.
DstT A tf.DType.
Truncate An optional bool. Defaults to False.
name A name for the operation (optional).

A Tensor of type DstT.