TensorFlow as a general machine learning library