GlobalAbsAvgPooling1D
Applies global absolute avg pooling for temporal data
class liqfit.modeling.pooling.GlobalAbsAvgPooling1D
Parameters:
x (torch.Tensor): Input tensor to apply pooling on. Expected shape: (B, T, E).
attention_mask (torch.Tensor): Mask tensor to mask out the padding while applying the pooling. Expected shape: (B, T)
Using GlobalAbsAvgPooling1D
Last updated