espnet2.tts.gst.style_encoder.MultiHeadedAttention
Less than 1 minute
espnet2.tts.gst.style_encoder.MultiHeadedAttention
class espnet2.tts.gst.style_encoder.MultiHeadedAttention(q_dim, k_dim, v_dim, n_head, n_feat, dropout_rate=0.0)
Bases: MultiHeadedAttention
Multi head attention module with different input dimension.
Initialize multi head attention module.