Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.raw_ops.Cast

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.