Skip to content

fix(networks): only instantiate cross-attention layers when with_cross_attention=True#8873

Closed
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/transformer-block-cross-attention-always-instantiated
Closed

fix(networks): only instantiate cross-attention layers when with_cross_attention=True#8873
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/transformer-block-cross-attention-always-instantiated

fix(networks): address review comments on TransformerBlock tests

7f533f7
Select commit
Loading
Failed to load commit list.
DCO / DCO succeeded May 29, 2026 in 1s

DCO

All commits are signed off!