Generates points from the Sobol sequence.
tf.raw_ops.SobolSample( dim, num_results, skip, dtype=tf.dtypes.float32, name=None )
Creates a Sobol sequence with num_results
samples. Each sample has dimension dim
. Skips the first skip
samples.
Args | |
---|---|
dim | A Tensor of type int32 . Positive scalar Tensor representing each sample's dimension. |
num_results | A Tensor of type int32 . Positive scalar Tensor of dtype int32. The number of Sobol points to return in the output. |
skip | A Tensor of type int32 . Positive scalar Tensor of dtype int32. The number of initial points of the Sobol sequence to skip. |
dtype | An optional tf.DType from: tf.float32, tf.float64 . Defaults to tf.float32 . The type of the sample. One of: float32 or float64 . |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type dtype . |
© 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.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/SobolSample