{ }
Computes the mean along sparse segments of a tensor.
tf.raw_ops.SparseSegmentMeanWithNumSegments(
data, indices, segment_ids, num_segments, sparse_gradient=False, name=None
)
Like SparseSegmentMean
, but allows missing ids in segment_ids
. If an id is
missing, the output
tensor at that position will be zeroed.
Read the section on segmentation for an explanation of segments.
Returns | |
---|---|
A Tensor . Has the same type as data .
|