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

Method test_act_layer

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

Source from the content-addressed store, hash-verified

59
60 @parameterized.expand(TEST_CASE_ACT)
61 def test_act_layer(self, input_param, expected):
62 layer = get_act_layer(**input_param)
63 self.assertEqual(f"{layer}", expected)
64
65 @parameterized.expand(TEST_CASE_DROPOUT)
66 def test_dropout_layer(self, input_param, expected):

Callers

nothing calls this directly

Calls 1

get_act_layerFunction · 0.90

Tested by

no test coverage detected