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:: InV2:: Attr
#include <logging_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho PrintV2 .
Bản tóm tắt
Chức năng công cộng |
---|
End (StringPiece x) | Mặc định là "\n". |
OutputStream (StringPiece x) | Một chuỗi chỉ định luồng đầu ra hoặc mức ghi nhật ký để in. |
Thuộc tính công khai
kết thúc_
StringPiece tensorflow::ops::PrintV2::Attrs::end_ = "\n"
đầu ra_stream_
StringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = "stderr"
Chức năng công cộng
Kết thúc
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(
StringPiece x
)
Luồng đầu ra
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(
StringPiece x
)
Một chuỗi chỉ định luồng đầu ra hoặc mức ghi nhật ký để in.
Mặc định là "stderr"
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::PrintV2::Attrs Struct Reference\n\ntensorflow::ops::PrintV2::Attrs\n===============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [PrintV2](/versions/r2.2/api_docs/cc/class/tensorflow/ops/print-v2#classtensorflow_1_1ops_1_1_print_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------|---------------|\n| [end_](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1ac10b313283d5257168d8dc6b2d57d05b)` = \"\\n\"` | `StringPiece` |\n| [output_stream_](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1abd0359af427791696047ce10fe9f7d0c)` = \"stderr\"` | `StringPiece` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [End](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1ac177607fbaa6ba05332cecb2431dc84f)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) Defaults to \"\\\\n\". |\n| [OutputStream](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1a93f32d572e42b2abacef0f940b9fb10b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) A string specifying the output stream or logging level to print to. |\n\nPublic attributes\n-----------------\n\n### end_\n\n```scdoc\nStringPiece tensorflow::ops::PrintV2::Attrs::end_ = \"\\n\"\n``` \n\n### output_stream_\n\n```scdoc\nStringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = \"stderr\"\n``` \n\nPublic functions\n----------------\n\n### End\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(\n StringPiece x\n)\n``` \nDefaults to \"\\\\n\". \n\n### OutputStream\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(\n StringPiece x\n)\n``` \nA string specifying the output stream or logging level to print to.\n\nDefaults to \"stderr\""]]