Imported from https://github.com/TuSimple/resnet.mxnet