📅  最后修改于: 2022-03-11 14:56:53.151000             🧑  作者: Mango
Casts a tensor to a new type.
tf.cast(
x, dtype, name=None
)
The operation casts x (in case of Tensor) or x.values
(in case of SparseTensor or IndexedSlices) to dtype.