This commit is contained in:
myshevts 2021-11-19 13:54:09 +03:00
parent 2a74294e34
commit 5592f9d2e2
2 changed files with 5 additions and 4 deletions

View File

@ -405,9 +405,10 @@ void fillBlobs(const std::vector<std::string>& inputFiles,
}
}
// Fill random
// slog::info << "Fill input '" << item.first << "' with random values ("
// << std::string((app_info.isImage() ? "image" : "some binary data")) << " is expected)"
// << slog::endl;
// slog::info << "Fill input '" << item.first << "' with random values ("
// << std::string((app_info.isImage() ? "image" : "some binary data")) << " is
// expected)"
// << slog::endl;
if (precision == InferenceEngine::Precision::FP32) {
fillBlobRandom<float, float>(inputBlob);
} else if (precision == InferenceEngine::Precision::FP16) {

View File

@ -109,7 +109,7 @@ std::vector<std::string> parseDevices(const std::string& device_string) {
std::string comma_separated_devices = device_string;
auto colon = comma_separated_devices.find(":");
if (colon != std::string::npos) {
auto bracket = comma_separated_devices.find("("); // e.g. in BATCH:GPU(4)
auto bracket = comma_separated_devices.find("("); // e.g. in BATCH:GPU(4)
comma_separated_devices = comma_separated_devices.substr(colon + 1, bracket - colon - 1);
}
if ((comma_separated_devices == "MULTI") || (comma_separated_devices == "HETERO"))