tf.compat.v1.to_float

Casts a tensor to type float32. (deprecated)