* Fix FakeQuantize weights fusion when multiple operations were using the same const
* [GNA] Fix scale factor calculation for Relu if it has source and doesn't have destination statistics
Co-authored-by: Dmitrii Khurtin <dmitrii.khurtin@intel.com>
* Removed old stuff
* Moved more stuff to old helpers
* Rewritten LRN tests
* Removed IRBuild_v6
* Fixed caching tests by changing test function
* Removed Jira tickets
* Swap inputs pass
* [GNA] Handle case Gemm layer
* [GNA] Convert Matmul to FC
* VS tests
* Move to common optimization
* Gemm execution such as FC
* Test calc scale_factor
* Some changes
* Working version
* [GNA] Insert transpose between convolution/pooling and reshape.
Insert copy layers after concat inputs with multiple connections to the concat.
Accept networks with input connected to layers with different orientations if one of input dimensions is 1.
Fix scale factor calculation for Eltwise layer.
Fixes for Gemm quantization.
* Insert transpose after Reshape and before Matmul
* Fix concat input alignment when it's the network input
* Comments applying
Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
* [GNA] Add basic low precision support for more layer types, add simple test
* [GNA] Fix test
* [GNA] Make divisor const, add more clarity to some conditions
* Proper cleanup of cache_dir on start/end tests
Also add ability to skip the test depending on plugins 'skip_test_config'
* [GNA] Enable IMPORT_EXPORT_SUPPORT metric
Some tests were skipped, appropriate tickets were raised
* [GNA] Add low precision support for some layers (affine, eltwise, ReLU, sigmoid)
* [GNA] Fix convolution and scaleshift regression fail
* [GNA] Fix const scale factor calc
* [GNA] Fix extra whitespace
* [GNA] Eltwise padding and low precision primitive creation support
* [GNA] Changes after review
* [GNA] Remove INPUT_PRECISION GNA flag
Remove INPUT_PRECISION flag, all references to it
and tests using it. Other minor stylistic changes and cleanup.
* [Plugins test] Add functional test for correct import/export support by plugins
Test suite creates number of models with various precisions.
For each model:
- If plugin doesn't support IMPORT_EXPORT_SUPPORT metric - skip the test
- Try LoadNetwork without cache enabled fails - skip the test
- Do one inference
If Load and Infer request is succeeded and plugin has import metric:
- Load network with cache enabled. Infer request and compare outputs with original infer
- Import network, perform inference. Compare outputs with previous ones
* Fix Centos build warnings
Myriad: reset executableNetwork before next load
Myriad: Reduced time consumption for Myriad tests
* Caching test suite - batch size parameter support
* Fix issue with GNA Import/Export.
Application may create ostream and write some app-specific header to beginning of stream.
GNA plug-in shall not 'seekg' to beginning of stream where app-specific content is located.
Instead it shall seek to the original position of stream
Functional test is also updated to cover this case
* Updated according to review comments
- Check return code right after 'istream::tellg'
- Added 'applicationHeader' as parameter to base ImportExport tests
* Error check for startPos + unit test
* Suppress deprecated warnings like in other GNA tests
* [GNA] Support Pooling 2D
Refactor Pooling
Remove unused sum pooling
Skip ReorderPoolActivation pass when 2D pooling detected
Enable fusing of Pool2D with other components into GNA Operation
* Support GNA_SW_FP32 mode for Pooling 2D with tests
* Apply review
typo
* Apply review
Restore indentation
* fixed: StrideSlice/Crop was broken when crop axis != dim.size() - 1 & added support for tensor dim > 2
fixed: clamp had hard coded upper & lower boundary to -50/50
fixed: InsertIdentityLayerPass was adding not necessary identities that was leading to exception when 2 identities was added to convolution output
fixed: SubstituteScaleShiftBroadCastPass caused invalid input tensor dimension overwrite - instead of overwrite currently reshape is injected
* updated copyright header dates
* updated copyright date
* fixed braces not at the end of line
* fixed braces in if else sequence
* shortened line length
* fixed issues reported in review
* fixed test - model in test assumed clamped range <-5,5> however code had hard coded value <-50,50>, which test assumed as correct result
* fixed smoke_MemoryEltwiseReshapeConcatTest/MemoryEltwiseReshapeConcatTest
* [GNA] Added test for crop 4d
Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
Enable tests including rectangular kernel and multiple kernels
Pad filters to 16B
Fix style space after if before ( needed
Fix PRETTY_FUNCTION double def
Fix canMatchWith1AsyncThread
Fix ifdefs for gna 2.0
Add and fix mock
Simplify and fix condition for Rotate features
Refine commnets in GNA CONV tests file
Apply review, Refactor ConvolutionPrimitive
Refine CNN enforce legacy
Add debug print
Move debug dump definitions
Add new metric for GNA library version
Add coments on FP32