Computes the sum along sparse segments of a tensor divided by the sqrt of N.
tf.raw_ops.SparseSegmentSqrtNWithNumSegments(
data, indices, segment_ids, num_segments, name=None
)
N is the size of the segment being reduced.
Like SparseSegmentSqrtN
, 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 .
|