Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Pasujące pliki
#include <io_ops.h>
Zwraca zestaw plików pasujących do jednego lub więcej wzorców globalnych.
Streszczenie
Należy zauważyć, że ta procedura obsługuje tylko znaki wieloznaczne w części wzorca zawierającej nazwę bazową, a nie w części katalogu. Należy również pamiętać, że kolejność zwracanych nazw plików jest deterministyczna.
Argumenty:
- zakres: Obiekt Scope
- wzór: wzorce wieloznaczne powłoki. Skalar lub wektor typu string.
Zwroty:
-
Output
: wektor pasujących nazw plików.
Atrybuty publiczne
Funkcje publiczne
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::MatchingFiles Class Reference\n\ntensorflow::ops::MatchingFiles\n==============================\n\n`#include \u003cio_ops.h\u003e`\n\nReturns the set of files matching one or more glob patterns.\n\nSummary\n-------\n\nNote 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 is deterministic.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- pattern: Shell wildcard pattern(s). Scalar or vector of type string.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A vector of matching filenames.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MatchingFiles](#classtensorflow_1_1ops_1_1_matching_files_1a3e3c942e8a0843968d1a189f2ab5a115)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` pattern)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [filenames](#classtensorflow_1_1ops_1_1_matching_files_1a574b88c372b245758f76c5076e44bd4b) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_matching_files_1a831e0f27aca8cc9752971631c78698b5) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_matching_files_1a48fe519714ade32291a2909d0085c3e8)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_matching_files_1aeee56e7318814b9310a87f3ef57344d8)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_matching_files_1a10e6abf5a58d531efcc8e4f74b78cc4b)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### filenames\n\n```text\n::tensorflow::Output filenames\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### MatchingFiles\n\n```gdscript\n MatchingFiles(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input pattern\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]