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

Method __init__

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

Source from the content-addressed store, hash-verified

314 with PyTorch versions older than that given."""
315
316 def __init__(self, pytorch_version_tuple):
317 self.min_version = pytorch_version_tuple
318 self.version_too_old = not pytorch_after(*pytorch_version_tuple)
319
320 def __call__(self, obj):
321 return unittest.skipIf(

Callers

nothing calls this directly

Calls 1

pytorch_afterFunction · 0.90

Tested by

no test coverage detected