simpleml.registries.keras_registry

Keras specific registry. Autoregisters when used as a base class

Module Contents

Classes

KerasRegistry

Metaclass for defining Abstract Base Classes (ABCs).

Attributes

KERAS_REGISTRY

__author__

simpleml.registries.keras_registry.KERAS_REGISTRY[source]
simpleml.registries.keras_registry.__author__ = Elisha Yadgaran[source]
class simpleml.registries.keras_registry.KerasRegistry[source]

Bases: abc.ABCMeta

Metaclass for defining Abstract Base Classes (ABCs).

Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).