[GNA] Fix ParseBlobName and message for output layer names (#3527)
This commit is contained in:
parent
2931cabf44
commit
9817b22295
@ -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));
|
||||
|
@ -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. " \
|
||||
|
Loading…
Reference in New Issue
Block a user