Skip to content

role

Role

This class defines the participant roles of the platform.

Source code in nebula/core/role.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
class Role:
    """
    This class defines the participant roles of the platform.
    """

    TRAINER = "trainer"
    AGGREGATOR = "aggregator"
    PROXY = "proxy"
    IDLE = "idle"
    SERVER = "server"