Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / samples / lenet_network_graph_builder / lenet_network_graph_builder.hpp
index 7cb59e2..47c6277 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 // SPDX-License-Identifier: Apache-2.0
 //
 
@@ -15,8 +15,6 @@
 #include <dirent.h>
 #endif
 
-#define DEFAULT_PATH_P "./lib"
-
 /// @brief message for help argument
 static const char help_message[] = "Print a usage message";
 
@@ -28,8 +26,8 @@ static const char model_message[] = "Path to an .bin file with weights for train
 
 /// @brief message for assigning cnn calculation to device
 static const char target_device_message[] = "Specify the target device to infer on this. " \
-                                            "Sample will look for a suitable plugin for device specified" \
-                                            "(default value is CPU)";
+                                            "Sample will look for a suitable plugin for device specified" \
+                                            "Default value is CPU";
 
 /// @brief message for plugin_path argument
 static const char plugin_path_message[] = "Path to a plugin folder";
@@ -38,10 +36,10 @@ static const char plugin_path_message[] = "Path to a plugin folder";
 static const char performance_counter_message[] = "Enables per-layer performance report";
 
 /// @brief message for top results number
-static const char ntop_message[] = "Number of top results (default 10)";
+static const char ntop_message[] = "Number of top results. Default 10";
 
 /// @brief message for iterations count
-static const char iterations_count_message[] = "Number of iterations (default 1)";
+static const char iterations_count_message[] = "Number of iterations. Default value is 1";
 
 /// \brief Define flag for showing help message <br>
 DEFINE_bool(h, false, help_message);
@@ -65,10 +63,10 @@ DEFINE_string(pp, "", plugin_path_message);
 DEFINE_bool(pc, false, performance_counter_message);
 
 /// @brief Top results number (default 10) <br>
-DEFINE_int32(nt, 10, ntop_message);
+DEFINE_uint32(nt, 10, ntop_message);
 
 /// @brief Iterations count (default 1)
-DEFINE_int32(ni, 1, iterations_count_message);
+DEFINE_uint32(ni, 1, iterations_count_message);
 
 /**
  * \brief This function show a help message
@@ -87,4 +85,3 @@ static void showUsage() {
     std::cout << "    -nt \"<integer>\"         " << ntop_message << std::endl;
     std::cout << "    -ni \"<integer>\"         " << iterations_count_message << std::endl;
 }
-