Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Cumsum::Attrs
#include <math_ops.h>
Optional attribute setters for Cumsum.
Summary
Public functions
|
Exclusive(bool x)
|
If True , perform exclusive cumsum.
|
Reverse(bool x)
|
A bool (default: False).
|
Public attributes
exclusive_
bool tensorflow::ops::Cumsum::Attrs::exclusive_ = false
reverse_
bool tensorflow::ops::Cumsum::Attrs::reverse_ = false
Public functions
Exclusive
TF_MUST_USE_RESULT Attrs tensorflow::ops::Cumsum::Attrs::Exclusive(
bool x
)
If True
, perform exclusive cumsum.
Defaults to false
Reverse
TF_MUST_USE_RESULT Attrs tensorflow::ops::Cumsum::Attrs::Reverse(
bool x
)
A bool
(default: False).
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::Cumsum::Attrs Struct Reference\n\ntensorflow::ops::Cumsum::Attrs\n==============================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [Cumsum](/versions/r2.14/api_docs/cc/class/tensorflow/ops/cumsum#classtensorflow_1_1ops_1_1_cumsum).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------|--------|\n| [exclusive_](#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs_1a86e2370bdc60bc159adbf5791d3e5aa3)` = false` | `bool` |\n| [reverse_](#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs_1a1765e654ea75728b30c4572c736b454f)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Exclusive](#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs_1a19496a3e014176d05a8d903490e4dac5)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/cumsum/attrs#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs) If `True`, perform exclusive cumsum. |\n| [Reverse](#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs_1aa9e89d07bcff769078d89714f00522b7)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/cumsum/attrs#structtensorflow_1_1ops_1_1_cumsum_1_1_attrs) A `bool` (default: False). |\n\nPublic attributes\n-----------------\n\n### exclusive_\n\n```scdoc\nbool tensorflow::ops::Cumsum::Attrs::exclusive_ = false\n``` \n\n### reverse_\n\n```scdoc\nbool tensorflow::ops::Cumsum::Attrs::reverse_ = false\n``` \n\nPublic functions\n----------------\n\n### Exclusive\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Cumsum::Attrs::Exclusive(\n bool x\n)\n``` \nIf `True`, perform exclusive cumsum.\n\nDefaults to false \n\n### Reverse\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Cumsum::Attrs::Reverse(\n bool x\n)\n``` \nA `bool` (default: False).\n\nDefaults to false"]]