SINGA-300 - Add residual networks for imagenet classification

fix bugs for using CPU
3 files changed