Port pole balancing example to DeepNetwork.