caffe extension works