[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.io.match_filenames_once\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [TensorFlow 2 version](/api_docs/python/tf/io/match_filenames_once) | [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/training/input.py#L58-L78) |\n\nSave the list of files matching pattern, so it is only computed once.\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`tf.train.match_filenames_once\\`\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.io.match_filenames_once`](/api_docs/python/tf/io/match_filenames_once), [`tf.compat.v1.train.match_filenames_once`](/api_docs/python/tf/io/match_filenames_once), \\`tf.compat.v2.io.match_filenames_once\\`\n\n\u003cbr /\u003e\n\n tf.io.match_filenames_once(\n pattern, name=None\n )\n\n| **Note:** The order of the files returned is deterministic.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|-------------------------------------------------------|\n| `pattern` | A file pattern (glob), or 1D tensor of file patterns. |\n| `name` | A name for the operations (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A variable that is initialized to the list of files matching the pattern(s). ||\n\n\u003cbr /\u003e"]]