Skip to content

Commit f1824c4

Browse files
committed
Cleanup of unneeded changes
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
1 parent 52ba27d commit f1824c4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

monai/networks/layers/spatial_transforms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,13 +582,11 @@ def forward(
582582
)
583583

584584
grid = nn.functional.affine_grid(theta=theta[:, :sr], size=list(dst_size), align_corners=self.align_corners)
585-
586585
dst = nn.functional.grid_sample(
587586
input=src.contiguous(),
588587
grid=grid,
589588
mode=self.mode,
590589
padding_mode=self.padding_mode,
591590
align_corners=self.align_corners,
592591
)
593-
594592
return dst

0 commit comments

Comments
 (0)