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

Method __init__

tests/test_utils.py:330–332  ·  view source on GitHub ↗
(self, pytorch_version_tuple)

Source from the content-addressed store, hash-verified

328 with PyTorch versions newer than or equal to that given."""
329
330 def __init__(self, pytorch_version_tuple):
331 self.max_version = pytorch_version_tuple
332 self.version_too_new = pytorch_after(*pytorch_version_tuple)
333
334 def __call__(self, obj):
335 return unittest.skipIf(

Callers

nothing calls this directly

Calls 1

pytorch_afterFunction · 0.90

Tested by

no test coverage detected