Creating a custom neural net with TensorFlow