summaryrefslogtreecommitdiff
path: root/tools/test_net.cpp
diff options
context:
space:
mode:
authorJeff Donahue <jeff.donahue@gmail.com>2014-02-25 20:39:01 -0800
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-02-26 15:42:39 -0800
commit8c58e415b40e16e5f13b23cf2790cc63ca59ca12 (patch)
tree7168c7090d4328964e484735034b4b8f19a1397e /tools/test_net.cpp
parenta51e35bd6c4ff4cb15472d7d74a6914627f8baa5 (diff)
downloadcaffeonacl-8c58e415b40e16e5f13b23cf2790cc63ca59ca12.tar.gz
caffeonacl-8c58e415b40e16e5f13b23cf2790cc63ca59ca12.tar.bz2
caffeonacl-8c58e415b40e16e5f13b23cf2790cc63ca59ca12.zip
fix linter errors in examples
Diffstat (limited to 'tools/test_net.cpp')
-rw-r--r--tools/test_net.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/test_net.cpp b/tools/test_net.cpp
index 5b8305af..c4c992aa 100644
--- a/tools/test_net.cpp
+++ b/tools/test_net.cpp
@@ -10,14 +10,16 @@
#include <cstring>
#include <cstdlib>
+#include <vector>
#include "caffe/caffe.hpp"
-using namespace caffe;
+using namespace caffe; // NOLINT(build/namespaces)
int main(int argc, char** argv) {
if (argc < 4) {
- LOG(ERROR) << "test_net net_proto pretrained_net_proto iterations [CPU/GPU]";
+ LOG(ERROR) << "test_net net_proto pretrained_net_proto iterations "
+ << "[CPU/GPU]";
return 0;
}