Shortcuts

Source code for ding.utils.fake_linklink

from collections import namedtuple


[docs]class FakeClass: """ Overview: Fake class. """
[docs] def __init__(self, *args, **kwargs): pass
[docs]class FakeNN: """ Overview: Fake nn class. """ SyncBatchNorm2d = FakeClass
link = FakeLink()