Skip to content

Commit 66f1b3a

Browse files
committed
Type fix
Signed-off-by: Eric Kerfoot <[email protected]>
1 parent 7ba43f9 commit 66f1b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/networks/nets/diffusion_model_unet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2016,7 +2016,7 @@ def __init__(
20162016

20172017
last_dim_flattened = int(reduce(lambda x, y: x * y, input_shape) * channels[-1])
20182018

2019-
self.out: Optional[nn.Module] = nn.Sequential(
2019+
self.out: nn.Module = nn.Sequential(
20202020
nn.Linear(last_dim_flattened, 512), nn.ReLU(), nn.Dropout(0.1), nn.Linear(512, self.out_channels)
20212021
)
20222022

0 commit comments

Comments
 (0)