clang
This commit is contained in:
parent
2a74294e34
commit
5592f9d2e2
@ -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) {
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user