Ports#
- class hybrid_aif.system.Ports[source]#
Bases:
NamedTupleA System’s ports and their types (
System.ports()): each maps a port’s name to(LEVEL, levels)or(FLOAT, dimension).- ins: dict[str, tuple[str, int]]#
The in-ports: each modality and each control node, except the slots
System.observesnames (seeSystem.ports()).
- outs: dict[str, tuple[str, int]]#
The out-ports: each action node (typed as its control node) and each emission (typed by its kernel).
- static __new__(_cls, ins, outs)#
Create new instance of Ports(ins, outs)