tensorflow:: אופס:: PrintV2
#include <logging_ops.h>
מדפיס מחרוזת סקלרית.
תַקצִיר
מדפיס מחרוזת סקלרית לזרם הפלט הרצוי.
טיעונים:
- scope: אובייקט Scope
- קלט: המחרוזת הסקלרית להדפסה.
מאפיינים אופציונליים (ראה Attrs
):
- output_stream: מחרוזת המציינת את זרם הפלט או את רמת הרישום שאליו יש להדפיס.
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
PrintV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
PrintV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const PrintV2::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
פונקציות סטטיות ציבוריות | |
---|---|
End (StringPiece x) | |
OutputStream (StringPiece x) |
מבנים | |
---|---|
tensorflow:: ops:: PrintV2:: Attrs | קובעי תכונות אופציונליים עבור PrintV2 . |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
PrintV2
PrintV2( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
PrintV2
PrintV2( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const PrintV2::Attrs & attrs )
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
סוֹף
Attrs End( StringPiece x )
OutputStream
Attrs OutputStream( StringPiece x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::ops::PrintV2 Class Reference\n\ntensorflow::ops::PrintV2\n========================\n\n`#include \u003clogging_ops.h\u003e`\n\nPrints a string scalar.\n\nSummary\n-------\n\nPrints a string scalar to the desired output_stream.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: The string scalar to print.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs)):\n\n- output_stream: A string specifying the output stream or logging level to print to.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [PrintV2](#classtensorflow_1_1ops_1_1_print_v2_1a393f67a5391f338d8e3fc19569ba4459)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input)` ||\n| [PrintV2](#classtensorflow_1_1ops_1_1_print_v2_1ad9ecc820cf2a86447d7ddd6b25d9a8bd)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, const `[PrintV2::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_print_v2_1a9a1413e54679233c6d74b835e575f5da) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_print_v2_1afa90ca91f2d7ecab65f37d5a94dac85b)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [End](#classtensorflow_1_1ops_1_1_print_v2_1a2d4c2e84f84215b9d18cc46c7806d5a5)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) |\n| [OutputStream](#classtensorflow_1_1ops_1_1_print_v2_1ab139b92d03800230ff3f84b1395ae0af)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::PrintV2::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs) | Optional attribute setters for [PrintV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/print-v2#classtensorflow_1_1ops_1_1_print_v2). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### PrintV2\n\n```gdscript\n PrintV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input\n)\n``` \n\n### PrintV2\n\n```gdscript\n PrintV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n const PrintV2::Attrs & attrs\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n``` \n\nPublic static functions\n-----------------------\n\n### End\n\n```text\nAttrs End(\n StringPiece x\n)\n``` \n\n### OutputStream\n\n```text\nAttrs OutputStream(\n StringPiece x\n)\n```"]]