tf.compat.v1.to_int64

Casts a tensor to type int64. (deprecated)