tf.io.read_file

Aliases:

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

Defined in generated file: tensorflow/python/ops/gen_io_ops.py.

Reads and outputs the entire contents of the input filename.

Args:

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

Returns:

A Tensor of type string.