@Operator(group="io") public final class MatchingFiles extends PrimitiveOp implements Operand<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.
operation
Modifier and Type | Method and Description |
---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static MatchingFiles |
create(Scope scope,
Operand<String> pattern)
Factory method to create a class wrapping a new MatchingFiles operation.
|
Output<String> |
filenames()
A vector of matching filenames.
|
equals, hashCode, op, toString
public static MatchingFiles create(Scope scope, Operand<String> pattern)
scope
- current scopepattern
- Shell wildcard pattern(s). Scalar or vector of type string.public Output<String> asOutput()
Operand
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.
asOutput
in interface Operand<String>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.