MatchingFiles
tensorflow C++ API
tensorflow::ops::MatchingFiles
Returns the set of files matching one or more glob patterns.
Summary
Note that this routine only supports wildcard characters in the basename portion of the pattern, not in the directory portion.
Arguments:
- scope: A Scope object
- pattern: Shell wildcard pattern(s). Scalar or vector of type string.
Returns:
Output
: A vector of matching filenames.
Constructor
- MatchingFiles(const ::tensorflow::Scope & scope, ::tensorflow::Input pattern).
Public attributes
- tensorflow::Output filenames.
MatchingFiles block
Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_io_ops.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input pattern: connect Input node or input pattern string. ex) E:\MNIST\*.*
Return:
- Output filenames: Output object of MatchingFiles class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.