> For the complete documentation index, see [llms.txt](https://boinc-ai.gitbook.io/optimum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://boinc-ai.gitbook.io/optimum/exporters/tflite/how-to-guides/add-support-for-exporting-an-architecture-to-tflite.md).

# Add support for exporting an architecture to TFLite

## Adding support for an unsupported architecture

If you wish to export a model whose architecture is not already supported by the library, the PR [#813 Adds support for ResNet](https://github.com/huggingface/optimum/pull/813) can be used as a reference.

You can make sure tests pass for the new `my_new_modeltype` model type by running:

Copied

```
pytest tests/exporters/tflite/test_*.py -k "my_new_modeltype" -s --exitfirst
```
