[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.io.match_filenames_once\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/training/input.py#L56-L76) |\n\nSave the list of files matching pattern, so it is only computed once.\n\n#### View aliases\n\n\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`](https://www.tensorflow.org/api_docs/python/tf/io/match_filenames_once), [`tf.compat.v1.train.match_filenames_once`](https://www.tensorflow.org/api_docs/python/tf/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"]]