@@ -140,8 +140,7 @@ class weightedFeatureFusion(nn.Module): # weighted sum of 2 or more layers http
# Adjust channels
ifdc>0:# pad
pad=nn.ZeroPad2d((0,0,0,0,0,dc))
a=pad(a)
a=nn.ZeroPad2d((0,0,0,0,0,dc))(a)
elifdc<0:# slice
a=a[:,:nc]
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.