1. tf.to_float () # convert tensor type float32
2. tf.to_int32 () # convert to int32 type tensor
Etc., it is to be converted into a certain type tensor.
1. tf.to_float () # convert tensor type float32
2. tf.to_int32 () # convert to int32 type tensor
Etc., it is to be converted into a certain type tensor.