added deprecated warning to CrossEntropy