Returns the set of files matching one or more glob patterns.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.io.matching_files(
pattern: Annotated[Any, _atypes.String], name=None
) -> Annotated[Any, _atypes.String]
Note that this routine only supports wildcard characters in the basename portion of the pattern, not in the directory portion. Note also that the order of filenames returned is deterministic.
Args | |
---|---|
pattern
|
A Tensor of type string .
Shell wildcard pattern(s). Scalar or vector of type string.
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type string .
|