const std::string kIsDynamicMode = "isDynamicMode";
const std::string kListenerName = "listenerName";
const std::string kLocation = "location";
-const std::string kModelPath = "configPath";
+const std::string kModelPath = "modelPath";
+const std::string kConfigPath = "configPath";
const std::string kName = "name";
const std::string kNnfw = "nnfw";
const std::string kCustomRequirement = "customRequirement";
ScopeLogger("args: %s", args.serialize().c_str());
int id = -1;
PlatformResult result;
- if (args.contains(kModelPath)) {
+ if (args.contains(kConfigPath)) {
// create model with config file
- CHECK_ARGS(args, kModelPath, std::string, out);
- const auto& config_path =
- common::tools::ConvertUriToPath(args.get(kModelPath).get<std::string>());
+ CHECK_ARGS(args, kConfigPath, std::string, out);
+ const auto& config_path = common::tools::ConvertUriToPath(
+ args.get(kConfigPath).get<std::string>());
CHECK_STORAGE_ACCESS(config_path, &out);
result = trainer_manager_.CreateModel(id, config_path);