• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

BUILDD11-Mar-2024466 2522

README.mdD11-Mar-2024578 1510

generate_circular_buffer_flexbuffers_data.ccD11-Mar-20242.5 KiB6240

generate_detection_postprocess_flexbuffers_data.ccD11-Mar-20242.9 KiB7654

README.md

1# Background
2
3As a Custom operator, detection_postprocess is using Flexbuffers library. In the
4unit test there is a need to use flexbuffers::Builder since the operator itself
5use flexbuffers::Map. However flexbuffers::Builder can not be used for most
6targets (basically only on X86), since it is using std::vector and std::map.
7Therefore the flexbuffers::Builder data is pregenerated on X86.
8
9# How to generate new data:
10
11~~~
12    ```g++ -I../../../micro/tools/make/downloads/flatbuffers/include generate_flexbuffers_data.cc && ./a.out > ../flexbuffers_generated_data.cc```
13
14~~~
15