Add field average_check in caffe module by broff