Skip to content

Convert with a subset of TFLite built-in OPs #734

@hayhan

Description

@hayhan

Description of the bug:

The tensorflow lite builtin ops have grown to 209 (defined in tensorflow/lite/builtin_ops.h). While some devices may still run old tflite runtime such as tf 2.14.1 which cannot be upgraded for some reasons. The currently converted tflite model with ai-edge-torch may include newer OPs that the old tflite runtime doesn't support.

Is it possible to run the converter with a subset of OPs, e.g. with the ones of (0 ~ 161)?

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions