Table of Contents

Class SequenceContext<T>

Context window for sequence modeling in Decision Transformer. Maintains recent states, actions, and returns-to-go for transformer input.

public class SequenceContext<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
SequenceContext<T>
Inherited Members

Properties

Actions

public List<Vector<T>> Actions { get; set; }

Property Value

List<Vector<T>>

Length

public int Length { get; }

Property Value

int

ReturnsToGo

public List<T> ReturnsToGo { get; set; }

Property Value

List<T>

States

public List<Vector<T>> States { get; set; }

Property Value

List<Vector<T>>