#include <random_ops.h>
Outputs random values from a normal distribution.
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:
Optional attributes (see Attrs):
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.Returns:
Output: A matrix of shape num_batches x samples_per_batch, filled with random truncated normal values using the parameters for each row. | Constructors and Destructors | |
|---|---|
ParameterizedTruncatedNormal(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals) | |
ParameterizedTruncatedNormal(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals, const ParameterizedTruncatedNormal::Attrs & attrs) |
| Public attributes | |
|---|---|
output | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Public static functions | |
|---|---|
Seed(int64 x) | |
Seed2(int64 x) | |
| Structs | |
|---|---|
| tensorflow::ops::ParameterizedTruncatedNormal::Attrs | Optional attribute setters for ParameterizedTruncatedNormal. |
::tensorflow::Output output
ParameterizedTruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals )
ParameterizedTruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals, const ParameterizedTruncatedNormal::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Seed( int64 x )
Attrs Seed2( int64 x )
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/parameterized-truncated-normal.html