Create initial skeleton for the Flatbuffer -> MLIR importer
Add a flatbuffer_importer.cc that registers a translation from TFLite Flatbuffer to MLIR and incorporate it into the flatbuffer_translate tool. The translator does not yet perform any translation, but only validates that the input file contains a FlatBuffer and prints its version number and the names and input tensor IDs of each subgraph. The tests don't actually include the expected correct output, but instead simply make sure that the initial code, which only calls the flatbuffer parser and prints some simple information, functions correctly. PiperOrigin-RevId: 258431902
Showing
想要评论请 注册 或 登录