tf.io.read_file

Reads and outputs the entire contents of the input filename.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.io.read_file, tf.compat.v1.read_file

filename A Tensor of type string.
name A name for the operation (optional).

A Tensor of type string.