Keras and TensorFlow background