Age | Commit message (Collapse) | Author |
|
* Adds warning message when enabling pyarmnn through CMake
* Adds print out when building pyarmnn through setup.py
* Remove deprecated functions from batch matmul descripter
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I210ddbd0dd2f3b0d260a644bc62b8754375fbebe
|
|
* Adds BatchMatMul layer and descriptor to pyarmnn
* Adds ReverseV2 layer to pyarmnn
* Adds ElementWiseBinary layer and descriptor to pyarmnn
* Adds Tile layer and descriptor to pyarmnn
* Adds network test for each layer
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Iac70fb7f857978d676d3b67a4cc20fb5f3270676
|
|
This reverts commit 9a5e5b7032788249055f40edd763420f6bdba8fe.
Reason for revert: Build failing while building pyarmnn
Change-Id: I465c494ee1a19a830bf85a8ab078ead08cefccd4
|
|
features added in ArmNN
* Adds BatchMatMul layer and descriptor to pyarmnn
* Adds ReverseV2 layer to pyarmnn
* Adds ElementWiseBinary layer and descriptor to pyarmnn
* Adds Tile layer and descriptor to pyarmnn
* Adds network test for each layer
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I07116d9e7b1eb6b6f8a687d8ba7cfbd11c912d0d
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ibabb80f2ece0e0ad2314ebb45fea051667b82b8d
|
|
* This updates checks in pyarmnn to new version
* Updates documents to newer version
Change-Id: If1321ea4e74a10993b205cce1d3618844b0ddc06
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
|
|
* We updated Arm NN version in https://review.mlplatform.org/c/ml/armnn/+/9885
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I37e771be66ca7b907b08648a6bb07de4f0036ae3
|
|
* 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: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ied41eda5c1979d9a2dae192b437fbeb688a0fd13
|
|
This makes it easier to use, particularly in backends where it
is common to pass around const pointers to IConnectableLayer.
The non-constant version is rewritten to use the constant version.
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: Id3a8384447e93c213299a85ade9a667df5960534
|
|
* Previous instruction didn't generate SWIG wrappers.
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I8e4a28ad334fc7fec1740d520d1fde9359c30397
|
|
* test_optimizer_options_fail test failing due to BF16 check
removed from OptimizerOptions() in IVGCVSW-7214
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ibce5c0b0324f6d8761ffcb3e84532ca2656fcbc0
|
|
* Done as part of 22.11/23.02 innovation days.
* IsLayerSupported() is called in model prepare (delegate, android-nn-driver and shim/support_library)
and again in ArmNN once model otimization is performed.
* From calling IsLayerSupported() the first time, we should know that the layers are supported
and what backend they are supported on.
* Solution is to set the BackendId of the IConnectableLayer when IsLayerSupported() is called the first time,
* In the Optimize() function we then check if the backend is set. If so, we do not call IsLayerSupported() again.
* In the case a layer that is supported gets optimized, then the BackendId of that layer get set to "Unknown"
for the new optimized layer and IsLayerSupported() will get called on the newly optimized layer.
* Includes bug fix IVGCVSW-7213 for Android Mean FP16 CpuAcc tests. Also related to bug IVGCVSW-7211.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I7a7820d0cdb079ffb5a3a2e0c44e252f652df53b
|
|
- Remove Bf16ToFp32 Conversion Layer
- Remove Fp32ToBf16 Conversion Layer
- Remove B16 Conversion tests
* Throw exception if m_ReduceFp32ToBf16 optimzer option is set to true
* Provide comments to enable fast math in order to use bf16
* Update docs to inform users to enable fast math for bf16
Execute Network Changes
* Require bf16_turbo_mode to also have fast_math_enabled set to true
- Remove setting m_ReduceFp32ToBf16 optimizer option
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Ibaa6da9d29c96a1ce32ff5196b0847fde9f04a1c
|
|
* As part of testing IVGCVSW-7122, pyarmnn tests were failing as py35
is no more the default version in Odroids. Also we do mention Python 3.6+
as the supported version in pyarmnn/README.md
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I39407ba8689fbb064c32841d16d66c5080acbc10
|
|
This reduces build steps to a single guide rather
than providing multiple options
- Remove Standalone build from documentation
- Remove Wheel installation from documentation
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Ic1411eba5889434b2e1761ce2b9c8fdd2453b352
|
|
* AddConv and AddDWConv with weights and bias
* ResizeBilinearDescriptor
* b,blacklist option in accuracy tool
!android-nn-driver:8172
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibbc04fd18be7f938b11590bf67cd7af103cb4d99
|
|
* Added transpose parameters to pre-transpose each input tensor's slices
* Added adjoint parameters to pre-adjoint each input tensor's slices
* Small refactoring (BatchMatMulDescriptor static helpers and BatchMatMulImpl constructor)
* Updated input validation and output shape inference for parameters
* Additional layer unit tests for parameters added
* Versionings incremented
Signed-off-by: Samuel Yap <samuel.yap@arm.com>
Change-Id: Ibe5242a8a5bf604c13de0dc65844fd6c421cc667
|
|
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ic134f73f217fff420fec089cd817e48ef62641c6
|
|
* Includes updating ContributorGuide.md with information section
'Contributing code to Arm NN'.
* Renaming of ContributorGuide.md to CONTRIBUTING.md. Also renamed
associated licence file and links in other pages that call the md file.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ic3336d78b64ae41af07ea9fd03631bb161613c4b
|
|
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Change-Id: I97dee6982e0a7be01c13e9e803c0997547a39ff1
|
|
* Solves GitHub issue: https://github.com/ARM-software/armnn/issues/611
* python/pyarmnn/README.md update
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I1cc7bfa536638db86ed4a83e41b14fce031bb59c
|
|
This reverts commit a0f8b15d4ddb5075f380003ff31b271d389d3b66.
Reason for revert: <Test ClDmaBufInternalTests review >
Change-Id: Ibc4a77fa008643849da7330391942e4c87b941e2
|
|
This reverts commit 03bf98a8bc51ad20eef4b9ca5fbf6ce15e063721.
Reason for revert: Caused failures in tests located in internal repo.
Change-Id: If35cb0ede349b270e4e7827324382e09455d8cfa
|
|
Only one bool is used to indicate whether inputs should be imported.
However, its possible for the user to want to import inputs but not
export outputs. In addition it's possible for a user to enabled import
during optimize but then pass a memory source that does not require
import.
* Add m_ExportEnabled to INetwork.hpp.
* Modify Network::dNetwork to consider both m_ImportEnabled
and m_ExportEnabled.
* Add ValidateSourcesMatchOptimizedNetwork to LoadedNetwork to validate
import options between optimize and network load.
* Update the TfLite delegate consider exportEnabled flag in the
optimizer.
!armnn-internal-tests:425350
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I776eab81595898e43f91ab40306962eae61329f4
|
|
* armnn_network.i: IVGCVSW-6127 ConstTensorsAsInput:
DepthwiseConvolution2d.
* armnn_descriptors.i: IVGCVSW-6127 ConstTensorsAsInput:
DepthwiseConvolution2d. MLCE-604 Add Unidirectional Sequence
Lstm support to TFLite. MLCE-530 Add support for
UnidirectionalSequenceLstm to RefWorkload
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I0c054db17dbf9a1eb14c12d1fd1337f8003a92d3
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7c80299f539b64682a6a68cd1709089f71600cd9
|
|
* Update more-itertools to 8.12
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I572340793db0e7da993679466d723c61d6d2bab2
|
|
Signed-off-by: Raviv Shalev <raviv.shalev@arm.com>
Change-Id: I25fcccbf912be0c5bd4fbfd2e97552341958af35
|
|
!android-nn-driver:7337
Change-Id: Ide401623829cc99fb9b51e9bbce3482ce706a8dd
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
|
|
* Add layer to __init__.py
* Add descriptor for Pooling3d
* Add descriptor test for Pooling3d
* Add network test for Pooling3d layer
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Id5e1587a89d3ffb5bee7764a92b299fa43a2ae35
|
|
* Updated ABI version to 29 due to being the first ABI break in 22.05
!android-nn-driver:7226
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Iaf118e0c4313d810225eac773f1a7d84ea559a68
|
|
* Remove deprecated INetwork::AddFullyconnectedLayer() taking weights
as argument as they are now taken as separate input layers.
* Updated test that was using the deprecated function.
* Remove calls in pyarmnn
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Ibc52ac7fa57afd9033eb226bbc24a09e88a7d361
|
|
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
Change-Id: Ie1463aaeb5e3cade22df8f560ae99a8e1c4a9c17
|
|
m_Layers
* Added IInputSlot, IOutputSlot and IConnectableLayer to SubgraphView
* Deprecated old member functions
* Removed deprecated calls in ArmNN
* Added GetOwningIConnectableLayer function to IOutputSlot
* Updates ArmNN Core Major version for IOutputSlot ABI break
* Updated Minor version of TfliteParser, OnnxParser and Delegate
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I2a8611bfabf5ae09d3602fe6a4bef166e18117b9
|
|
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I9114288e705936b12129b01bfd482bbe1260f80b
|
|
* Update pylintconfig removing reference to black and white list.
* Update tox.ini changing whitelist_externals to allowlist_externals.
* Update the pyarmnn speech recognition example from 'he' to 'they'.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I5ce3b9d6a30df6d2e9130a934741b46b594e53d2
|
|
* AddReduceLayer to PyArmNN armnn_network.i
* AddReduceDescriptor to PyArmNN armnn_descriptors.i
* Add layer to test_network.py
* Add descriptor unit tests to test_descriptors.py
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I2a8706052baf8f9c0038a5ea327d73b8f3ea1961
|
|
elements.
* Added out of bounds index error checking to PermutationVector operator[] method
in Types.hpp.
* Added armnn unit tests to UnitsTests.cpp to check error when using
PermutationVector alone and with TransposeDescriptor and PermuteDescriptor.
* Added pyarmnn unit test to check error when using PermutationVector.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ie5a8090f07b571a6bdf79a8cad621c31cc1891b7
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2bfc54ea9aae78c60a66d7a5c39a33ca8a238e62
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I6d09abb75db1875d4d4075b1801fdc46a0f4ae7b
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ie54d2deff3059978a55667fe8a1d91418ef785dd
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: If9c6902396b9f3cec3b38b70ccfa12fcbb3fd5a7
|
|
* Add layer to armnn.network.i
* Add layer to test_network.py
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I7554a0ff62d81fcc99aa68204ae5f1cc3965c44b
|
|
* AddTransposeLayer to PyArmNN armnn_network.i
* AddTranposeDescriptor to PyArmNN armnn_descriptors.i
* Add layer to test_network_method_exists() in test_network.py
* Add descriptor unit tests to test_descriptors.py
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ic198448ad11d10701b6b263656285bb75d3656cd
|
|
* AddLogicalBinaryLayer to PyArmNN armnn_network.i
* LogicalBinaryDescriptor to PyArmNN armnn_descriptors.i
* Add layer to test_network_method_exists() in test_network.py
* Add descriptor unit tests to test_descriptors.py
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I2f6288987332e1556235a9c16582e96b3a0fb641
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ic352c48dfe04c6cc5a2b201bf71950866be6b2fe
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ifb5600771e49ac75d4d53bf281bcb87c7bdd99f9
|
|
* Move all the image files used in doxygen to docs/
* Have a single path for all images in Doxyfile
* Update project number to 21.11 in Doxyfile
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ic9102d36b69a8261caf8e55da645463540e0b9f3
|