You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def forward(self, x):
H, W = self.input_resolution
B, L, C = x.shape
assert L == H * W, "input feature has wrong size"
shortcut = x
x = self.norm1(x)
x = x.view(B, H, W, C)
这里传入的数据是一个4维度的,为什么是blc三个维度呢,请问是少了合并hw这步吗
The text was updated successfully, but these errors were encountered:
def forward(self, x):
H, W = self.input_resolution
B, L, C = x.shape
assert L == H * W, "input feature has wrong size"
shortcut = x
x = self.norm1(x)
x = x.view(B, H, W, C)
这里传入的数据是一个4维度的,为什么是blc三个维度呢,请问是少了合并hw这步吗
The text was updated successfully, but these errors were encountered: