def softmax_categorical_crossentropy(y_pred, y_true):
 with tf.name_scope('SoftmaxCrossentropy'):
  return tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(y_pred, y_true))

def softmax_categorical_crossentropy ( y_pred , y_true ) : with tf . name_scope ( 'SoftmaxCrossentropy' ) : return tf . reduce_mean ( tf . nn . softmax_cross_entropy_with_logits ( y_pred , y_true ) )
softmax categorical crossentropy .