In this recipe, we will learn how to distribute a TensorFlow computation across multiple servers. The key assumption is that the code is the same for both the workers and the parameter servers. Therefore the role of each computation node is passed a command line argument.