Add support of I64 for tests fillBlobs() (#14704)

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
This commit is contained in:
Vitaliy Urusovskij 2023-01-10 11:53:27 +04:00 committed by GitHub
parent 87d777c192
commit b64c1ff20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,8 @@ void fillBlobs(InferenceEngine::InferRequest inferRequest,
fillBlobImInfo<short>(inputBlob, batchSize, image_size);
} else if (item.second->getPrecision() == InferenceEngine::Precision::I32) {
fillBlobImInfo<int32_t>(inputBlob, batchSize, image_size);
} else if (item.second->getPrecision() == InferenceEngine::Precision::I64) {
fillBlobImInfo<int64_t>(inputBlob, batchSize, image_size);
} else if (item.second->getPrecision() == InferenceEngine::Precision::U8) {
fillBlobImInfo<uint8_t>(inputBlob, batchSize, image_size);
} else {
@ -44,6 +46,8 @@ void fillBlobs(InferenceEngine::InferRequest inferRequest,
fillBlobRandom<short>(inputBlob);
} else if (item.second->getPrecision() == InferenceEngine::Precision::I32) {
fillBlobRandom<int32_t>(inputBlob);
} else if (item.second->getPrecision() == InferenceEngine::Precision::I64) {
fillBlobRandom<int64_t>(inputBlob);
} else if (item.second->getPrecision() == InferenceEngine::Precision::U8) {
fillBlobRandom<uint8_t>(inputBlob);
} else if (item.second->getPrecision() == InferenceEngine::Precision::I8) {