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

Method test_output

tests/transforms/post/test_probnms.py:65–68  ·  view source on GitHub ↗
(self, class_args, probs_map, expected)

Source from the content-addressed store, hash-verified

63class TestProbNMS(unittest.TestCase):
64 @parameterized.expand(TESTS)
65 def test_output(self, class_args, probs_map, expected):
66 nms = ProbNMS(**class_args)
67 output = nms(probs_map)
68 assert_allclose(output, expected)
69
70
71if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

ProbNMSClass · 0.90
assert_allcloseFunction · 0.90

Tested by

no test coverage detected