merge caffe