We implemented Python bindings to support the flexbuffer format for custom TensorFlow Lite operator options. In the next release of flatbuffers (2.0), Python bindings will be supported. So, we no longer need to maintain our own code for them. This code can be removed and the code that creates the custom options from a dictionary can be modified to use the bindings now provided by the flexbuffer library. See https://github.com/google/flatbuffers/blob/master/python/flatbuffers/flexbuffers.py
We implemented Python bindings to support the flexbuffer format for custom TensorFlow Lite operator options. In the next release of flatbuffers (2.0), Python bindings will be supported. So, we no longer need to maintain our own code for them. This code can be removed and the code that creates the custom options from a dictionary can be modified to use the bindings now provided by the flexbuffer library. See https://github.com/google/flatbuffers/blob/master/python/flatbuffers/flexbuffers.py
NOTE: This enhancement will not be necessary if implementing https://github.com/xmos/ai_tools/issues/352