deep-learning-for-image-processing icon indicating copy to clipboard operation
deep-learning-for-image-processing copied to clipboard

不理解这里的架构,是有问题吗

Open 1245179435 opened this issue 11 months ago • 0 comments

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这步吗

1245179435 avatar Mar 09 '24 08:03 1245179435