Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: Tệp phù hợp
#include <io_ops.h>
Trả về tập hợp các tệp khớp với một hoặc nhiều mẫu hình cầu.
Bản tóm tắt
Lưu ý rằng quy trình này chỉ hỗ trợ các ký tự đại diện trong phần tên cơ sở của mẫu chứ không hỗ trợ trong phần thư mục. Cũng lưu ý rằng thứ tự tên tệp được trả về là xác định.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- mẫu: (các) mẫu ký tự đại diện Shell. Vô hướng hoặc vectơ kiểu chuỗi.
Trả về:
-
Output
: Một vectơ tên tệp phù hợp.
Thuộc tính công khai
Chức năng công cộng
nút
::tensorflow::Node * node() const
operator::tensorflow::Input() const
toán tử::tenorflow::Đầu ra
operator::tensorflow::Output() const
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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/r2.0/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/r2.0/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/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/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/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_matching_files_1a831e0f27aca8cc9752971631c78698b5) | [Operation](/versions/r2.0/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```"]]