Age | Commit message (Collapse) | Author |
|
* Updating README
* Updating android ndk build guide
Change-Id: I09f5e4fe09d590b6b482800730b78cbc84cee9e9
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
|
|
* Update supported operators for the delegate, parsers,
serializer and deserializer
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I33ac99a29d894eec055cd05411014075d78b3168
|
|
* For Quantizer, Tensorflow Parser and Caffe Parser
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: If30daa54947c417c0d700f11e630546b1745b72e
|
|
Debug layers are given names based on the layer they take their input from.
If a layer has multiple outputs then one debug layer will be attached to
each output. Therefore all these debug layers would have identical names
making them hard to distinguish when debugging. This patch includes the
output slot index which the debug layer takes its input from when creating
the name.
Change-Id: I09eaa8a7edad9bfdf678b4778cf740340013126c
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
|
|
These two operator overloads were giving compile errors as they had
misspelled the names of the member variables.
Presumably they are not used in any of the code and not tested anywhere,
and so the compilers being used on the CI decided to not report this
error. I encountered this error using the MSVC compiler, but it may
cause problems on others too.
Change-Id: I200fc98dbd024d13dbf0e2eca2a0dcd2b0bef261
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
|
|
IOptimizedNetwork declares a friend function (CreatePreCompiledWorkloadTest)
that is not necessary as that function does not use any of the non-public
members of the class. I suspect this is leftover after a refactor,
as the function in question uses GetGraphForTesting() to access the
internals instead.
This friend declaration was causing me a compilation error as the namespace
of the declared friend function did not match the namespace of the definition.
Removing it solves the compilation error and tidies up the code.
Change-Id: I4aa893cb5108cd3b72ca355f725fe7a0cd053a7e
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
|
|
* Add LSTM operator
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: If8c667685fa1176738ffe2e6d08b1c684e7ee6b2
|
|
* add template specialization declaration to header to resolve clang issue
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Id8104d6feda19ed3f5f0cb018d719b1677772d9b
|
|
* CreateTestNetwork() and CreateTransposeTestNetwork should only be
defined if Ref enabled; the same as the test its called in otherwise
it's defined but not called.
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I7bc522a7884d216d1a8e51afd7cec7a66e4e2947
|
|
* Allow passing multiple preferred backends as comma separated list
e.g. "-c CpuAcc,CpuRef" or by repeating the option "-c CpuAcc -c CpuRef"
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I8e304d26c2890b99d5ec4c1af6c372458fa70051
|
|
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: If69dbc230e2136def8a697ab25b9c4cb5cb8c731
|
|
!android-nn-driver:5042
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Ia1ce8b839e81b46428ba0f78463e085e5906958d
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ia85dea61a6c63cf6d2ec8c63d4ce7494e66fa1cb
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I1671a68b97815a224c89c3abe2f3944d97446c09
|
|
* Update Arm NN version in Version.hpp and all guides
* Change Project Version in Doxyfile
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I05ab20a1ae5d0376a641df68a5877f97e7609052
|
|
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: If716f5f4e9b5433586b8a939d326830482da2f74
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3f320499c379162f9d1b00cc8816bd144cd7eee4
|
|
android ndk
* Provide FLATBUFFERS_INCLUDE_PATH in GlobalConfig.cmake if ARMCOMPUTECL is enabled
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Iabd5bb9b8a63970df9b7f485d07f8c1ee1a78560
|
|
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Icd87b1c54e1a5de84893882da30840a9097f6d84
|
|
The field m_DimensionsSpecificity in TensorShape was not being serialized
and deserialized following implementation of type 1 dynamic tensors.
* Update schema.
* Add to Serializer and Deserializer.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I7ddbdaf54c8f4b988c6cb300f90ba848a94bdad0
|
|
* Added ability to set number of threads used in CpuAcc backend
* Enabled number-of-threads option in ExecuteNetwork
* Added TfLiteDelegate ModelOptions test
* Added unsigned int type to BackendOptions.hpp
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ia576d4f45cbe5df3654bc730bb5ebd5181d82b5a
|
|
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Id7bc8255a8e3f9e5aac65d510bec8a559bf37246
|
|
* Updated JsonPrinterTestImpl to use CpuLogitsDLogSoftmaxKernel_#
* Update ACL pin to: 8958167c8d609566a40c9e618158ebcbdcd3e3bb
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ic48d6cc321d8f4cc15c488244f0d69508fad2d1c
|
|
* Allow input tensors of any rank in ReduceQueueDescriptor::validate
* Fix VTS tests failing for REDUCE_MIN due to initialization
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Id8fba1662ade4e0a967093fe5a53b275847f2393
|
|
* Updated ParseReduce() function in TfLiteParser to read correct axis data
* Remove unused m_TargetWidth and m_TargetHight from ReduceDescriptor
* Updated the ArmNN Serializer Schema
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I98b6e00ccba1d8ea8c845cb1ae28840e42339629
|
|
* Added support for BATCH_TO_SPACE_ND and SPACE_TO_BATCH_ND
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ib29333f3e2bc1a18bcc63533da4369b63c45ab90
|
|
* Added FLOOR operator support to Arm NN TfLiteDelegate
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I986ce8c5a825f509e0f8b3d257fd5b60834c322f
|
|
* Specific OOB builds will fail if flatc is not available.
* flatc command is now only run if found.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Iab6e082fe35dc3c3dfb78a29e1630c9edbb80be6
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ica5d673e9f6a192b0cfd28c9ad5a5143aecefba7
|
|
* Added TfLiteParser support for REDUCE_MIN and REDUCE_MAX operators
* Added ACL workloads support for REDUCE_MIN, REDUCE_MAX, and REDUCE_SUM operators
* Added TfLite Delegate support for REDUCE_MIN, REDUCE_MAX, and REDUCE_SUM operators
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I8085d59946bfd4ab78a59a61f899031ae53371a8
|
|
* Added Version.hpp to all Parsers
* Added Version.hpp to TfLite Delegate
* Updated CMakeLists to use new versions
* Added GetVersion method to parsers and TfLite Delegate
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: If29e1e6d9e615f9095ec1c01ad47acfff40b1dd5
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I52448938735b2aa678c47e0f3061c87fa0c693b1
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I0e29496698b5e7934c2b1c18740527cd9eb23ecd
|
|
* Removes support.md files from all parsers. Lists of supported
operators are now kept in doxygen only
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I137e03fdd9f41751624bdd0dd25e2db5ef4ef94f
|
|
* Integrates the debian package installation guide
* Integrates the AndroidNDK guide
* Integrates the cross compile guide
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I2243b15ee3f8e976789494199f12f3cc0fd5f00d
|
|
Signed-off-by: Keith Mok <ek9852@gmail.com>
Change-Id: I9b1037275379bdbf452589357576cfa763b7c128
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ibe1200c6d7be9e04821b4a829c83833d44542ad5
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I20b69cc042ae5828584b2ecfd2f9694021d7693c
|
|
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I4a0f07b1e8f80aff0d29405def1f33bde7944e31
|
|
* Remove LFS configuration
* Add mock test models for external delegate
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I9f5b427a995aff22391548cd45821cb2afc8a474
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I760dc4f33c0f87113cda2fa924da70f2e8c19025
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I4a82aca4a2c47b3c598b91bc0075c09397be728a
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I8b27541ec11ee907b80f6e2b4ff9ce3d76320076
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I6b3321cf0d51c06b742432995ea486c987806afc
|
|
This patch addes ReduceSum operation support for reference backend,
which computes the sum of elements across dimensions of a tensor.
Changelog v1:
- Fix file header descriptions.
Chagelog v2:
- Fix line limit issue.
- Fix type conversion issue.
Changelog v3:
- Remove tabs.
- Modify newly added file headers.
Changelog v4:
- Symbol on header isn't allowed so drop it from newly added file headers.
Changelog v5:
- Remove tabs, fix the use of brackets and align lines correctly.
Changelog v6:
- Add serializer and deserializer support.
Changelog v7:
- Fix build error add missed code.
Changelog v8:
- Rename ReduceSumDecriptor to ReduceDescriptor
- Update m_KeepDims field data type to bool on ReduceDescriptor
- Add ReduceOperation field to ReduceDescriptor
- Rename ReduceSumLayer to ReduceLayer
- Update ReduceLayer to use ReduceDescriptor
- Update ReduceLayer::ValidateTensorShapesFromInputs() function
- Rename RefReduceSumWokload to RefReduceWorkload
- Update workload to use ReduceDescriptor
- Update workload to use Decoders and Encoders
- Remove ReduceSum.hpp and ReduceSum.cpp
- Added Reduce.hpp and Reduce.cpp
- Move Mean.cpp (which is implementing REDUCE_MEAN) functionality to Reduce.cpp
- Update RefMeanWorkload to call Reduce function with ReduceOperation::Mean argument
- Remove Mean.hpp and Mean.cpp
- Update the Serializer/Deserializer ArmnnSchema.fbs for ReduceLayer, ReduceDescriptor, and ReduceOperation
- Update Serializer and Deserializer for serializing/parsing ReduceLayer
- Added TfLiter parser Sum test for REDUCE_SUM operator
- Make corresponding changes on front-end and Ref backend to support REDUCE_SUM operator
Changelog v9:
- Fixed build errors.
Change-Id: I8c8e034f3df73f9565b3c18eff51ecca6c542195
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
|
|
* Adds a page for contribution guidelines (Uses md guide)
* Adds a section for contribution guides (Uses md guide)
* Minor beautification
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Iafd7e3abf9da660ec21a215afada61a27ce928fc
|
|
* Moves TensorFlowLiteDelegateSupport.md to doxygen
* Renames a few .dox files to represent the structure of the documentation
* Adds sections for build and use guides
* Integrates markdown guides for the delegate into doxygen
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I68b7a29239be88c0617da9bdfce5323ebf26f5bc
|
|
* Add reduce-fp32-to-fp16, reduce-fp32-to-bf16, debug-data, memory-import
options to external delegate
* Simplify DelegateOptions
* Add test mock models
* Unit tests
* Configure lfs to manage tflite files
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I1e4db468862ba03d4cb031347bc307cf940b3cb1
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id43ff3eb59f8c93cfe9fc4bcd76b8496512e2859
|
|
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I43082950c55375f62ecd30236d1c475e4ca89faf
|