Table of Contents

Class RescaleActionOptions

Namespace
Gym.Wrappers
Assembly
Gym.dll

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

Properties

MaxAction

The wrapper's upper bound, in the same forms. The max_action keyword argument, passed on only once set.

public object MaxAction { get; init; }

Property Value

object

MinAction

The wrapper's lower bound: an array of the space's shape, or a number (RescaleBox(Space, object, object)). The min_action keyword argument, passed on only once set.

public object MinAction { get; init; }

Property Value

object

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.