Age | Commit message (Collapse) | Author |
|
Change-Id: I71637859e96d799482c74a8f55f7f792c2ed606b
|
|
MicroErrorReporter has been removed from TFLM.
Change-Id: I8acb14eff2bc5d4b05d0d50f0d2a44db846e160f
|
|
Add cycle counter, QREAD and STATUS to Event Monitor record.
Change-Id: I9c225558a9d46b05fe322270b4a921ead6bb0233
|
|
To avoid unwanted matches of regexps, example: "cortex-m3" matches
string "cortex-m33", several string MATCHES have been reworked.
Change-Id: Ib923fbed9edbfba7de0af005c67b5527acdf40f9
|
|
This will decrease current stack usage requirement and memory footprint.
Change-Id: I8ac314238efcdf1622cdcafd479c6cc1a8580509
|
|
Change-Id: Ie75eb87cf06cd7bad5f17ce121ea64037c0e4788
|
|
Added base64 encoded printing of ofm data to speed up
logging of large ofms.
Change-Id: Ibebd0a3557396eb68d69789f2c016161e085e64a
|
|
Previous version of CMake did not allow CMAKE_SYSTEM_PROCESSOR
to contain CPU features for Arm Clang toolchain. A workaround
was added to manually strip the CPU features.
Recent versions of CMake have removed this limitation and instead
requires the toolchain to manually add -mcpu=<CPU+features>, which
means that the workaround can be removed.
Change-Id: I3e8647c47df27a96cdd103614ecf2540f150ab36
|
|
Change-Id: Iaf22f1d7ad3e732f9163702cc08c8c2a3bb3a69d
|
|
Change-Id: Id0005b8e68c4a439923941930eddc5f180c8342e
|
|
If the buffer does not point to a well defined flatbuffer the parsing
segfaults.
Change-Id: Icb8dfef37dc28b2b7a22c6d3804851be8198aa9d
|
|
Change-Id: Ia884010492ee9858c8c53d8f547954c7ad6e1a71
|
|
Change-Id: Ie78bdf3330765131ab5aee248ef42f175a652218
|
|
Change 'Inference runtime' to measure CPU cycles for the
Tensorflow Lite Micro interpreter.Invoke() call.
Add 'Operator(s) runtime' print that prints a summary for
cycles spent on all operators during an inference. (This is
equivalent to the old reported 'Inference runtime')
Move prints out of the EndEvent() function in ArmProfiler as
it otherwise interferes with the inference cycle measurement.
Change-Id: Ie11b5abb5b12a3bcf5a67841f04834d05dfd796d
|
|
All drivers have been moved to core_platform.
Change-Id: I260e2ac94c25bc06ea69a20b00218b45278538cb
|
|
Remove old unused cmake toolchain files.
Adapt FreeRTOS to be used with Cortex-M85: fallback to use Cortex-M33
port files in FreeRTOS like for Cortex-M55.
Change-Id: I79af29ed920e1920c970bc6f516e9b711019692a
|
|
Add compilation flags to silence warnings about unused functions
and parameters.
Change-Id: I2c87a39c2adc05a19a59cf3978c5612f568be61a
|
|
Updating tflite_micro.cmake to include the arena allocator.
Change-Id: I793353afeccdf7f8a791b0e7202078eaffe72d7d
|
|
Change-Id: If90ebe17cc33b8fef9e6a4ebae43a2e5749d8a37
|
|
Since tensorflow/lite/c/common.c has changed name to
tensorflow/lite/c/common.cc.
Change-Id: Ib2ad4a02e3c78f9a0dac841f45b430e88d1a0e94
|
|
The printing of the output tensor can be truncated, by adding the
original size of the output in bytes the included data can be
checked for completeness. The dims will tell the number of elements
of the output tensor and is not useful for this purpose as the
element size can vary.
Change-Id: Ied5447e34416a8c6668eeae5c01a5474f103023f
|
|
The branch on the ThreadX fork doesn't build for Cortex-M33 so only
enable it for Cortex-M55.
Change-Id: I2e562e2f872902a9d87584fbacc4dd6b556d0b51
|
|
Change-Id: I4b229dbf750cbbb6306e54ff29db744a2c411ca8
|
|
For larger networks the GetTotalTicks() might overflow if the function
returns int32_t. GetTotalTicks() is a non virtual function that can
be overridden with a different return type in the implementation class.
Change-Id: I8dd2e448fd13e0823fe1e5f9cc335998d2806416
|
|
Change-Id: Iefa21223b9157e25e11f88873541b39292d12872
|
|
This avoids a warning in TFLu
Change-Id: I90f6d6cefbe69c720d3c65c550d7f65e727c48fb
|
|
Remove PMU configuration from the InferenceJob struct and add an
external context parameter intead. The external context is passed
to the TFLu interpreter and will be returned in the
ethosu_inference_begin() and ethosu_inference_end() callbacks.
Change-Id: I6dab04c0ab5088b1325be365d77d65d1182e7441
|
|
Split runJob() into smaller functions to make the code easier to
read and maintain.
Correct return type of Layer By Layer profiler GetTotalTicks().
Change-Id: Ie414522017b3b6c6da9a09182439dbe4b2efdb1f
|
|
Change-Id: Idffa9b21385451883795412076ea48218d6c74ba
|
|
Adapt layer-by-layer profiler to handle PMU event configuration,
PMU setup and retrieving PMU counter values.
Adapt the inference process application to support the lbl-profiler
PMU setup and retrieve/save PMU counter values in the InferenceJob
struct.
Change-Id: I1667a5b11c43c54e7d28232b594dd118bf3f79a8
|
|
Move to core_platform repository.
core_software repository should only contain components related to
running an inference. Drivers are platform components.
Change-Id: I232ef14ce151db7e89cef39ec3b2d6c0b4da8aef
|
|
Change-Id: I7cd561d96bf88fa24c1e3dc5f3b30403bfacafb8
|
|
Updating compiler warnings enabled for TFLu.
Fixing compiler warnings reported by Arm Clang and Arm GCC.
Change-Id: Iea959a59ea5416326a3014654389af82903c94a3
|
|
When CORE_SOFTWARE_ACCELERATOR is set to CPU, then the TFLu reference
kernels should be used rather than the CMSIS-NN optimized kernels.
Change-Id: I09418b2e32d8c1654892bc5caec9e5b80ccd6c9f
|
|
Remove new line from log messages to allow the log makros to format
the output.
Removing 'message process'. It has been replaced by the
'message handler' application in core platform.
Change-Id: Ie97063680c25a33844a8e52e7d39f042da0493e1
|
|
Replace the make call to tflite-micro with a CMake recipe that
builds the Tensorflow lite micro library. This removes the dependency
on make and should allow all core software components to be built
with CMake and a common toolchain file.
Change-Id: If9f380c3d07a790be37b7cb70d2aef458d585fdb
|
|
This reverts commit 236a00d1125267be32d8f745d8d49e3e73251151.
Reason for revert: Patch caused regression failures that need to be addressed.
Change-Id: I2e79a16b8e5fa61d8b313ad7808cfd8845e4275a
|
|
Change-Id: I97d0e8e7000d621193432af7380ae22d2e5a262a
Signed-off-by: Anton Moberg <anton.moberg@arm.com>
|
|
Change-Id: Ib69b8c0a9af482408f2108ea13c682afabb9f0c7
|
|
Libraries that link the layer_by_layer_profiler interface library will
also get the LAYER_BY_LAYER_PROFILE define appending to the build
arguments. This allows the preprocessor to select which profiler to use.
Change-Id: I85fec66d2dd9949fd7fe395fb44e49bda1539925
|
|
Change-Id: I326fcf3d7c9bcdb4e4d8b5ea1e36660dfe4e5ae7
|
|
The tflu_debug_log should be controlled by tflu and not the
core_software. Thus changing LOG_DEBUG -> LOG shifts control from
core_software to tflu.
Change-Id: I3507366cee8c971b1242434ea73f405a8abc5f83
|
|
This change works around an issue when compiling with GCC where by
printing only a '\n' the produced global output is wrong. What happens
is that new lines are actually printed before the content in the
precedent fprintf calls. Hence the generated json is unparsable.
Note also that replacing the LOG macros with direct calls to fprintf
does _not_ solve the issue.
Change-Id: I2d97703cbe7703aae94def1943e2ac693945ab31
|
|
Change-Id: Id43be4f899610e9b0ef96790fbff330f3c8537c1
|
|
Logging macros:
Added ethosu_logging.h as a lib, containing logging macros controlled by
a parameter ETHOSU_LOG_SEVERITY set in core_software CMakeLists.txt
Updated inference_process:
Updated inference_process to include ethosu_logging and use the logging
macros rather than printf()
Updated message_process:
Updated message_process to include ethosu_logging and use the
logging macros rather than printf()
Updated ethosu_monitor:
Updated ethosu_monitor to include ethosu_logging and use the
logging macros rather than printf()
Updated layer_by_layer_profiler:
Updated layer_by_layer_profiler to include ethosu_logging and use the
logging macros rather than printf()
Updated mhu_v2:
Updated mhu_v2 to include ethosu_logging and use the
logging macros rather than printf()
Change-Id: I5d6fd80b7645b3e0af5b494eea6dbb7755f02122
|
|
tflite_micro.cmake
Change-Id: I16f71dd3ed072b7a32aecec08c4ce348b671a280
|
|
Removing define that is no longer needed now that the profiler
classes have been implemented.
Updating .gitignore.
Change-Id: Idc1eab268a4f4d1ff9460671f8547c1fcb209f82
|
|
Change-Id: Id54df3d56e85c995842d5330b6a7b6e8129440ce
|
|
Remove map file generation from the toolchain file. The name of
the target is not known here, so it will not be possible to name
the map file after the target.
Change-Id: I087eb1983ecf8fb1d5a4575fcaf18ed73a2042cb
|
|
Change-Id: I35c8179a40b89e78d144813309b7b0e0d8a68285
|