TensorFlow函数教程:tf.io.matching_files

2019-02-20 17:43 更新

tf.io.matching_files函数

别名:

  • tf.io.matching_files
  • tf.matching_files
tf.io.matching_files(
    pattern,
    name=None
)

返回与一个或多个glob模式匹配的文件集。

请注意,此例程仅支持模式的basename部分中的通配符,而不支持目录部分中的通配符。 另请注意,返回的文件名顺序可能是不确定的。

参数:

  • pattern:一个string类型的Tensor。Shell通配符模式。字符串类型的标量或向量。
  • name:操作的名称(可选)。

返回:

一个string类型的Tensor。

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy