title: Keras custom loss function that computes the slope
body: <p>How do I write a custom loss function of keras that computes the slope of y_pred and y_true and calculates the difference between the two slopes?</p>