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

list of operations (TFMIC-6) #68

Open
99Pp opened this issue Oct 16, 2023 · 1 comment
Open

list of operations (TFMIC-6) #68

99Pp opened this issue Oct 16, 2023 · 1 comment

Comments

@99Pp
Copy link

99Pp commented Oct 16, 2023

Given a tflite model , how do I know what operations to perform on it to get inference . I remember there used to be a function GetSubgraphs .
Is there a way available now to find the operation list on the micro ? , there are ways available to find on host machine .

@github-actions github-actions bot changed the title list of operations list of operations (TFMIC-6) Oct 16, 2023
@vikramdattu
Copy link
Collaborator

Hello @99Pp you may take multiple approaches for this.

  1. Use a script from tflite-micro to extract the OPs into c code format. Please find the same here.
  2. You may visualise the model with some tool, e.g., netron.app to find out the OPs.
  3. Trial and error: Keep adding the OPs for which the code throws an error.

Method 2 IMO, needs no special tools or setup. Please do explore all the methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants