Class AddWhiteNoiseOptions
The keyword arguments of AddWhiteNoise<TObs, TAct>'s constructor as a typed record (DR-34), generated
from the constructor so it cannot drift from it. A property that is set becomes a keyword argument by its Python
name; one left unset is not passed, so make keeps the registered spec's value and the constructor its default.
public sealed record AddWhiteNoiseOptions : IGymOptions, IEquatable<AddWhiteNoiseOptions>
- Inheritance
-
AddWhiteNoiseOptions
- Implements
- Inherited Members
- Extension Methods
Properties
IsNoiseGrayscale
Whether the noise is gray (the RGB noise weighted and summed) rather than colored.
The is_noise_grayscale keyword argument, passed on only once set.
public bool IsNoiseGrayscale { get; init; }
Property Value
ProbabilityOfNoisePerPixel
The probability that a pixel is noise, in [0, 1).
The probability_of_noise_per_pixel keyword argument, passed on only once set.
public double ProbabilityOfNoisePerPixel { get; init; }
Property Value
Methods
ToKwargs()
The set properties as keyword arguments by Python name, in constructor order.
public Info ToKwargs()
Returns
- Info
A new dict the caller owns.