tf.raw_ops.SobolSample  |  TensorFlow v2.16.1 (original) (raw)

tf.raw_ops.SobolSample

Stay organized with collections Save and categorize content based on your preferences.

Generates points from the Sobol sequence.

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.raw_ops.SobolSample

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 dimensiondim. 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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.