Create a random variable for SphericalUniform.

See SphericalUniform for more details.


Original Docstring for Distribution

Creates a new SphericalUniform instance.

dimension Python int. The dimension of the embedded space where the sphere resides.
batch_shape Positive int-like vector-shaped Tensor representing the new shape of the batch dimensions. Default value: [].
dtype DType of the generated samples.
validate_args Python bool, default False. When True distribution parameters are checked for validity despite possibly degrading runtime performance. When False invalid inputs may silently render incorrect outputs.
allow_nan_stats Python bool, default True. When True, statistics (e.g., mean, mode, variance) use the value "NaN" to indicate the result is undefined. When False, an exception is raised if one or more of the statistic's batch members are undefined.
name Python str name prefixed to Ops created by this class.

ValueError For known-bad arguments, i.e. unsupported event dimension.