def scheduler_host()

in src/sagemaker_mxnet_container/training_utils.py [0:0]


def scheduler_host(hosts):
    """Return which host in a list of hosts serves as the scheduler for a parameter server setup.

    Args:
        hosts (list[str]): a list of hosts

    Returns:
        str: the name of the scheduler host
    """
    return hosts[0]