Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::DenseBincount::Attrs
#include <math_ops.h>
Optional attribute setters for DenseBincount.
Summary
Public functions
|
BinaryOutput(bool x)
|
bool; Whether the kernel should count the appearance or number of occurrences.
|
Public attributes
binary_output_
bool tensorflow::ops::DenseBincount::Attrs::binary_output_ = false
Public functions
BinaryOutput
TF_MUST_USE_RESULT Attrs tensorflow::ops::DenseBincount::Attrs::BinaryOutput(
bool x
)
bool; Whether the kernel should count the appearance or number of occurrences.
Defaults to false
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::DenseBincount::Attrs Struct Reference\n\ntensorflow::ops::DenseBincount::Attrs\n=====================================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [DenseBincount](/versions/r2.14/api_docs/cc/class/tensorflow/ops/dense-bincount#classtensorflow_1_1ops_1_1_dense_bincount).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|--------|\n| [binary_output_](#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs_1a955ce1d6b99fa4a24116d17cb0de255a)` = false` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BinaryOutput](#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs_1a6fb44a502dd6391a5352ced0b10eff8b)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/dense-bincount/attrs#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs) bool; Whether the kernel should count the appearance or number of occurrences. |\n\nPublic attributes\n-----------------\n\n### binary_output_\n\n```scdoc\nbool tensorflow::ops::DenseBincount::Attrs::binary_output_ = false\n``` \n\nPublic functions\n----------------\n\n### BinaryOutput\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DenseBincount::Attrs::BinaryOutput(\n bool x\n)\n``` \nbool; Whether the kernel should count the appearance or number of occurrences.\n\nDefaults to false"]]