proj_attn is not used in the original generative repo, we may add an argument in SABlock to make the behaviour consistent with before.
https://github.com/Project-MONAI/GenerativeModels/blob/7428fce193771e9564f29b91d29e523dd1b6b4cd/generative/networks/nets/diffusion_model_unet.py#L383
|
self.out_proj = nn.Linear(self.inner_dim, self.hidden_input_size) |