MatchingFiles

public final class MatchingFiles

Returns the set of files matching one or more glob patterns.

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.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TString>
asOutput()
Returns the symbolic handle of the tensor.
static MatchingFiles
create(Scope scope, Operand<TString> pattern)
Factory method to create a class wrapping a new MatchingFiles operation.
Output<TString>
filenames()
A vector of matching filenames.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "MatchingFiles"

Public Methods

public Output<TString> asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static MatchingFiles create (Scope scope, Operand<TString> pattern)

Factory method to create a class wrapping a new MatchingFiles operation.

Parameters
scope current scope
pattern Shell wildcard pattern(s). Scalar or vector of type string.
Returns
  • a new instance of MatchingFiles

public Output<TString> filenames ()

A vector of matching filenames.