Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::TensorSummary::Attrs
#include <logging_ops.h>
Optional attribute setters for TensorSummary.
Summary
Public functions
|
Description(StringPiece x)
|
A json-encoded SummaryDescription proto.
|
DisplayName(StringPiece x)
|
An unused string.
|
Labels(const gtl::ArraySlice<::tensorflow::tstring > & x)
|
An unused list of strings.
|
Public attributes
description_
StringPiece tensorflow::ops::TensorSummary::Attrs::description_ = ""
display_name_
StringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = ""
labels_
gtl::ArraySlice<::tensorflow::tstring > tensorflow::ops::TensorSummary::Attrs::labels_ = {}
Public functions
Description
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(
StringPiece x
)
A json-encoded SummaryDescription proto.
Defaults to ""
DisplayName
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(
StringPiece x
)
An unused string.
Defaults to ""
Labels
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(
const gtl::ArraySlice<::tensorflow::tstring > & x
)
An unused list of strings.
Defaults to []
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::TensorSummary::Attrs Struct Reference\n\ntensorflow::ops::TensorSummary::Attrs\n=====================================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [TensorSummary](/versions/r2.14/api_docs/cc/class/tensorflow/ops/tensor-summary#classtensorflow_1_1ops_1_1_tensor_summary).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| [description_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a976f01922653dc7effd8481455dc7fa2)` = \"\"` | `StringPiece` |\n| [display_name_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a6d66b030638bbea93c4150c1a4f3c9e3)` = \"\"` | `StringPiece` |\n| [labels_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a637a10dfecbb3ddcbd82eb347489ae27)` = {}` | `gtl::ArraySlice\u003c::tensorflow::tstring \u003e` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Description](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1af586e1802efa1ab75c8f58d92421ab32)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) A json-encoded SummaryDescription proto. |\n| [DisplayName](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a4c5bf3f8233602c417b8868462d36cbb)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused string. |\n| [Labels](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a3ee4dc54c01121d0975dec25aa5d1e6d)`(const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused list of strings. |\n\nPublic attributes\n-----------------\n\n### description_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::description_ = \"\"\n``` \n\n### display_name_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = \"\"\n``` \n\n### labels_\n\n```scdoc\ngtl::ArraySlice\u003c::tensorflow::tstring \u003e tensorflow::ops::TensorSummary::Attrs::labels_ = {}\n``` \n\nPublic functions\n----------------\n\n### Description\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(\n StringPiece x\n)\n``` \nA json-encoded SummaryDescription proto.\n\nDefaults to \"\" \n\n### DisplayName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(\n StringPiece x\n)\n``` \nAn unused string.\n\nDefaults to \"\" \n\n### Labels\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(\n const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x\n)\n``` \nAn unused list of strings.\n\nDefaults to \\[\\]"]]