# Determining if an ONNX operator is supported by TFLite

**URL:** <https://discuss.ai.google.dev/t/determining-if-an-onnx-operator-is-supported-by-tflite/25521>\
**Category:** General Discussion\
**Tags:** tflite\
**Created:** [August 10, 2022, 3:23pm UTC](https://discuss.ai.google.dev/t/determining-if-an-onnx-operator-is-supported-by-tflite/25521 "2022-08-10T15:23:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgov](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/rgov/32/12294_2.png) [@rgov](https://discuss.ai.google.dev/u/rgov)\
**Post date:** [August 10, 2022, 3:23pm UTC](https://discuss.ai.google.dev/t/determining-if-an-onnx-operator-is-supported-by-tflite/25521/1 "2022-08-10T15:23:23Z")

</div>

I’m contemplating whether TensorFlow Lite could be used as a backend (“execution provider”) for ONNX Runtime (ORT). ORT supports most of the same execution providers as TFLite, so it’s mostly redundant, but this would unlock using [Coral TPUs](https://coral.ai/) from ORT.

I have [a thread over on the ORT GitHub about implementing this](https://github.com/microsoft/onnxruntime/discussions/12529).

1. Both ORT and TFLite perform a graph partitioning, which I understand as assigning each node to the most capable hardware device that can perform the operator (i.e., a delegate in TFLite or execution provider in ORT).

2. Is there an API that tells me what backend TFLite selected? ORT may only want TFLite to execute subgraphs for which it has an accelerated backend, and keep anything that runs on the CPU for itself. (If no, this isn’t a showstopper.)
