Gan Neural Network Python Code