add necessary input checks for matcaffe
Merge pull request #888 from ronghanghu/matcaffe-add-check

add necessary input checks for matcaffe
Fix the gflags namespace issue
Distribute the generated proto header files
Merge pull request #892 from kloudkl/distribute_generated_proto_headers

Distribute the generated proto header files
Merge pull request #891 from kloudkl/gflags_namespace

Fix the gflags namespace issue
Merge remote-tracking branch 'upstream/dev' into dev