จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: พิมพ์V2:: คุณสมบัติ
#include <logging_ops.h>
ตัวตั้งค่าคุณลักษณะเสริมสำหรับ PrintV2
สรุป
งานสาธารณะ |
---|
End (StringPiece x) | ค่าเริ่มต้นคือ "\n" |
OutputStream (StringPiece x) | สตริงที่ระบุสตรีมเอาต์พุตหรือระดับการบันทึกที่จะพิมพ์ |
คุณลักษณะสาธารณะ
จบ_
StringPiece tensorflow::ops::PrintV2::Attrs::end_ = "\n"
เอาท์พุท_สตรีม_
StringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = "stderr"
งานสาธารณะ
จบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(
StringPiece x
)
เอาท์พุตสตรีม
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(
StringPiece x
)
สตริงที่ระบุสตรีมเอาต์พุตหรือระดับการบันทึกที่จะพิมพ์
ค่าเริ่มต้นเป็น "stderr"
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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\""]]