Created by: qingqing01
The code https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/fluid/operators/math/cross_entropy.cu#L29 does not throw an error when the label range is wrong.
Fix #10945 (closed)
Dot not merge, used for test and discussion.