Table of Contents

Struct VectorListResetResult<TObs>

Namespace
Gym.Wrappers.Vector
Assembly
Gym.dll

A vector reset whose infos are one dict per sub-env (DictInfoToList<TObs, TAct>'s result).

public readonly record struct VectorListResetResult<TObs> : INDArrayCarrier, IEquatable<VectorListResetResult<TObs>>

Type Parameters

TObs

The batched observation type.

Implements
Inherited Members
Extension Methods

Constructors

VectorListResetResult(TObs, IReadOnlyList<Info>)

A vector reset whose infos are one dict per sub-env (DictInfoToList<TObs, TAct>'s result).

public VectorListResetResult(TObs Observations, IReadOnlyList<Info> Infos)

Parameters

Observations TObs

The batched first observations.

Infos IReadOnlyList<Info>

The i-th sub-env's info at index i.

Properties

Infos

The i-th sub-env's info at index i.

public IReadOnlyList<Info> Infos { get; init; }

Property Value

IReadOnlyList<Info>

Observations

The batched first observations.

public TObs Observations { get; init; }

Property Value

TObs