# \[RFC\]\[BYOC\] Android NNAPI Integration

**URL:** <https://discuss.tvm.apache.org/t/rfc-byoc-android-nnapi-integration/9072>\
**Category:** RFC\
**Created:** [February 5, 2021, 9:09am UTC](https://discuss.tvm.apache.org/t/rfc-byoc-android-nnapi-integration/9072 "2021-02-05T09:09:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![melsonlai](https://discuss.tvm.apache.org/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@melsonlai](https://discuss.tvm.apache.org/u/melsonlai)\
**Post date:** [February 7, 2021, 3:53pm UTC](https://discuss.tvm.apache.org/t/rfc-byoc-android-nnapi-integration/9072/6 "2021-02-07T15:53:31Z")

</div>

@comaniac Great idea to only test for compilation success for large sub-graphs. I agree on this approach. 👍

For the clang++ part, it currently gets invoked in `tvm.contrib.ndk.create_shared`, which is passed as the `fcompile` to `lib.export_library()`. I guess it’s good just as it is right now? The concern, if any, is that the arguments needs to be overrided with linkage to `libneuralnetworks.so` and tvm source/dependencies, which may be a bit unfamiliar for beginners. Should we create some kind of custom compilation function that passes these options for end users?

---

_[View the full topic](https://discuss.tvm.apache.org/t/rfc-byoc-android-nnapi-integration/9072)._
