# tensorflow::ops::ParameterizedTruncatedNormal

`#include <random_ops.h>`

Outputs random values from a normal distribution.

## Summary

The parameters may each be a

scalar which applies to the entire output, or a vector of length shape\[0\] which stores the parameters for each batch.

Arguments:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- shape: The shape of the output tensor. Batches are indexed by the 0th dimension.
- means: The mean parameter of each batch.
- stdevs: The standard deviation parameter of each batch. Must be greater than 0.
- minvals: The minimum cutoff. May be -infinity.
- maxvals: The maximum cutoff. May be +infinity, and must be more than the minval for each batch.

<br />

Optional attributes (see `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/parameterized-truncated-normal/attrs#structtensorflow_1_1ops_1_1_parameterized_truncated_normal_1_1_attrs`):

- seed: 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.
- seed2: A second seed to avoid seed collision.

<br />

Returns:

- `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output`: A matrix of shape num_batches x samples_per_batch, filled with random truncated normal values using the parameters for each row.

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1af8d4ae1d204cc4ef9a6361f11cbb90de(const ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input shape, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input means, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input stdevs, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input minvals, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input maxvals)` ||
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1afd00b3375c16739bcc7f72c930c1f751(const ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input shape, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input means, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input stdevs, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input minvals, ::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input maxvals, const https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/parameterized-truncated-normal/attrs#structtensorflow_1_1ops_1_1_parameterized_truncated_normal_1_1_attrs & attrs)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1a3447014cf835b9d848b15705f2e11045` | `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1a87a77c67acb67f7dabb5cb5673ebb0d9` | `::https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1a9a37bcf56736b38f0eb696e4b39136dc() const ` | `::tensorflow::Node *` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1afb3d837950cf0d7cd289cdd5305d2144() const ` | ` `` ` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1aef7ad0f3b76382aa50451e91b459cac9() const ` | ` `` ` |

| ### Public static functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1a60be0f9d8ac8255d74a9c8d0a16ba1b6(int64 x)` | `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/parameterized-truncated-normal/attrs#structtensorflow_1_1ops_1_1_parameterized_truncated_normal_1_1_attrs` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal_1a90dde5272c669275d2e05df64fdbc647(int64 x)` | `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/parameterized-truncated-normal/attrs#structtensorflow_1_1ops_1_1_parameterized_truncated_normal_1_1_attrs` |

| ### Structs ||
|---|---|
| [tensorflow::ops::ParameterizedTruncatedNormal::Attrs](https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/parameterized-truncated-normal/attrs) | Optional attribute setters for [ParameterizedTruncatedNormal](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal#classtensorflow_1_1ops_1_1_parameterized_truncated_normal). |

## Public attributes

### operation

```
Operation operation
```

### output

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

## Public functions

### ParameterizedTruncatedNormal

```
 ParameterizedTruncatedNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input means,
  ::tensorflow::Input stdevs,
  ::tensorflow::Input minvals,
  ::tensorflow::Input maxvals
)
```

### ParameterizedTruncatedNormal

```
 ParameterizedTruncatedNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input means,
  ::tensorflow::Input stdevs,
  ::tensorflow::Input minvals,
  ::tensorflow::Input maxvals,
  const ParameterizedTruncatedNormal::Attrs & attrs
)
```

### node

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

### operator::tensorflow::Input

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

### operator::tensorflow::Output

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

## Public static functions

### Seed

```
Attrs Seed(
  int64 x
)
```

### Seed2

```
Attrs Seed2(
  int64 x
)
```