Struct VectorListResetResult<TObs>
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
TObsThe batched observation type.
- Implements
-
IEquatable<VectorListResetResult<TObs>>
- 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
ObservationsTObsThe batched first observations.
InfosIReadOnlyList<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
Observations
The batched first observations.
public TObs Observations { get; init; }
Property Value
- TObs