Age | Commit message (Collapse) | Author |
|
* Replace calls to ARMNN_ASSERT with DOCTEST CHECK.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I8904d169b2099d57a344e319b2f14cf5d8392ae8
|
|
* Identify usages of ARMNN_ASSERT that should be proper exceptions.
* Change ARMNN_ASSERT in Doctests to CHECK.
* Verify any remaining assertions are reasonable.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: Ifd1f2a5a4bb60135e8654305035ec70e09c4dc2d
|
|
* Rewrote constexpr check to avoid a compile error
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: I09a61314b1b4a5aa1e2baa52711f470802f04131
|
|
* Skipping the optimization which folds pad and conv2d
together for a specific case: 1x1 filter and
padding size >= filter size
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: I46944e9f736df1ff60469b2d2852e1bba01ab8cd
|
|
* Add Reshape EndToEnd tests to all backends
Signed-off-by: Declan-ARM <decmce01@arm.com>
Change-Id: Ic6d07ba8de0cf3271ed0e4c6d604e070ccb968e3
|
|
* Currently Sigmoid and TanH Functions are implemented.
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: If9483be9201dfe47b86acc41ec7932725ac2e39e
|
|
* Added softmax operator support
* Added test cases
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I51d530b110c4cb812f5aab31ad1ee4022d81d19e
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ib95eb0fd71106e684cb7652917b8de9f0ac73f9c
|
|
* Refactor to generalize
* Add MUL
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2ee273d50d3a8b114b5a41abc8ee7585b15e3308
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I9714c4c57e923ac775dcde2951de07cea35c40ee
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I695ef452d004ed7b606020037cad681ef1fc80c3
|
|
* Added cast operator support
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: Ie12cb1559a7a059ff35e1c395bc77243499243cd
|
|
* Add Pool2d EndToEnd tests to all backends
* Add utility functions for the attributes in a separate file
* Remove some unnecessary includes
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I0f82ebbf7b3301c6368462fb4fb4d4d02b246fc6
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I3d089e7f1b75596501130d3ece3a94dd326cc27e
|
|
* Added support for Gpu Sub operator
* Added unit tests
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I1efaa485772a3716e3781566843bd50bd9bab811
|
|
* Adding support for Gpu Add operator
* Added tests for layer support, end to end and optimization
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: Ie9328d269c5c0ff60a7e10133b728ac9265033af
|
|
* Added DepthwiseConv2d support for GpuFsa backend.
* Updated DepthwiseConv2d End-to-End test
Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I646839980d138ae235a00990c97c6e66a4418a5e
|
|
* Updates to the existing GpuFsa backend to incorporate patch:
https://review.mlplatform.org/c/ml/ComputeLibrary/+/10990
* Update the ACL pin to include the patch with the fixes
Change-Id: I08d111265f4617657ee7f20249aeb111f64ba7a9
Signed-off-by: David Monahan <david.monahan@arm.com>
|
|
* Using the tosa defines from the serialization library
to avoid compile errors in other backends
* Fixing a bug in the version compat macro
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: Ie4ee80666c6f8033bb72e0e6cb8ca5ef41933990
|
|
* Add PreCompiledWorkload implementation for GpuFsa
* Add ConstantWorkload implementation for GpuFsa
* Add Input/Output workloads for GpuFsa
* Added CopyMemGeneric workload for GpuFsa
* Separate creation and validation of sketch tensors into seperate functions
Signed-off-by: Kevin May <kevin.may@arm.com>
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ie7299a4c61073b5ca03d9f8681458869ef7ce743
|
|
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: If2d5005889b8b0011e4592b46276367798556751
|
|
* Adding a one to many FP32 tosa mapping for Leaky Relu
* Added a few utilities that are needed
* Added new tests
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: If1d7c57a523961581777a244416a7346a9310803
|
|
Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I4d04fef5ce97901cd687e29adf86b18cb54a5d9a
|
|
valgrind
* Add end to end unit test to CpuRef, CpuAcc and GpuAcc backends
Resolves: IVGCVSW-8193
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7be226f084ec814ac72c2c9b3c47c07b3baf0aa5
|
|
* Adding a one to many tosa mapping for Quantize
* Added tests
* Resolves IVGCVSW-7175
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ia0852fefb618b4a29c2601b9de8b6b2731229801
|
|
* Relates to IVGCVSW-8193 and IVGCVSW-7346
Change-Id: Ieccee93672a5c73297c4ce69d1eaec588e858df0
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I44df03acd348532a54b66541d91610d382a222b7
|
|
* Remove reshape on ClBackend
* Remove unnecessary restriction on NeonBackend remove Reshape
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I79940c9f8609d19b79f2fbe55225ffc8f0d90c25
|
|
* Added ElementwiseBinary EndToEnd tests with inputs of the same shape to avoid Reshape
* Added Slice EndToEnd tests with 4D tensors
* Added TosaReference support for Maximum and TosaRefEndToEnd tests
Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I4fa24435a75559e00b110d0e542b4f2bf07b21b4
|
|
* Resolves IVGCVSW-7918
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Idd15ce139f55895957378f9a9d1471e3e48989bb
|
|
* Resolves IVGCVSW-7918
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Ic2afaa55f7ee88ce4c9b8ea696eef5f28663f8c6
|
|
* Add support for quantized data in TosaRefPreCompiledWorkloadGetOutput.
* Remove extra includes from all TOSA operators headers.
* Added positive and negative unit tests for resize.
* Resolves: IVGCVSW-7346
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ib6e30d018a7a1bf26b380fc794560aae108b26c3
|
|
* Added in missing include MemoryGroup.h
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I2a5f4f25ec8cdd63d90399c042d46e26b3e2a364
|
|
Squashed commit of the following:
IVGCVSW-7159 Add GpuFsa backend skeleton
IVGCVSW-7380 Update the GpuFsa Skeleton to build and load ACL
IVGCVSW-7381 Add IsLayerSupported implementation to GpuFsa backend
IVGCVSW-7382 Implementation of Conv2d within GpuFsa
Signed-off-by: James Conroy <james.conroy@arm.com>
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Id23d9ee598535de7b38a99ca223cdf0ad2102cef
|
|
* The compiler shipped with NDK r26 has stricter rules around certain
warnings and deprecation notices.
* Fixed warnings for unqualified call to 'std::move'
* Fixed error where the half values weren't being cast to a float
when calling 'std::nan'
* Removed unnecessary subtensor unit tests for neon
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I4ceb46e55ff5f2a754452e3a43de2188d58bf927
|
|
* Added ReverseV2 to CL and Neon backends
* Added Cl and Neon ReverseV2 Layer unit tests
Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I646275c629caf17dac1950b0cd7083f23f87f387
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: If156b975d37868db77d7c6bb75d884652278e02a
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ic3c42db6fd87b379b42d610e0d0f56f55580268d
|
|
* Following resolution of COMPMID-6397 we will allow non
const bias CONV2D to be validated by ACL.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I31c34f3c44fe96885077b3e266f840e51ecf02ec
|
|
* Remove mention of "isDepthwise" variable name when not needed and therefore IgnoreUnused call
* Improve error messages and change them to throws in Encoder and Decoder
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I8ce30b5075e1e47d54abc12390265ba8e9ee1405
|
|
* Update ACL pin
* ACL removed softmax_layer_max_shift_exp_sum_quantized_serial cl kernel
* Replace softmax_layer_max_shift_exp_sum_quantized_serial with softmax_x
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I0830605d72999d5a80f06e1b8498bc7b674195e3
|
|
* Report unsupported when indices have negative values
Signed-off-by: Ciara Sookarry <ciara.sookarry@arm.com>
Change-Id: I9592dcd8c5556d57bedc0d2236f0338c83e597d2
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ib49795e44ea7e4674a3b8e0df46e80c82f9a4132
|
|
* Added validation for scale on all Quantized types
* Added Encoder for Per Axis UINT16 Symmetrical Quantized type
* Added error for Per Axis Asymmetrical Quantized type not supported
Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com>
Change-Id: I433519ccacd71219a92bde2b81955d6abf9219c5
|
|
This reverts commit 008270f8c1359a7d62c2f881326b4d3f0d8b7b56.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: If8f5151aa349ff3834f03391e813669e5c51ed66
|
|
This reverts commit 47016c0c74fc97cf51f90555a11238332fe9406c.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I40856ccb581bf60c8a72ecac4cfe7375cbf4b286
|
|
* Removed the ASSERTS in TypesUtils.cpp in favour of InvalidArgumentExceptions instead
* Added a try/catch block when calling EnqueueWorkload to catch Exceptions raised by bad inputs
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Icade014ec75db13722eb5d8adc7bdb93c8862417
|
|
* Updated Opaque Delegate, TfliteParser, OnnxParser, and Deserializer to handle the Zero In Shape edge case
Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I4a0d1e72a66de1fa56de99af9b6730a84e0ff596
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: If1504534fbd7d6b317fdb93083dcdbd8b827764b
|
|
* Add support to CpuRef, CpuAcc and GpuAcc
* Add support to tflite parser, classic and opaque tflite delegates
* Add support to serializer and deserializer
* Add Unit tests
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibc60ef2ef2a051e6d9af6e15d24c46316ec19de4
|
|
ADD+MUL+Add+(Activation) in CpuAcc
* Adding CpuAcc backend optimization to fuse add+mul+add into one layer
* Tests added/enhanced
* Also added optional extended parameter to Graph::Print()
and throw macros that could be used in place of assert
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I5f8d094b969a130d8c2c7b4da07426313a9fea76
|