Skip to content

Commit 6352ba9

Browse files
committed
DCO Remediation Commit for tisalon <[email protected]>
I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 3db93ce I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 9693e04 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: a89f299 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 450691f I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: d0920d8 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 1a48d4d I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: fe47807 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 86155cd I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 137a7f2 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: fb17baf I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 5ff0baa I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 2566db1 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: ac4047b I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 2b74270 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 9b74533 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 1ab34f6 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 4f4c62c I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 068688f I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: e2e1070 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 35c7ee4 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: d8cb6c1 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 6d96816 I, tisalon <[email protected]>, hereby add my Signed-off-by to this commit: 8a688fb Signed-off-by: tisalon <[email protected]>
1 parent acb818d commit 6352ba9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monai/networks/blocks/cablock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _normal_attention(self, q, k, v):
120120
attn = attn.softmax(dim=-1)
121121
return attn @ v
122122

123-
def forward(self, x):
123+
def forward(self, x) -> torch.Tensor:
124124
"""Forward pass for MDTA attention.
125125
1. Apply depth-wise convolutions to Q, K, V
126126
2. Reshape Q, K, V for multi-head attention

monai/networks/nets/restormer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def __init__(
268268
conv_only=True,
269269
)
270270

271-
def forward(self, x):
271+
def forward(self, x) -> torch.Tensor:
272272
"""Forward pass of Restormer.
273273
Processes input through encoder-decoder architecture with skip connections.
274274
Args:

0 commit comments

Comments
 (0)