diff --git a/tools/model_explorer_circle/README.md b/tools/model_explorer_circle/README.md index 7da12c0e891..5f2d7bc1450 100644 --- a/tools/model_explorer_circle/README.md +++ b/tools/model_explorer_circle/README.md @@ -5,3 +5,13 @@ Circle adapter is an extension adapter for displaying a Circle model in Model Ex * [Model Explorer](https://github.com/google-ai-edge/model-explorer) * Visulization tool for various type of model graphs such as onnx, tflite, pt2 and mlir. +### How to generate Circle schema python script + +(This is not mandatory since it already included default Circle schema generated by following procedure.) + +* When circle adapter loads the Circle model and displays in Model Explorer, it uses Circle schema. +* With the help of a flatbuffer compiler, we can create a Circle schema python interface for use in Circle adapter. +``` +flatc -p --gen-onefile --gen-object-api circle_schema.fbs +``` +* Note: For `--gen-onefile` option, you need to use the latest version of `flatc`. (tested version = v24.3.25)