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

Method test_norm_layer

tests/networks/layers/test_get_layers.py:56–58  ·  view source on GitHub ↗
(self, input_param, expected)

Source from the content-addressed store, hash-verified

54
55 @parameterized.expand(TEST_CASE_NORM)
56 def test_norm_layer(self, input_param, expected):
57 layer = get_norm_layer(**input_param)
58 self.assertEqual(_strip_bias_field(f"{layer}"), _strip_bias_field(expected))
59
60 @parameterized.expand(TEST_CASE_ACT)
61 def test_act_layer(self, input_param, expected):

Callers

nothing calls this directly

Calls 2

get_norm_layerFunction · 0.90
_strip_bias_fieldFunction · 0.85

Tested by

no test coverage detected