Configurable

Interfaces for configurable classes within ECGAN.

class ecgan.utils.configurable.Configurable[source]

Bases: abc.ABC

Interface of a class setup by the config.

abstract static configure()[source]

Return the default configuration of a configurable class.

Return type

Dict

class ecgan.utils.configurable.ConfigurableTorchModule[source]

Bases: torch.nn.modules.module.Module, ecgan.utils.configurable.Configurable

Configurable variant of the torch nn.Module class.

abstract static configure()[source]

Return the default configuration for a nn.Module.

Return type

Dict