CMSIS-NN: Regenerated patterns for arm_softmax_q7 to test the tail of

the loops.
pull/19/head
Christophe Favergeon 6 years ago
parent 56bd14f436
commit 8a8bf1ebb3

@ -46,7 +46,7 @@ def writeTest(config,nb,vecDim):
def writeTests(config):
writeTest(config,1,20)
writeTest(config,1,21)
PATTERNDIR = os.path.join("Patterns","NN","Softmax",)

@ -2,5 +2,5 @@ H
2
// 500
0x01F4
// 20
0x0014
// 21
0x0015

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -63,7 +63,7 @@ int16_t differences(int16_t *pa,int16_t *pb, int length)
int diff = differences(ref.ptr(),output.ptr(),this->nbSamples);
//printf("diffs = %d\n",diff);
// 6% of errors are accepted for 20 entry samples
ASSERT_TRUE(100.0*diff/this->nbSamples <= 6);
ASSERT_TRUE(100.0*diff/this->nbSamples <= 6.5);
}

Loading…
Cancel
Save