W3cubDocs

/TensorFlow 2.3

tf.raw_ops.SparseSegmentMeanGrad

Computes gradients for SparseSegmentMean.

Returns tensor "output" with same shape as grad, except for dimension 0 whose value is output_dim0.

Args
grad A Tensor. Must be one of the following types: float32, float64. gradient propagated to the SparseSegmentMean op.
indices A Tensor. Must be one of the following types: int32, int64. indices passed to the corresponding SparseSegmentMean op.
segment_ids A Tensor. Must be one of the following types: int32, int64. segment_ids passed to the corresponding SparseSegmentMean op.
output_dim0 A Tensor of type int32. dimension 0 of "data" passed to SparseSegmentMean op.
name A name for the operation (optional).
Returns
A Tensor. Has the same type as grad.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/SparseSegmentMeanGrad