Fix the related docs for MatchingFilesOp

This commit is contained in:
Fei Hu 2019-07-09 11:15:07 -07:00
parent eebe2f7247
commit 47c5c54e3e
3 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,6 @@ END
description: <<END
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 can be non-deterministic.
Note also that the order of filenames returned is deterministic.
END
}

View File

@ -40809,7 +40809,7 @@ func UniqueDataset(scope *Scope, input_dataset tf.Output, output_types []tf.Data
//
// 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 can be non-deterministic.
// Note also that the order of filenames returned is deterministic.
//
// Arguments:
// pattern: Shell wildcard pattern(s). Scalar or vector of type string.

View File

@ -63,7 +63,7 @@ _restore_sparse = sparse_ops._take_many_sparse_from_tensors_map
def match_filenames_once(pattern, name=None):
"""Save the list of files matching pattern, so it is only computed once.
NOTE: The order of the files returned can be non-deterministic.
NOTE: The order of the files returned is deterministic.
Args:
pattern: A file pattern (glob), or 1D tensor of file patterns.