[NPU] Set default value for batch mode property (#24452)

### Details:
- *A default value should be provided when the property is used by the
caching mechanism if the property was not provided by the user*

### Tickets:
 - *ticket-id*
This commit is contained in:
Bogdan Pereanu 2024-05-09 23:05:09 +03:00 committed by GitHub
parent cf76c9deb8
commit 0f66de2e26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,10 @@ struct BATCH_MODE final : OptionBase<BATCH_MODE, ov::intel_npu::BatchMode> {
return "ov::intel_npu::BatchMode";
}
static ov::intel_npu::BatchMode defaultValue() {
return ov::intel_npu::BatchMode::AUTO;
}
static ov::intel_npu::BatchMode parse(std::string_view val);
static std::string toString(const ov::intel_npu::BatchMode& val);