'Predict Label.
Predict class labels for input X.
Arguments:
X: array, `list` of array (if multiple inputs) or `dict`
(with inputs layer name as keys). Data to feed for prediction.
Returns:
array or `list` of array. The predicted classes index array, sorted
by descendant probability value.'

def predict_label(self, X):

    feed_dict = feed_dict_builder(X, None, self.inputs, None)
    labels = np.argsort(self.predictor.predict(feed_dict))
    if (labels.ndim == 1):
        return labels[::(-1)]
    else:
        return labels[:, ::(-1)]
