تدفق التوتر:: العمليات:: برينتف2:: أترز
#include <logging_ops.h>
محددات السمات الاختيارية لـ PrintV2 .
ملخص
الصفات العامة | |
---|---|
end_ = "\n" | StringPiece |
output_stream_ = "stderr" | StringPiece |
الوظائف العامة | |
---|---|
End (StringPiece x) | TF_MUST_USE_RESULT Attrs الإعدادات الافتراضية هي "\n". |
OutputStream (StringPiece x) | TF_MUST_USE_RESULT Attrs سلسلة تحدد تدفق الإخراج أو مستوى التسجيل المراد الطباعة إليه. |
الصفات العامة
نهاية_
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 )
الإعدادات الافتراضية هي "\n".
تيار الإخراج
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream( StringPiece x )
سلسلة تحدد تدفق الإخراج أو مستوى التسجيل المراد الطباعة إليه.
الإعدادات الافتراضية إلى "stderr"
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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\""]]