utils.design_helper

design_helper

Please Reference ding/ding/utils/design_helper.py for usage.

SingletonMetaclass

class ding.utils.design_helper.SingletonMetaclass(name, bases, namespace, **kwargs)[source]
Overview:

Returns the given type instance in input class

Interface:

__call__

__call__(*args, **kwargs) object[source]

Call self as a function.