Age | Commit message (Collapse) | Author |
|
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I59359d4ffaf55963442ebb0231e1ee4a77616c28
|
|
* The permutation of the tensor info is now completely handled in
the armnnUtils::Permuted function. That includes quantization
informations too
!armnn:5411
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I40410141303d950be7888f9e491133251b6f69d8
|
|
* A number of DepthwiseConv2d Cts tests pass a filter operand with a
dimension[0] value greater than 1 in contravention of Android
documentation. Adding a check to handle this gracefully.
* Changing a hard assert in ConversionUtils::ConstTensorPin to a warning.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I605340d098b717d1d88d259a0ed89a801287764d
|
|
* Enabled weights and bias as inputs in FULLY_CONNECTED operator.
!armnn:5180
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Id325a8bf5be5a772191d27ae89485e992f0c48fa
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I1e1db52322092c6b1b7ac6183c3adc90aabcec24
|
|
* Update to use dot operator for IsXXXLayerSupported()
* Call LayerSupportHandle member funciton to check is Backend Registered
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: If0b9876068db8957a8bdb690ad323cd8dce544a4
!armnn:4924
|
|
* WIP
!armnn:4231
!armnn:4287
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I7844efc84fac018d8aad1f72dd236ede3fd8e7f2
|
|
* Added 3D permutation vector to prevent mismatch between mappings
and numDimensions in dynamic concats
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ia580deaa8a4f6245c7e4d319d5d0ed837c7dc02a
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I011466158b6736670bafba474e8c9ce12c38e229
|
|
* Replaced with armnn/utility/NumericCast.hpp
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I6253261508e49ddeaa5ba3f3893a059486637467
|
|
* Move ProcessActivation from Convert<LayerName>
to SetupAndTrackLayerOutputSlot by passing optional ActivationFn
* Connect Activation after IsTensorInfoSet() is called
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I472bcb65b12ae6e934bd1e9af8a6f6aceb311c0e
|
|
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I13e16d271ba55217b98a439aa82931f809fdeeb8
|
|
* Enabled Dynamic Tensors on LSTM operator
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I9cae539559570a44088a986870d3d3e41aee9468
|
|
* Enabled dynamic type tensors on Squeeze operator in nn-driver.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I2092cf6087da2821a07bd4743c4676d5afb35e66
|
|
unsupported operation with with dynamic inputs
Change-Id: Ia30698d608810dabb419d7d326ad985789d50603
Signed-off-by: Finn Williams <Finn.Williams@Arm.com>
|
|
* Correctly handle HalOperandLifeTime::NO_VALUE in ConvertTranspose
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I36790a90b5a3eac3da9e4edafc96387bb4375db9
|
|
Signed-off-by: Finn Williams <Finn.Williams@Arm.com>
Change-Id: I4729497e67b711a8f1fbf7c555a26e97fa6c9ab6
|
|
* ConvertToActivation
* ConvertAdd
* ConvertArgMinMax
* ConvertConv2d
* ConvertDepthToSpace
* ConvertDepthwiseConv2d
* ConvertDiv
* ConvertFloor
* ConvertFullyConnected
* ConvertL2Normalization
* ConvertLocalResponseNormalization
* ConvertMean
* ConvertMul
* ConvertPad
* ConvertReshape
* ConvertSub
* ConvertStridedSlice
* ConvertTranspose
* ConvertBatchToSpaceNd
* ConvertSpaceToBatchNd
* ConvertComparison_1_2
* ConvertConv2d_1_2
* ConvertDepthwiseConv2d_1_2
* ConvertElementwiseUnary
* ConvertExpandDims
* ConvertGather
* ConvertGroupedConv2d
* ConvertInstanceNormalization
* ConvertLogSoftmax
* ConvertMaximum
* ConvertMinimum
* ConvertPadV2
* ConvertPrelu
* ConvertQuantize
* ConvertResize
* ConvertSpaceToDepth
* ConvertSoftmax
* ConvertTransposeConv2d
Signed-off-by: Finn Williams <Finn.Williams@Arm.com>
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Idacf16e5eab56d83fce293570bbc89381ae056dc
|
|
* Change NN Driver m_Network to now have ShapeInferenceMethod::InferAndValidate
* Implement dynamic tensor support for:
- ArgMinMax layer
- Pooling2d layer
- Activation layer
* Skip dynamic tensor tests for any HAL other than 1.3
Change-Id: Icf66c968e49cdd4822b8c79c5f18b3f9e97dc53f
Signed-off-by: Finn Williams <Finn.Williams@Arm.com>
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
|
|
!armnn:3330
Signed-off-by: Finn Williams <Finn.Williams@Arm.com>
Change-Id: Icc429d9fabb570193d12bffef0e00dda7b51032f
|
|
* Added check for negative stride with ShrinkAxisMask
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8ba0a5e84cdc5d3367b683efb620f078b6cc4147
|
|
* Add QLSTM support for Android NN Driver
* Add overrideOutputInfo parameter to SetupAndTrackLayerOutputSlot
* Add optional condition to GetInputScalar
* Refactor Quantized 16 Bit LSTM impl
Change-Id: Ie8fa98ad5ee4a62174ef91ca80f1df62b7fde937
Signed-off-by: Keith Davis <keith.davis@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
|
|
* Check if the output is large enough to hold the slice in the driver
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Iaef16167e891a41186de030324bb45b8bbca4d80
|
|
* Added GetOptionalBool function
* Added checks to Resize for unsupported operands AlignCorners and HalfPixelCenters
!armnn:3062
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ic0305014ed2638e3a3d1e7520972e3a2909e504b
|
|
* Optional timeline parameters are not supported yet.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ic5d6cd6af0cd87d4acba102a48fc94ec8b406377
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7962be3a77cacf15dad594f0a907499c5b39bfeb
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: If602024a339df7548333e470545f9400c3daf7b3
|
|
* IVGCVSW-4441 Add Support for ANEURALNETWORKS_ELU
* IVGCVSW-4443 Add Support for ANEURALNETWORKS_HARD_SWISH
* IVGCVSW-4448 Add TENSOR_QUANT8_ASYMM_SIGNED data type support
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Idb9bb3f463b956221711423c15b6557eeb1af7db
|
|
* Add new 1.3 files HalPolicy, ArmnnDriver, ArmnnDriverImpl
* Add new .rc file for 1.3 service
* Add ArmnnPreparedModel_1_3 and implement new functions
* Update Android.mk with 1.3 driver and service
* Refactor ifdef to include ARMNN_ANDROID_NN_V1_3
* Create Utils getMainModel for new 1.3 Model Main Subgraph
* Use android Utils to convertToV1_X in ArmnnPrepapredModel_1_3
* Refactor HAL 1.2 convert functions into ConversionUtils_1_2.hpp
* Replace ArmnnBurstExecutorWithCache with call to ExecutionBurstServer
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I514069e9e1b16bcd1c4abfb5d563d25ac22d02e3
|
|
* Added TENSOR_BOOL8 support
* Added Broadcast support to comparision operators
!armnn:2903
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I844e32b57399eff2dc60af9b2099145316c80cae
|
|
* replaced boost::ignore_unused with armnn::IgnoreUnused
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I4443a3620ed7d51b151af67c070d4225e410b5fa
|
|
* Update ErrorStatus to V1_0::ErrorStatus
* Update Request to V1_0::Request
* Update OperandType to V1_2::OperandType
* Add namespace android::nn::hal in ArmnnDriverImpl for R only
* Add missing g_RelaxedFloat32toFloat16PerformancePowerUsageName
* Add namespace V1_0 or V1_1 where necessary
* Update Android.mk with R macro and android.hardware.neuralnetworks@1.3
* Remove androidnn.go
* include IAllocator in DriverTestHelpers
* Remove unused LOCAL_CFLAGS
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I1787f1ed6784b3bbec017536d87d49197405e853
Signed-off-by: Kevin May <kevin.may@arm.com>
|
|
* Changed ConvertTranspose to use Transpose instead of Permute
* Removed unused code related to permutation
!armnn:2787
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Ie59ca80203109bd6bb2abcdedc5ac53c2b2eb157
|
|
* Fixed driver crashes caused by ignoring the result of GetTensorInt32Values.
* Fixed driver crashes where padding, axis, permutation dimension or block size operands were inputs.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I59867e9545a240e6be46b7f68da6adaa120a56d8
|
|
* Changed ConvertTransposeConv2d to use the unsigned values for strideX and strideY
not the signed values from the descriptor.
!ComputeLibrary:2599
!armnn:2612
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Iee300041f3ed585820b7c7e2edd8ab541f339d59
|
|
!android-nn-driver:2642
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Change-Id: I4db6ea4ed0a192c85f124c4a9ced60b1666a3870
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
|
|
!armnn:2643
* Add calls before addition of these layers in ConvertConcatenation
* Add outputInfo parameter wherever needed for IsReshapeSupported
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Ic5d142ea046161960ff2fc137bd261ebb4e6ac0c
|
|
* Adds missing conversion for permutation vector
from ANN/TF/Numpy format to ArmNN format.
* Corrects legacy tests based on incorrect
permutation vectors.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I767142378055e484d22f3ffba34580c528370cfe
|
|
* Account for deprecated Abs and Rsqrt layers in ArmNN
* Update HAL 1.2
* Neg HAL operation support added
!armnn:2542
Signed-off-by: josh minor <josh.minor@arm.com>
Change-Id: I043bf64ac7ed3aea65560d72acf664e079917baf
Signed-off-by: josh minor <josh.minor@arm.com>
|
|
!armnn:2571
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Change-Id: I06977553a097479a2a996e76a106249673d31ed7
|
|
Change-Id: If4fd1abdedf7de2046435d418fb1ee95ceb73419
Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com>
|
|
* Support for QSymm8 in ConversionUtils.hpp
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I39c654e7a3821ffe74336a13bf0b922686f337d1
|
|
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I1038d4f3c73d4e306161459784a0abf20d7e507d
|
|
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Change-Id: I89ae4f3b607ccb83f1bf16e085c805d5fc5cf89c
|
|
* Using the new public armnnUtils API
!armnn:2386
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: Ifa8af20ca131b1be19dbdceea6674a1274a396f3
|
|
This should all be done in the LayerSupport mechanism in Arm NN now.
Change-Id: Icbbb1be2efad2ababf8bdd5543f3e5a06958dccd
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
|
|
Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com>
Change-Id: I999d9091bc4046861433d4eb3109fe972611bd82
|
|
* Added DequantizeStatus enum to capture the status of the
dequantization process
* Added alias DequantizeResult for the return tuple
* Renamed instances of Operand, Operation and Model template
variables to HalOperand, HalOperation and HalModel for
consistency across ConversionUtils
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I2d5cf0dd9f9baba95684bb0b9fe20e63c0f377a3
|
|
* Quantization dimension other than 0 is not supported.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ied3914600a754b799e98d5660ad6196c8c4fa23d
|
|
!armnn:2313
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I543136e4e2ef9aece1378d2642064cc585246645
|