tensorflow:: אופס:: TensorSummary
#include <logging_ops.h>
פלט מאגר פרוטוקול Summary
עם טנזור.
תַקצִיר
המבצע הזה מופסק בהדרגה לטובת TensorSummaryV2 , המאפשר למתקשרים להעביר תג כמו גם מחרוזת פרוטו SummaryMetadata מסודרת המכילה נתונים ספציפיים לפלאגין. אנו נשמור על אופציה זו כדי לשמור על תאימות לאחור.
טיעונים:
- scope: אובייקט Scope
- טנסור: טנסור להסדרה.
מאפיינים אופציונליים (ראה Attrs
):
- תיאור: פרוטו של SummaryDescription מקודד ב-json.
- תוויות: רשימה שאינה בשימוש של מחרוזות.
- display_name: מחרוזת שאינה בשימוש.
החזרות:
-
Output
: טנזור הסיכום.
בנאים והורסים | |
---|---|
TensorSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor) | |
TensorSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, const TensorSummary::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation | |
summary |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
Description (StringPiece x) | |
DisplayName (StringPiece x) | |
Labels (const gtl::ArraySlice<::tensorflow::tstring > & x) |
מבנים | |
---|---|
tensorflow:: ops:: TensorSummary:: Attrs | קובעי תכונות אופציונליים עבור TensorSummary . |
תכונות ציבוריות
מִבצָע
Operation operation
תַקצִיר
::tensorflow::Output summary
תפקידים ציבוריים
TensorSummary
TensorSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tensor )
TensorSummary
TensorSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tensor, const TensorSummary::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
תֵאוּר
Attrs Description( StringPiece x )
שם תצוגה
Attrs DisplayName( StringPiece x )
תוויות
Attrs Labels( const gtl::ArraySlice<::tensorflow::tstring > & x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# tensorflow::ops::TensorSummary Class Reference\n\ntensorflow::ops::TensorSummary\n==============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOutputs a `Summary` protocol buffer with a tensor.\n\nSummary\n-------\n\nThis op is being phased out in favor of [TensorSummaryV2](/versions/r2.3/api_docs/cc/class/tensorflow/ops/tensor-summary-v2#classtensorflow_1_1ops_1_1_tensor_summary_v2), which lets callers pass a tag as well as a serialized SummaryMetadata proto string that contains plugin-specific data. We will keep this op to maintain backwards compatibility.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- tensor: A tensor to serialize.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs)):\n\n- description: A json-encoded SummaryDescription proto.\n- labels: An unused list of strings.\n- display_name: An unused string.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The summary tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TensorSummary](#classtensorflow_1_1ops_1_1_tensor_summary_1afdb9550f4293d4ab3a2983f6edf07fbb)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tensor)` ||\n| [TensorSummary](#classtensorflow_1_1ops_1_1_tensor_summary_1ae4c43797136633dd569416f852e1bb81)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tensor, const `[TensorSummary::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_tensor_summary_1a1d90e40e1074d7151da624b2332bc954) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_tensor_summary_1a6b64d90ed0bed7a174d12d2057cae3d1) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_tensor_summary_1aec5f002562bf25f908ea69a9ccf16148)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_tensor_summary_1a6de3fc008f2ef8aed3f658d69d7b531b)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_tensor_summary_1aac762262fdb3815e85abff7635927d62)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [Description](#classtensorflow_1_1ops_1_1_tensor_summary_1af0c6bfcdd270a13450e0bed1490e9f3b)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n| [DisplayName](#classtensorflow_1_1ops_1_1_tensor_summary_1ae0eff10fbf8400e9be9c2a2cce9d9581)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n| [Labels](#classtensorflow_1_1ops_1_1_tensor_summary_1a4da063086f3ea3a8b164ca31802d71a3)`(const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::TensorSummary::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs) | Optional attribute setters for [TensorSummary](/versions/r2.3/api_docs/cc/class/tensorflow/ops/tensor-summary#classtensorflow_1_1ops_1_1_tensor_summary). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### summary\n\n```text\n::tensorflow::Output summary\n``` \n\nPublic functions\n----------------\n\n### TensorSummary\n\n```gdscript\n TensorSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tensor\n)\n``` \n\n### TensorSummary\n\n```gdscript\n TensorSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tensor,\n const TensorSummary::Attrs & attrs\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``` \n\nPublic static functions\n-----------------------\n\n### Description\n\n```text\nAttrs Description(\n StringPiece x\n)\n``` \n\n### DisplayName\n\n```text\nAttrs DisplayName(\n StringPiece x\n)\n``` \n\n### Labels\n\n```gdscript\nAttrs Labels(\n const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x\n)\n```"]]