Creates a Dataset that returns pseudorandom numbers.
Compat aliases for migration
See Migration guide for more details.
tf.raw_ops.RandomDataset( seed, seed2, output_types, output_shapes, name=None )
Creates a Dataset that returns a stream of uniformly distributed pseudorandom 64-bit signed integers.
In the TensorFlow Python API, you can instantiate this dataset via the class
Instances of this dataset are also created as a result of the
hoist_random_uniform static optimization. Whether this optimization is performed is determined by the
experimental_optimization.hoist_random_uniform option of
| || A |
| || A |
| || A list of |
| || A list of shapes (each a |
| ||A name for the operation (optional).|
| A |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.