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:: Hàng đợiĐã đóngV2
#include <data_flow_ops.h>
Trả về true nếu hàng đợi bị đóng.
Bản tóm tắt
Thao tác này trả về true nếu hàng đợi bị đóng và trả về false nếu hàng đợi mở.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- xử lý: Xử lý cho một hàng đợi.
Trả về:
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::QueueIsClosedV2 Class Reference\n\ntensorflow::ops::QueueIsClosedV2\n================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nReturns true if queue is closed.\n\nSummary\n-------\n\nThis operation returns true if the queue is closed and false if the queue is open.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to a queue.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The is_closed tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QueueIsClosedV2](#classtensorflow_1_1ops_1_1_queue_is_closed_v2_1a45ba41a743bd847e4a69e17fe5e603d2)`(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)` handle)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [is_closed](#classtensorflow_1_1ops_1_1_queue_is_closed_v2_1a95f6be9de7efd5fccafff82b4dbf33a3) | `::`[tensorflow::Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_queue_is_closed_v2_1aa021c2ea097d2717bfe96ab5e051f311) | [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_queue_is_closed_v2_1aed8049b4cd80f3a25c0d8b1eab7b4390)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_queue_is_closed_v2_1acc14a8b606192bbe4af68d4d55260ed2)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_queue_is_closed_v2_1a2a5b81cd81937169e2206632cf1d826a)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### is_closed\n\n```scdoc\n::tensorflow::Output is_closed\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QueueIsClosedV2\n\n```gdscript\n QueueIsClosedV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle\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```"]]