Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ScalarSummary
#include <logging_ops.h>
Outputs a Summary
protocol buffer with scalar values.
Summary
The input tags
and values
must have the same shape. The generated summary has a summary value for each tag-value pair in tags
and values
.
Args:
- scope: A Scope object
- tags: Tags for the summary.
- values: Same shape as `tags. Values for the summary.
Returns:
Output
: Scalar. Serialized Summary
protocol buffer.
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
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. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::ScalarSummary Class Reference\n\ntensorflow::ops::ScalarSummary\n==============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOutputs a `Summary` protocol buffer with scalar values.\n\nSummary\n-------\n\nThe input `tags` and `values` must have the same shape. The generated summary has a summary value for each tag-value pair in `tags` and `values`.\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- tags: Tags for the summary.\n- values: Same shape as \\`tags. Values for the summary.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): Scalar. Serialized `Summary` protocol buffer.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ScalarSummary](#classtensorflow_1_1ops_1_1_scalar_summary_1a37ead9a3e40afb5ca6c768bd9964fc60)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tags, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` values)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_scalar_summary_1a0846561767f6abb3de936cc26f92eb42) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_scalar_summary_1a8d164e18d2a22962eacd48e8f77ab864) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_scalar_summary_1a8541b3eb0514c816421a7f1ac6343083)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_scalar_summary_1aedb9308de46ad38d9bb8d680ad4e9419)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_scalar_summary_1a4a426ca21e1f1e4df05580aba8f22238)`() const ` | |\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### ScalarSummary\n\n```gdscript\n ScalarSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tags,\n ::tensorflow::Input values\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```"]]