pooling#
(s3prl.nn.pooling)
Common pooling methods
- Authors:
Leo 2022
Haibin Wu 2022
MeanPooling#
- class s3prl.nn.pooling.MeanPooling(input_size: int)[source][source]#
Bases:
Module
Computes Temporal Average Pooling (MeanPooling over time) Module
TemporalAveragePooling#
- s3prl.nn.pooling.TemporalAveragePooling[source]#
alias of
MeanPooling
TemporalStatisticsPooling#
- class s3prl.nn.pooling.TemporalStatisticsPooling(input_size: int)[source][source]#
Bases:
Module
Paper: X-vectors: Robust DNN Embeddings for Speaker Recognition Link: http://www.danielpovey.com/files/2018_icassp_xvectors.pdf
SelfAttentivePooling#
- class s3prl.nn.pooling.SelfAttentivePooling(input_size: int)[source][source]#
Bases:
Module
Paper: Self-Attentive Speaker Embeddings for Text-Independent Speaker Verification Link: https://danielpovey.com/files/2018_interspeech_xvector_attention.pdf
AttentiveStatisticsPooling#
- class s3prl.nn.pooling.AttentiveStatisticsPooling(input_size: int)[source][source]#
Bases:
Module
Paper: Attentive Statistics Pooling for Deep Speaker Embedding Link: https://arxiv.org/pdf/1803.10963.pdf