[GNA] Fix ParseBlobName and message for output layer names (#3527)

This commit is contained in:
Andrey Dmitriev 2021-01-26 14:23:36 +03:00 committed by GitHub
parent 2931cabf44
commit 9817b22295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -432,7 +432,7 @@ std::vector<std::string> ParseBlobName(std::string str) {
size_t pos_last = 0;
size_t pos_next = 0;
while ((pos_next = str.find(",", pos_last)) != std::string::npos) {
blobName.push_back(str.substr(pos_last, pos_next));
blobName.push_back(str.substr(pos_last, pos_next - pos_last));
pos_last = pos_next + 1;
}
blobName.push_back(str.substr(pos_last));

View File

@ -84,7 +84,7 @@ static const char context_window_message_r[] = "Optional. Number of frames for r
/// @brief message for output layer names
static const char output_layer_names_message[] = "Optional. Layer names for output blobs. " \
"The names are separated with \",\" " \
"Example: input1:port,input2:port ";
"Example: Output1:port,Output2:port ";
/// @brief message for inputs layer names
static const char input_layer_names_message[] = "Optional. Layer names for input blobs. " \