Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: WoodieDudy <WoodieDudy@users.noreply.github.com>
  • Loading branch information
WoodieDudy committed Aug 12, 2024
1 parent edcc9bd commit b58a609
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nemo/collections/asr/parts/submodules/multi_head_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,15 @@ class RelPositionMultiHeadAttention(MultiHeadAttention):
"""

def __init__(
self, n_head, n_feat, dropout_rate, pos_bias_u, pos_bias_v, max_cache_len=0, use_bias=True, use_pytorch_sdpa=True
self,
n_head,
n_feat,
dropout_rate,
pos_bias_u,
pos_bias_v,
max_cache_len=0,
use_bias=True,
use_pytorch_sdpa=True,
):
"""Construct an RelPositionMultiHeadedAttention object."""
super().__init__(
Expand Down

0 comments on commit b58a609

Please sign in to comment.