# Tensorflow with AirPrime WP7702

**URL:** <https://forum.legato.io/t/tensorflow-with-airprime-wp7702/5538>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [December 8, 2020, 9:15pm UTC](https://forum.legato.io/t/tensorflow-with-airprime-wp7702/5538 "2020-12-08T21:15:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spiler](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Spiler](https://forum.legato.io/u/Spiler)\
**Post date:** [December 8, 2020, 9:15pm UTC](https://forum.legato.io/t/tensorflow-with-airprime-wp7702/5538/1 "2020-12-08T21:15:04Z")

</div>

Hi everyone,

I would like to include a third-party package allowing me to perform **machine learning** with an AirPrime module (For now I am focusing on the Tensorflow Framework with a **WP7702** on a **mangOH** board).

The filesystem being an ubifs I can not install the python packages in a “classic way”. For that I have to modify the Yocto source code. (AFAIK).

By looking to the OpenEmbedded layer index I stumbled upon differents layers with recipes I could use (see for example [meta-machinelearning](https://layers.openembedded.org/layerindex/branch/thud/layer/meta-machinelearning/)).

However, those layers are only available with a version of Yocto \>= 2.6 (thud).  
The last release of the WP7702 firmware is on Yocto 2.5.3.

**Does someone know if this module will have a firmware update with a more recent version of Yocto ? If yes, when ?**  
**Does someone ever tried to include deep learning within an AirPrime module ?**

Also, I saw that on gitlab, BSP (meta-swi) have a branch for Yocto \>= 2.6.  
When looking for conf files, i could find this:

> **swi-mdm9x28-wp.conf**
>
> ```
> #@TYPE: Machine
> #@NAME: swi-mdm9x28-wp
> #@DESCRIPTION: **Machine configuration for swi-mdm9x28 wp76xx and wp77xx systems**
> require conf/machine/swi-mdm9x28.conf
> 
> # Beginning of the WP recipes
> GENERIC_BASEMACHINE = "mdm9x28"
> 
> # Add a generic override for WP and the initial machine without WP
> OVERRIDES_append = ":swi-mdm9x28-wp:swi-mdm9x28"
> 
> ```

**Can I replace this layer with the one downloaded from Sierra Source to have right software/tools on my distro?**

Any help would be higly appreciated,  
Thanks !
