def softmax_cross_entropy(x, t, use_cudnn=True, normalize=True, cache_score=True, class_weight=None):
 return SoftmaxCrossEntropy(use_cudnn, normalize, cache_score, class_weight)(x, t)

def softmax_cross_entropy ( x , t , use_cudnn = True , normalize = True , cache_score = True , class_weight = None ) : return SoftmaxCrossEntropy ( use_cudnn , normalize , cache_score , class_weight ) ( x , t )
computes cross entropy loss for pre-softmax activations .