Table of Contents

Class FilterObservationOptions

Namespace
Gym.Wrappers
Assembly
Gym.dll

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

Properties

FilterKeys

The keys to keep, as a Python sequence: an object?[] (a tuple) or a list of strings for a Dict, of integers for a Tuple (negative indices count from the end). A string is a sequence of one-character keys, as in Python. The filter_keys keyword argument, passed on only once set.

public object FilterKeys { 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.