Change default number of threads to 1.
authorShashi Shekhar <shashishekhar@google.com>
Fri, 11 May 2018 19:36:40 +0000 (12:36 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 11 May 2018 19:39:36 +0000 (12:39 -0700)
PiperOrigin-RevId: 196293227

tensorflow/contrib/lite/tools/benchmark_model.cc

index 93c80e0..671ee83 100644 (file)
@@ -354,7 +354,7 @@ int Main(int argc, char** argv) {
   string output_layer_string;  // e.g.: output
   int num_runs = 50;
   string run_delay = "-1.0";
-  int num_threads = -1;
+  int num_threads = 1;
   string benchmark_name = "";
   string output_prefix = "";
   int warmup_runs = 1;