record_defaults = [tf.constant([], dtype=tf.int32), tf.constant([], dtype=
    tf.int32), tf.constant([], dtype=tf.int32), tf.constant([], dtype=tf.
    float32)]
col0, col1, col2, col3 = tf.decode_csv(value, record_defaults=record_defauts)
assert col0.dtype == tf.int32
assert col1.dtype == tf.int32
assert col2.dtype == tf.int32
assert col3.dtype == tf.float32
How do I change the dtype in TensorFlow for a csv file?