deeplearning code