fix Unsupported metric key: OPTIMAL_BATCH_SIZE

This commit is contained in:
panhaiqi
2023-10-17 18:04:28 +08:00
parent 088c9fa5e0
commit 2de26547ea

View File

@@ -71,6 +71,9 @@ inline const std::vector<std::map<std::string, std::string>> generate_configs(co
}
inline const std::string generate_complex_device_name(const std::string& deviceName) {
if (deviceName == "BATCH") {
return deviceName + ":" + ov::test::conformance::targetDevice + "(4)";
}
return deviceName + ":" + ov::test::conformance::targetDevice;
}