popgym.baselines.models.aggregations
Module Contents
Classes
Aggregates (x_k ... x_t , s_k) into s_t |
|
Aggregates (x_k ... x_t , s_k) into s_t |
|
Aggregates (x_k ... x_t , s_k) into s_t |
Functions
|
- class popgym.baselines.models.aggregations.Aggregation(*args, **kwargs)
Bases:
torch.nn.ModuleAggregates (x_k … x_t , s_k) into s_t
- abstract forward(x: torch.Tensor, memory: torch.Tensor) torch.Tensor
- class popgym.baselines.models.aggregations.SumAggregation(*args, **kwargs)
Bases:
AggregationAggregates (x_k … x_t , s_k) into s_t
- forward(x: torch.Tensor, memory: torch.Tensor) torch.Tensor
- class popgym.baselines.models.aggregations.MaxAggregation(*args, **kwargs)
Bases:
AggregationAggregates (x_k … x_t , s_k) into s_t
- forward(x: torch.Tensor, memory: torch.Tensor) torch.Tensor