Age | Commit message (Collapse) | Author |
|
one works fine
* Each CLBackend created its own ClContextControlWrapper which invalidated
the OpenCL context's from all CLBackends that were created before that one.
* Now CLBackends will keep a shared_ptr to a ClContextControlWrapper which
more closely matches the functionality within ACL.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I0744c2cb6a2f0d6b0c5fa54d786f88cf97775559
|
|
* Extended deprecation time of SubgraphView interface to 23.08
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: Ic0a729ea31402f0b39724da47212ae5cc04465c4
|
|
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I90d800160b070e25d999b5102a7ce6d3e0ed6a81
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I3362442456df2bc5ee71080238881b390a9029d8
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id5521e527b4b8d738acf673c4c51e54c80b71a74
|
|
* Moving from other build guides which are being
removed and/or consolidated. Provides steps on
how to build the standalone backend unit tests
using the build-tool.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I3994bffc9038632ab7271ac31db25a38157f2bb7
|
|
* Inform users of potential gcc8.3 issue when linking against TfLite 2.10
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Ie58b7f8a9c11f9d5088c531ecffd4cc06a4ab7ca
|
|
* This change requests users to supply a comma separated
string of CMake/scons args so that they can passed
down from Docker into the bash script correctly.
* Updated documentation to reflect this.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: Icbd1d1458e11382936690ca6cc4417677e063ddb
|
|
- 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
|
|
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I73a47e513fe2d064ef233b121a68ef2edf0396dc
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I17823fb8b6bbabc4da327187167ce9582ee29b32
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: If837e4bec7940b53d18d0da32f3e736215dd2a03
|
|
* Added all data types to TosaRefPreCompiledWorkload::Execute().
* Generalised IsTosaLayerSupported and fixed Addition support.
* Added Fp16 and Int32 Addition End to End tests.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I1f89c310ede33615427343e89bcec7e7bb643fa1
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2fd0f6aac6ffff695b17df7455f252f6013c0d43
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ie1989cdf743eb9de87bae1ff19af75f28b49f762
|
|
* Create Simple Addition EndtoEnd test
* Create EndToEndTest file in TosaRef/test directory
* Add AdditionEndToEnd test to CpuRef,CpuAcc,GpuAcc,TosaRef
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Ic44e2b457c25dcb41bb3b17c05cce0e74bf17a80
|
|
* Added FP32 support for TOSA Reference Backend.
* Added main block creation to OptimizeSubgraphView, this will only
occur once.
Change-Id: I169dac50b78e2c693da6327962c9f1d3ae3bd712
Signed-off-by: James Conroy <james.conroy@arm.com>
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
|
|
* Flatbuffer version updated to 2.0.6
* Android NDK version updated to r25
* Removed cross-compilation guide as its been moved to build-tools
* Android binaries updated in Readme
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ia7054707c9463d8ce8b344ec5d86fdd83424b2c3
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id32a970b0fe7a6af3b8d5e17a6f380b5e09341db
|
|
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Id7747e85119eb70254ad7795168ce31b137f2f49
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I54ec99383e723cd1323c1cce8cef6ed4fbde9f46
|
|
* Added TosaRefBackend::OptimizeSubgraphView implementation.
* Generalised TosaRefLayerSupport::IsLayerSupported to work with any
operator.
* Changed TosaCommon.hpp utils to inline functions.
* Added source files for TosaMappings.hpp and AdditionOperator.hpp.
* Fixed multiple defines issue with HALF_ROUND_STYLE and
HALF_ROUND_TIES_TO_EVEN.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ib2576ec3fb97faa3a2256b2fb93ec16ac8745760
|
|
* Build Flatc only on x86_64 when cross compiling
* Add Linux CMAKE System name
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Ibd0f636b3cc149e0492d66330baf0e3707a9d3f7
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I6a541db9a602609282cc6f33af930ca141b83c41
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I6338fe09067a90ef2f52f252b3d5cf2c8810f3ff
|
|
* In TF what ArmNN calls quantized data types can be non-quantized as well.
* This patch creates 2 models:
* ArmNN: model where int8 and uint8 will always be quantized, but scale can be 1 and offset 0
* TFLite: model where int8 and uint8 can be quantized and non-quantized
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Id960f2f30988f2bbec88cb4e0c52c189ac957bae
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2def6995f81d33e68f1ea45d8d19a1e6294049b1
|
|
* The intention is to keep the flexibility given by the ExNet before the refactor.
* When iteration > inputFiles, we repeat the usage in order
* When iteration < inputFiles, we just discard extra files.
Signed-off-by: Adam Jalkemo <adam.jalkemo@arm.com>
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2fbe69f8affe0e3a5cc86fc1748164967f0c2d64
|
|
not match"
This reverts commit 6c95836e894f88c4bab6b22f974341f0dd2dddaa.
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I8be2147feb557a0849de5785fb63b464abc7dbb9
|
|
* half.hpp is now required as an include for numpy_utils.h
* DType_FLOAT was changed to DType_FP32.
* DType_FP16 support has been added to ArmNNToDType utility function.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ib25be9a5abfbd9db2a90b3e42d592259a6df0e01
|
|
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ie9aa1aa20a5bc837e005a7a36d4d07b4cd8d021b
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I9bc849ec3375c74647b637758e38fdb1870832b7
|
|
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ib30fc633a10b6ff8090b50314278fe5dc46fb250
|
|
* Upgrade FlatBuffers to 2.0.6.
* Upgrade TensorFlow to 2.10.0.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I537141ccfea208e2ff5c16d76f288f477efd89f9
|
|
* Currently, the build-tool requires the user provide both
Arm NN and ACL repos, if providing custom repos.
* This change allows the user to provide only a custom
Arm NN repo, making a custom ACL optional in the case of
--neon-backend or --cl-backend not being chosen in BUILD_ARGS.
* Updated script help/usage and docs to reflect this.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I821f07dcd4c32ada60cd33713234b47c330d217e
|
|
* Modify the order of Tf absl libraries in delegate build.
* Disable failing delegate unit tests.
* Add -Wno-comment to delegate ExecuteNetwork build.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I9e4696e032a5e26df8ba578b980456cbac4d0ab0
|
|
* Modify get_tensorflow.sh to point to the 2.10 Tensorflow tag.
* Modify FindTfLite.cmake to handle the break up of libruy.a
* Modify armnn_delegate.cpp to add registration_external field.
* Prevent the serializer/deserializer from using a system installed
version of flatc.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I688f33f387924ba29bf400f60e56f73b2329fdc1
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I07fc2fc524452ff3631abe8aafd5993cb23a2258
|
|
* Add flags -Wno-c99-designator and -Wno-unused-but-set-variable
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I7b1a1a353a0474d7ef967f6f3c8d13c36fa31844
|
|
* Bug fix where files were being overwritten at each debug layer
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I609fdc82afcee925824efb02183c7dbc942fced0
|
|
* Add functionality to print output tensors to file in tempdir
* UnitTests
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: Idfb4c186544187db1fecdfca11c662540f645439
|
|
Change-Id: I594ded82493e9cc48cafa6f00d63769fefba5afe
|
|
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Change-Id: I3573078206272c3a72a2b3acf8781ab458ea6c90
|
|
* Add scons option to generate Map files.
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ic1485f4f544ae1139e2475b95bc6d4f0d4791f02
|
|
* When a model with multiple outputs was used and output to file, e.g.
with "-w ./boxes,./classes,./scores,./detection", the results where
not saved in the correct files.
* Applies only to the ArmNNExecutor.
Change-Id: I2899322622a4c3fd1d0ddc75b100b81669417660
|
|
* I had issues when folder name contained "armnn" and
a .tflite model was used, as the wrong parser was selected.
* Now only the extension, and not the full string, is
considered when selecting parser.
Change-Id: If7964d2ce5535f7d25762d2a2d7e810bf1a1ed43
|
|
* Some CL kernels are not run after the first inference and this breaks
the profiler which is expecting a measurement for every kernel each run
* Add a function HasKernelMeasurements() to ascertain if the Event is
returning kernel measurements and if so insert 0.0 values for any missing
kernel measurements.
* Fix ExecuteNetwork to only print a json object after all inferences
have completed
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I99f2bb0db847f5a52ab4c5705b072155c6b6f333
|
|
* Asserts are removed during a release build, which causes build
failures due to unused variables.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ie36f2bd22f5b2916b03ba7e64c1895fdf21f11f0
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I6c712d6b817f87f3d3a996e11e81208e9449da9f
|
|
* Update GEMM reshaped rhs only heuristic
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I3b7489c1133ed8ae03dbc7c1e30b1979d604f4ba
|