Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tf.io.match_filenames_once

TensorFlow 1 version View source on GitHub

Save the list of files matching pattern, so it is only computed once.

pattern A file pattern (glob), or 1D tensor of file patterns.
name A name for the operations (optional).

A variable that is initialized to the list of files matching the pattern(s).