# Is there an example using OpenFHE for Deep Neural Network?

**URL:** <https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464>\
**Category:** Library Questions\
**Tags:** questions\
**Created:** [April 12, 2023, 1:53am UTC](https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464 "2023-04-12T01:53:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lance](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@lance](https://openfhe.discourse.group/u/lance)\
**Post date:** [April 12, 2023, 1:53am UTC](https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464/1 "2023-04-12T01:53:07Z")

</div>

As the title, I want to apply this library on DNN or other AI.  
Is there an example?

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [April 14, 2023, 8:41pm UTC](https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464/2 "2023-04-14T20:41:58Z")

</div>

There is a CNN inference implementation written using OpenFHE (for a 7-layer model), but it is not currently publicly available. I will announce in the forum once we make it publicly available.

---

<div class="post-metadata">

**Author:** ![j2kun](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/j2kun/32/202_2.png) [@j2kun](https://openfhe.discourse.group/u/j2kun)\
**Post date:** [November 11, 2024, 5:31pm UTC](https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464/3 "2024-11-11T17:31:32Z")

</div>

Hi Yuriy, did this ever get released?

---

<div class="post-metadata">

**Author:** ![Caesar](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/caesar/32/63_2.png) [@Caesar](https://openfhe.discourse.group/u/Caesar)\
**Post date:** [November 11, 2024, 5:57pm UTC](https://openfhe.discourse.group/t/is-there-an-example-using-openfhe-for-deep-neural-network/464/4 "2024-11-11T17:57:11Z")

</div>

Not the implementation Yuriy referred to, but have you had the chance to look at this [implementation](https://github.com/narger-ef/LowMemoryFHEResNet20)?  
Associated paper: [Encrypted Image Classification with Low Memory Footprint using Fully Homomorphic Encryption](https://eprint.iacr.org/2024/460.pdf)
