(self, x)
| 489 | return x |
| 490 | |
| 491 | def forward(self, x): |
| 492 | x = x.permute(0,2,3,4,1).contiguous() |
| 493 | h = self.attention(x) |
| 494 | x = self.proj_out(h, residual=x) |
| 495 | x = x.permute(0,4,1,2,3) |
| 496 | return x |
| 497 | |
| 498 | class Resnet3DBlock(nn.Module): |
| 499 | def __init__(self, |