Defined in tensorflow/contrib/stateless/__init__.py
.
Stateless random ops which take seed as a tensor input.
Instead of taking seed
as an attr which initializes a mutable state within the op, these random ops take seed
as an input, and the random numbers are a deterministic function of shape
and seed
.
WARNING: These ops are in contrib, and are not stable. They should be consistent across multiple runs on the same hardware, but only for the same version of the code.
stateless_random_normal(...)
: TODO: add doc.
stateless_random_uniform(...)
: TODO: add doc.
stateless_truncated_normal(...)
: TODO: add doc.
__cached__
__loader__
__spec__
© 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/python/tf/contrib/stateless