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

Method forward

tests/testing_data/bundle_test_network.py:25–29  ·  view source on GitHub ↗
(self, x: torch.Tensor, extra_arg1: int, extra_arg2: int)

Source from the content-addressed store, hash-verified

23 """
24
25 def forward(self, x: torch.Tensor, extra_arg1: int, extra_arg2: int) -> torch.Tensor: # type: ignore
26 x = self.model(x)
27 x += extra_arg1
28 x += extra_arg2
29 return x

Callers

nothing calls this directly

Calls 1

modelMethod · 0.80

Tested by

no test coverage detected