in tools/jenkins-slave-creation-unix/scripts/deploy/slave-autoconnect.py [0:0]
def generate_node_label():
system = platform.system()
labelPlatform = "mxnet-"
# Determine platform type
if system == "Windows":
labelPlatform += "windows-"
elif system == "Linux":
labelPlatform += "linux-"
else:
raise RuntimeError("system {} is not supported yet".format(system))
# Determine whether CPU or GPU system
if is_gpu_present():
labelPlatform += "gpu"
else:
labelPlatform += "cpu"
return labelPlatform