Table of Contents

Class NormalizeRewardOptions

Namespace
Gym.Wrappers
Assembly
Gym.dll

The keyword arguments of NormalizeReward<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 NormalizeRewardOptions : IGymOptions, IEquatable<NormalizeRewardOptions>
Inheritance
NormalizeRewardOptions
Implements
Inherited Members
Extension Methods

Properties

Epsilon

Added to the variance under the square root, strictly positive, so the division never reaches zero. The epsilon keyword argument, passed on only once set.

public double Epsilon { get; init; }

Property Value

double

Gamma

The discount of the tracked return, in [0, 1]: a value above 1 would make the average diverge. The gamma keyword argument, passed on only once set.

public double Gamma { get; init; }

Property Value

double

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.