Age | Commit message (Collapse) | Author |
|
and Prelu operators for Opaque Delegate
* Added missing headers to opaque/CMakeLists.txt (Control and Comparison)
* Cleaned up Control.hpp headers.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I442edb9c467b515b130fbaf02879f0802006255f
|
|
* Updating TF to the 2.12 SHA Arm NN will be using
* Turn Off JNI build
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ib75e16687ac3a2dd4a77ed68f97bf14fdd86eec0
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Id2b6a4f70b1cb50e5f7f7ab4e30487b3816c9ad4
|
|
* Added Opaque ArgMinMax and associated test cases
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I098b94cc35707370a0bbc7456bfdd48bb47432f0
|
|
Opaque Delegate
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I38304abce1a417bb69aced2a5b38e976ea0cbbc0
|
|
* If the output shape is given in Transpose convolution, use it to calculate the padding
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I0bf3dee94c2ce606ed67fb385018b220188c3017
|
|
!android-nn-driver:9431
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Change-Id: I58143445b5c5cf2aafd0838156c9543adce21e6a
|
|
in Opaque Delegate
* Removed input slot check from Connect function as number of TFLite
and Arm NN inputs can differ.
* Moved SetupConcatViewOrigin function to DelegateUtils.hpp
* Simplified validation checks in VistConvolution functions as IsValid
and IsDynamic were already being called.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I858dbe4b643f9d350d9c38ea255ce5effbda4612
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I94a95c84241e6beac63e4d4fc91c1d42a6ed2a5f
|
|
* Added VisitConvolution2d and VisitDepthwiseConv2d functions
to Convolution2d.hpp.
* Enabled Convolution2d and DepthwiseConv2d tests.
* Moved TransposeConvolution2d tests to separate file.
* Added Opaque Delegate shared functions.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ica10c9469fc830f512edad1ad79884f90ae511d0
|
|
* Implement CL kernel for a native batched matmul Quantized - LHS transposed, RHS transposed
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I00d1499033f7b6279d489c26c17200860daaf299
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I637fb48e5ae0e2bc90c2900b5b35860e0fbcfb25
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I8a0f60f8da878faac8254ecff112c66a92c4888e
|
|
* This was originated when setting scale to 1 in quantization parameters
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ic3192a6985f3afc595952eb5bfdaa9b628bbb88d
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I70d3673bbb2dc113ac5eb6d63029a4a4a684e831
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Idcad2be6cf1748583a00ec21ef4446604a34c519
|
|
* Add quantized CL MatMul kernels for Lhs NT/T, Rhs NT
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7f8c457ebee2e36674f59c687641d2ee74803012
|
|
* Reference workload
* TfLite Delegate
* TfLite Parser
* Serializer and Deserializer
* Changed fallback tests in delegate to use COS instead of CEIL
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I36e0dbff33694182d1dba0c95d463506428e2f04
|
|
* Arm NN does not account for int8 or uint8 not quantized types, Tensorflow does.
Not quantized int8 and uint8 is the same as quantized int8 and uint8 with scale = 1.0 and offset= 0
Default offset/zero_point was already 0, this review sets the default scale to 1.0.
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibc3eecc281de516c2cc706e17bde01c64ff9556e
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I9ded47fece6f19a302a0d017f6561c32b9c54daa
|
|
* Changed build so that electing to build the unit tests also builds
ExecuteNetwork and the other test applications.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I76cb6552a4f6dcee173de3dd05d43207e699a751
|
|
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I6ce034d71f83765a9db65ab8f95e0b391dd8a9e4
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: If764a8fac1a2aac0ef3b2418b56f4f87d61fd9d8
|
|
* Adds VisitCast function to Redefine.hpp
* Enables Cast Test for OpaqueUnitTests
* Various Fixes to the opaque delegate to allow operator to run
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I43d42eea5c987d6aed8a0f909a6bf583fddcc94e
|
|
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: Id4bdc31e3e6f18ccaef232c29a2d2825c915b21c
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I902c9187eefe7595271312fdc16273f7aa3d41cd
|
|
* Added opaque delegate DelegateTestInterpreter implementation
* Moved classic specific tests to ArmnnClassicDelegateTest.cpp
* Moved opaque specific tests to ArmnnOpaqueDelegateTest.cpp
* Removed ArmnnDelegateTest.cpp
* Moved TfLiteStableDelegate implementation to armnn_delegate.cpp
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ifc92b6fb38dc370f3fb88a4daca56d457e74bc2e
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I5d2fe903bab128e4fc84a8239ba5621f79572fe8
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I2a71d1d1024deccbcfdba44c2d77c7bb721b1ab4
|
|
* ABI break on the delegate interface. Bumping the version number.
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I6ef3bc1ea240ef08b67bb3cb9d363a5bbbbdd906
|
|
* Added ArmnnOpaqueDelegate::IdentifyOperatorsToDelegate implementation.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I0b65847358d339a15fc3f729f89deb9b86da0c66
|
|
* Updated all tests to use new DelegateTestInterpreter.
* Fixed some unit tests where the shape was incorrect.
* Add file identifier to FlatBuffersBuilder, as it is required for
validation when creating the model using new API.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I1c4f5464367b35d4528571fa94d14bfaef18fb4d
|
|
* Implement Armnn Subgraph methods in opaque armnn_delegate.cpp
* Temporarily remove opaque delegate from DelegateUnitTests
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I43557eb0b96a22c896890593a3ed9ca9744994bb
|
|
* Added required includes if ARMNN_LEAK_CHECKING_ENABLED.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I18bde66e8a1e19690747d7e05d10dbe0cedb1c1b
|
|
* Added ARMNN_NO_DEPRECATE_WARN_ to test files for Tosa and DynamicSample.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I2f1b771d719cf637e17cc423cd2211db9643a6e8
|
|
* Resolves MLCE-1040
Change-Id: I32878ed70af356832403e83dcb63b0b89a8a84e3
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
|
|
The initial model load and tensor allocation operations against the
TfLiteInterpreter were not checking return codes resulting in
segmentation faults.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I812785f0af9012c97570065d200f72eaf781165a
|
|
* Fixed broken steps in BuildGuideAndroidNDK.md
* Fixed broken links in BuildGuideAndroidNDK.md
* Removed unneeded steps from BuildGuideAndroidNDK.md
* Added instructions for building the tflite parser and delegate for
android
* Fixed errors in CMakeLists.txt that made it impossible to build without
Neon or Ref.
* Added build_android_ndk_guide.sh, a shell script that contains the same
steps as BuildGuideAndroidNDK.md
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Ie0479d3a2e4a776e7de88017b222d35a48c1fe10
|
|
Remove deprecated GetGraph() from OptimizationViews. This method has
been deprecated for a long time and no backends still need it. Remove
include of Graph.hpp from the public headers.
Add includes elsewhere to deal with the header fallout.
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: I8dae275a8a446d9d0e19be62684e9b3cd2fa493d
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I43c0aff1b1e0ebbf37c1e8e878283d77d4975954
|
|
* Added Deprecation notices for old ElementwiseBinary layers.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I5bd0f186aaed675885d667f47e1e210ee9ec84f8
|
|
* Add cropping support to NEBatchToSpace
Change-Id: I021f288cec3549423f30192a5d26673772df4b34
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
|
|
* Implement OpaqueDelegateUtils.hpp using new accessors.
* Moved classic delegate utils to ClassicDelegateUtils.hpp.
* DelegateUtils.hpp now contains common utils.
* Removed unused ConnectConstant function.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I0fa611c82f5c06b0b7e0c37bfc343e09fb6a96c9
|
|
This reverts commit 52e90bf59ecbe90d33368d8fc1fd120f07658aaf.
Change-Id: I5a0d244593d8e760ee7ba0c9d38c02377e1bdc24
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
|
|
* Also added cmake for the new layers to reduce merge conflicts.
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Ieb59aa2b7e2a18c57c9357b8d5b5cd63d8211c85
|
|
* conversion from ‘double’ to ‘float’ changes value
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Iebcc8adea54590fb6153db503e1dfccb082c9bd3
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibf7bf5eac91bf89101b1f20449edbbc542f3f679
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I74a93b1e2e5c9f12ce4523df3f21e5c0967fddfb
|
|
* Added Deprecation notices for old ElementwiseBinary layers.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Iebbbaff38cc9c347b25eb2f9054c914a4f931c68
|
|
* Fix BatchToSpaceFixture
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I40a7dabf25b96de7d31e4060390795035445d187
|