We need to support CrossEntropyCriterion layer to enable resnet. We can reference the torch implementation at [https://github.com/torch/nn/blob/master/CrossEntropyCriterion.lua](https://github.com/torch/nn/blob/master/CrossEntropyCriterion.lua).