tf.io.read_file

TensorFlow 1 version

Reads and outputs the entire contents of the input filename.

tf.io.read_file(
    filename,
    name=None
)

Used in the guide:

Used in the tutorials:

Args:

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

Returns:

A Tensor of type string.

Compat aliases