Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::SparseSegmentSumGrad
#include <math_ops.h>
Computes gradients for SparseSegmentSum.
Summary
Returns tensor "output" with same shape as grad, except for dimension 0 whose value is output_dim0.
Args:
Returns:
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 2021-11-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::SparseSegmentSumGrad Class Reference\n\ntensorflow::ops::SparseSegmentSumGrad\n=====================================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes gradients for [SparseSegmentSum](/api_docs/cc/class/tensorflow/ops/sparse-segment-sum#classtensorflow_1_1ops_1_1_sparse_segment_sum).\n\nSummary\n-------\n\nReturns tensor \"output\" with same shape as grad, except for dimension 0 whose value is output_dim0.\n\nArgs:\n\n- scope: A [Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- grad: gradient propagated to the [SparseSegmentSum](/api_docs/cc/class/tensorflow/ops/sparse-segment-sum#classtensorflow_1_1ops_1_1_sparse_segment_sum) op.\n- indices: indices passed to the corresponding [SparseSegmentSum](/api_docs/cc/class/tensorflow/ops/sparse-segment-sum#classtensorflow_1_1ops_1_1_sparse_segment_sum) op.\n- segment_ids: segment_ids passed to the corresponding [SparseSegmentSum](/api_docs/cc/class/tensorflow/ops/sparse-segment-sum#classtensorflow_1_1ops_1_1_sparse_segment_sum) op.\n- output_dim0: dimension 0 of \"data\" passed to [SparseSegmentSum](/api_docs/cc/class/tensorflow/ops/sparse-segment-sum#classtensorflow_1_1ops_1_1_sparse_segment_sum) op.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The output tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [SparseSegmentSumGrad](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1a2f50cd32d5ca3d8eaabebf1061af6e0a)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` grad, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` segment_ids, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` output_dim0)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1a130e61afa77d187b3f1bddb32398d8ec) | [Operation](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1a563cc642878c11f3fb99e282291e5f0e) | `::`[tensorflow::Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1a518179d518acf9a732521cd876593de1)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1afa09f14270f372ccbc2df770a4f51ebd)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_sparse_segment_sum_grad_1a45a2513965a9c6f3d6f06540f172ed8d)`() const ` | |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### SparseSegmentSumGrad\n\n```gdscript\n SparseSegmentSumGrad(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input grad,\n ::tensorflow::Input indices,\n ::tensorflow::Input segment_ids,\n ::tensorflow::Input output_dim0\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```"]]