Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::SparseConditionalAccumulator::Attrs
#include <data_flow_ops.h>
Optional attribute setters for SparseConditionalAccumulator.
Summary
Public functions
|
Container(StringPiece x)
|
If non-empty, this accumulator is placed in the given container.
|
ReductionType(StringPiece x)
|
Defaults to "MEAN".
|
SharedName(StringPiece x)
|
If non-empty, this accumulator will be shared under the given name across multiple sessions.
|
Public attributes
container_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::container_ = ""
reduction_type_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::reduction_type_ = "MEAN"
shared_name_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::shared_name_ = ""
Public functions
Container
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::Container(
StringPiece x
)
If non-empty, this accumulator is placed in the given container.
Otherwise, a default container is used.
Defaults to ""
ReductionType
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::ReductionType(
StringPiece x
)
SharedName
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::SharedName(
StringPiece x
)
If non-empty, this accumulator will be shared under the given name across multiple sessions.
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.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::SparseConditionalAccumulator::Attrs Struct Reference\n\ntensorflow::ops::SparseConditionalAccumulator::Attrs\n====================================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [SparseConditionalAccumulator](/versions/r1.15/api_docs/cc/class/tensorflow/ops/sparse-conditional-accumulator#classtensorflow_1_1ops_1_1_sparse_conditional_accumulator).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a9eadc03f18ec64b4a24607490bc2bdd1)` = \"\"` | `StringPiece` |\n| [reduction_type_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a37876ae182189da5c7622891aeeda107)` = \"MEAN\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a47f996e0395a673c9feafb332646719c)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1afe956a4da793d2da300578e27bff1177)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) If non-empty, this accumulator is placed in the given container. |\n| [ReductionType](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a1584ae8a3920516efe52b01dc0cc174d)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) Defaults to \"MEAN\". |\n| [SharedName](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a23089c44351930004ae452aa68113690)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) If non-empty, this accumulator will be shared under the given name across multiple sessions. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::container_ = \"\"\n``` \n\n### reduction_type_\n\n```carbon\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::reduction_type_ = \"MEAN\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this accumulator is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### ReductionType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::ReductionType(\n StringPiece x\n)\n``` \nDefaults to \"MEAN\". \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this accumulator will be shared under the given name across multiple sessions.\n\nDefaults to \"\""]]