"examples/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "fee994ce755d29ec62806df19e5359c7f8851605"
Unverified Commit ada3bb94 authored by Rinne's avatar Rinne Committed by GitHub
Browse files

fix: remove duplicated code in TemporalBasicTransformerBlock. (#7212)



fix: remove duplicate code in TemporalBasicTransformerBlock.
Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
parent b5814c55
...@@ -440,7 +440,6 @@ class TemporalBasicTransformerBlock(nn.Module): ...@@ -440,7 +440,6 @@ class TemporalBasicTransformerBlock(nn.Module):
# Define 3 blocks. Each block has its own normalization layer. # Define 3 blocks. Each block has its own normalization layer.
# 1. Self-Attn # 1. Self-Attn
self.norm_in = nn.LayerNorm(dim)
self.ff_in = FeedForward( self.ff_in = FeedForward(
dim, dim,
dim_out=time_mix_inner_dim, dim_out=time_mix_inner_dim,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment