MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / forward

Method forward

monai/networks/nets/unet.py:297–299  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

295 return conv
296
297 def forward(self, x: torch.Tensor) -> torch.Tensor:
298 x = self.model(x)
299 return x
300
301
302class CheckpointUNet(UNet):

Callers 1

test_ill_input_shapeMethod · 0.95

Calls 1

modelMethod · 0.80

Tested by 1

test_ill_input_shapeMethod · 0.76