# Ordinal Classification As Cost Function - In Keras or Tensorflow

I am having a hard time implementing/using an ordinal classification cost function for my Convolutional Neural Network in Tensorflow.

Any implementations/documentation/repository on that which you know of?