[GNA] reduced number of iterations in FQ tests (#3378)

This commit is contained in:
Bartosz Sochacki 2020-11-26 17:49:16 +01:00 committed by GitHub
parent f12a6c6bb4
commit b660dfcd91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -54,10 +54,10 @@ const std::vector<size_t> levels = {16, 255, 256};
const std::vector<std::vector<float>> fqArgs = {{}};
const std::vector<std::vector<float>> inputParams = {{-10, 10, 0.1}, {}};
const std::vector<float> fqInputMin = {0, 1, 2, 3, 4, 5};
const std::vector<float> fqInputMax = {10, 9, 8, 7, 6};
const std::vector<float> fqOutputMin = {1, 2, 3, 4};
const std::vector<float> fqOutputMax = {8, 7, 6, 5};
const std::vector<float> fqInputMin = {0, 3};
const std::vector<float> fqInputMax = {10, 7};
const std::vector<float> fqOutputMin = {1, 3};
const std::vector<float> fqOutputMax = {7, 6};
std::vector<std::vector<float>> getInputOutputShapes(const std::vector<float> inputsMin,
const std::vector<float> inputsMax,

View File

@ -42,7 +42,7 @@ const std::vector<std::vector<size_t>> inputShapes = {
{1, 440}
};
const std::vector<std::vector<std::vector<size_t>>> constShapes = {
{{1}, {2048, 1}}
{{1}, {1024, 1}}
};
const std::vector<std::vector<std::vector<size_t>>> constShapes_int16 = {

View File

@ -145,7 +145,7 @@ TEST_P(FakeQuantizeLayerTest, CompareWithRefs) {
return;
}
size_t nIterations = (inputDataMax - inputDataMin) / inputDataResolution;
size_t nIterations = 1;
for (; nIterations != 0; nIterations--) {
UpdateSeed();
Infer();