add two new layers MULTINOMIAL_LOGISTIC_SPARSITY_LOSS and PROBABLISTIC_AVERAGE_PROB