tf.io.read_file——tf2.1 Document

参考自tf2.1官方文档:
https://www.tensorflow.org/api_docs/python/tf/io/read_file


Reads and outputs the entire contents of the input filename.
该函数用于读取并输出输入文件名的全部内容。

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



Args:

  • filename: A Tensor of type string.
  • filename:一个string类型的张量。
  • name: A name for the operation (optional).
  • name: 该操作的名字(可选)



Returns:

  • A Tensor of type string.
  • 返回一个string类型的张量
原创文章 66 获赞 14 访问量 9085

猜你喜欢

转载自blog.csdn.net/HaoZiHuang/article/details/105222770