The autoreload extension is already loaded. To reload it, use:
%reload_ext autoreload
The autoreload extension is already loaded. To reload it, use:
%reload_ext autoreload
LevelKey (value, names=None, module=None, qualname=None, type=None, start=1)
An enumeration.
ArchitectureStructure (references=None, config=None, attr_mut_pb=None, lower_float=None, upper_float=None, levels_limit=None, columns_limit=None, sigma=None, mu=None, alpha=None, modes=None, namespace=None, **cargs)
ArchitectureStructure
config = arch.get_config()
print(arch.get_config())
target = {'parameters': { 'modes' : {LevelKey.ZERO:3, LevelKey.N:3,LevelKey.TOP:4,LevelKey.ZEROTOP :4} }}
assert config == target
{'parameters': {'modes': {<LevelKey.ZERO: 'level0'>: 3, <LevelKey.N: 'leveln'>: 3, <LevelKey.TOP: 'leveltop'>: 4, <LevelKey.ZEROTOP: 'level0top'>: 4}}}