Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::TensorSummary
#include <logging_ops.h>
Outputs a Summary
protocol buffer with a tensor.
Summary
This op is being phased out in favor of TensorSummaryV2, 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.
Arguments:
- scope: A Scope object
- tensor: A tensor to serialize.
Optional attributes (see Attrs
):
- description: A json-encoded SummaryDescription proto.
- labels: An unused list of strings.
- display_name: An unused string.
Returns:
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Description
Attrs Description(
StringPiece x
)
DisplayName
Attrs DisplayName(
StringPiece x
)
Labels
Attrs Labels(
const gtl::ArraySlice< string > & x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tensor, const `[TensorSummary::Attrs](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_tensor_summary_1a6b64d90ed0bed7a174d12d2057cae3d1) | `::`[tensorflow::Output](/versions/r1.15/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/r1.15/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/r1.15/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_1a48fba5c13d9055ab017b3204a40b4661)`(const gtl::ArraySlice\u003c string \u003e & x)` | [Attrs](/versions/r1.15/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/r1.15/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs) | Optional attribute setters for [TensorSummary](/versions/r1.15/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 string \u003e & x\n)\n```"]]