Struct relearn::torch::history::features::LazyPackedHistoryFeatures [−][src]
Expand description
Packed history features with lazy evaluation and caching.
Implementations
Trait Implementations
impl<'a, OS, AS> PackedHistoryFeaturesView for LazyPackedHistoryFeatures<'a, OS, AS> where
OS: BatchFeatureSpace<Tensor>,
AS: ReprSpace<Tensor>,
impl<'a, OS, AS> PackedHistoryFeaturesView for LazyPackedHistoryFeatures<'a, OS, AS> where
OS: BatchFeatureSpace<Tensor>,
AS: ReprSpace<Tensor>,
Discount factor for calculating returns.
Episode index ranges sorted in decreasing order of episode length.
Batch sizes in the packing. A 1D i64 tensor.
Packed observation features. A 2D f64 tensor.