[test] Add unittest for attention layer
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 5 Oct 2021 07:23:27 +0000 (16:23 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 8 Oct 2021 06:30:06 +0000 (15:30 +0900)
commit65c7a2e7bf78a0fca1d17241e9a2cb6a53dd5f2c
tree3fd11154ea98bf5c1636247e1a9efc2fd82220e1
parente251b171bf10fc40ba488dc7d37b2c267c5e99d9
[test] Add unittest for attention layer

This patch adds unittest for attention layer:
- unittest generator for layers is updated to work for multi-input
layers
- initial unittest for attention layer is added

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
test/input_gen/genLayerTests.py
test/input_gen/recorder.py
test/unittest/layers/unittest_layers_attention.cpp