Struct relearn::torch::history::features::LazyPackedHistoryFeatures[][src]

pub struct LazyPackedHistoryFeatures<'a, OS: Space, AS: Space> { /* fields omitted */ }
Expand description

Packed history features with lazy evaluation and caching.

Implementations

Finalize this into a structure of the current values in cache.

Trait Implementations

Formats the value using the given formatter. Read more

Discount factor for calculating returns.

Episode index ranges sorted in decreasing order of episode length.

Batch sizes in the packing. Read more

Batch sizes in the packing. A 1D i64 tensor.

Packed observation features. A 2D f64 tensor.

Packed action values. Read more

Packed returns (discounted reward-to-go). A 1D f32 tensor.

Packed rewards. A 1D f32 tensor.

Device on which tensors will be placed.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.