Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
BUILD | D | 11-Mar-2024 | 466 | 25 | 22 | |
README.md | D | 11-Mar-2024 | 578 | 15 | 10 | |
generate_circular_buffer_flexbuffers_data.cc | D | 11-Mar-2024 | 2.5 KiB | 62 | 40 | |
generate_detection_postprocess_flexbuffers_data.cc | D | 11-Mar-2024 | 2.9 KiB | 76 | 54 |
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