# tensorflow::ops::SparseSegmentSqrtN Class Reference

# tensorflow::
ops::
SparseSegmentSqrtN

`
#include <math_ops.h>
`


Computes the sum along sparse segments of a tensor divided by the sqrt of N.

## Summary


N is the size of the segment being reduced.


See
`
tf.sparse.segment_sum
`
for usage examples.


Args:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- indices: A 1-D tensor. Has same rank as `
  segment_ids
  ` .
- segment_ids: A 1-D tensor. Values should be sorted and can be repeated.

<br />


Returns:

- `
  https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output
  ` : Has same shape as data, except for dimension 0 which has size `
  k
  ` , the number of segments.

<br />

| ### Constructors and Destructors ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1a40f8ad324c1d7f4dd4c3f768b107dc39 (const :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input data, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input indices, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input segment_ids) ` ||

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1ac6e04b8ae49c040d4fb78539251f732c ` | ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1ad4bf36c9267e5d6245c5b1d143049272 ` | ` :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1ad30c396ef181cd74984b1d23ff3bdee3 () const ` | ` ::tensorflow::Node * ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1adbc1ac76f231ca09d1ba5df15369c510 () const ` | ` ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n#classtensorflow_1_1ops_1_1_sparse_segment_sqrt_n_1aba2d284339055dbd154009532a171823 () const ` | ` ` |

## Public attributes

### operation

```
Operation operation
```

### output

```
::tensorflow::Output output
```

## Public functions

### SparseSegmentSqrtN

```
 SparseSegmentSqrtN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input data,
  ::tensorflow::Input indices,
  ::tensorflow::Input segment_ids
)
```

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```