Neural Network Api Example Code Python