title: Reduce TFLite binary size android
body: <p>Is there a way to reduce the tensorflow-lite binary size for android, so that it will only contain the ops that the model is using? I know that there is an experimental way of select tensorflow ops (<a href="https://www.tensorflow.org/lite/guide/ops_select#known_limitations" rel="nofollow noreferrer">https://www.tensorflow.org/lite/guide/ops_select#known_limitations</a>) to use in tflite but i need it the other way around to reduce my binary.</p>
  <p>At the moment the whole tflite dependency is about 3.8 MB with all ABI´s. I just thought if it is possible to reduce even this with something like &quot;dselective header registration&quot; and compile my own small tflite.aar that only supports the ops that my model needs? On this page <a href="https://www.tensorflow.org/lite/guide" rel="nofollow noreferrer">https://www.tensorflow.org/lite/guide</a> there is a hint that exactly says what I need but there is no information about how to do this? Or do I miss something?</p>
  <p><a href="https://i.stack.imgur.com/t5D4z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t5D4z.png" alt="enter image description here" /></a></p>
  <p>I already have  a fully working bazel environment and are able to build the AAR from the tensorflow sources but the size is the same like the maven dependency.</p>