Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools/model_explorer_circle] Split HOWTO #14331

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tools/model_explorer_circle/HOWTO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## 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)
11 changes: 0 additions & 11 deletions tools/model_explorer_circle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,3 @@ 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)