# tensorflow::ops::RandomNormal::Attrs

`#include <random_ops.h>`

Optional attribute setters for [RandomNormal](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/random-normal#classtensorflow_1_1ops_1_1_random_normal).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs_1ad302367a057050556c4ed270ad82e430 = 0` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs_1a682f5af8e6b2b1f37617d3aca6238971 = 0` | `int64` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs_1ac097ea8c492d19b5bc842616405ebc33(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs` If either `seed` or `seed2` are set to be non-zero, the random number generator is seeded by the given seed. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs_1afd07d55bb44d1dcf637cf192ae54c8ee(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-normal/attrs#structtensorflow_1_1ops_1_1_random_normal_1_1_attrs` A second seed to avoid seed collision. |

## Public attributes

### seed2_

```
int64 tensorflow::ops::RandomNormal::Attrs::seed2_ = 0
```

### seed_

```
int64 tensorflow::ops::RandomNormal::Attrs::seed_ = 0
```

## Public functions

### Seed

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomNormal::Attrs::Seed(
  int64 x
)
```
If either `seed` or `seed2` are set to be non-zero, the random number generator is seeded by the given seed.

Otherwise, it is seeded by a random seed.

Defaults to 0

### Seed2

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomNormal::Attrs::Seed2(
  int64 x
)
```
A second seed to avoid seed collision.

Defaults to 0