Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-MONAI/MONAI
/ forward
Method
forward
tests/networks/utils/test_copy_model_state.py:31–34 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
29
self.class_layer = torch.nn.Linear(n_m, n_class)
30
31
def
forward(self, x):
32
x = self.layer(x)
33
x = self.class_layer(x)
34
return
x
35
36
37
class
_TestModelTwo(torch.nn.Module):
Callers
15
test_shape
Method · 0.45
test_decoder_padding_shape
Method · 0.45
test_shape
Method · 0.45
test_shape
Method · 0.45
test_shape
Method · 0.45
test_shape
Method · 0.45
test_shape
Method · 0.45
test_121_2d_shape_pretrain
Method · 0.45
test_pretrain_consistency
Method · 0.45
test_densenet_shape
Method · 0.45
test_shape
Method · 0.45
test_shape
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected