There are three linear in the original generative repo which now is combined within one linear layer. We need add an argument to make it consistent with before.
https://github.com/Project-MONAI/GenerativeModels/blob/main/generative/networks/nets/diffusion_model_unet.py#L379-L381
|
self.qkv = nn.Linear(self.hidden_input_size, self.inner_dim * 3, bias=qkv_bias) |