<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Yocto imx8m tensorflow-lite in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-imx8m-tensorflow-lite/m-p/1070367#M157227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to build C++ code and use tensorflow as a library. What do I have to ad to the Yocto image recipe to have header and required libs in SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the&amp;nbsp;rootfs it seems&lt;/P&gt;&lt;P&gt;that&amp;nbsp;IMAGE_INSTALL += " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tensorflow-lite \ &lt;/P&gt;&lt;P&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;does the job to have the examples in it (no lib, no headers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how about the SDK? I need headers and libs.&amp;nbsp; The idea was about:&lt;/P&gt;&lt;P&gt;SDKIMAGE_FEATURES_append = " \&lt;BR /&gt; staticdev-pkgs \&lt;BR /&gt; tensorflow-lite-dev \&lt;BR /&gt; tensorflow-lite-staticdev \&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;But I can't compile label_image (just as an example) because of undefined references. What do I miss?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a bit strange. Building the libtensorflow-lite.a out of Yocto results in 250MB lib, but building it external as described here (&lt;A class="link-titled" href="https://www.tensorflow.org/lite/guide/build_arm64" title="https://www.tensorflow.org/lite/guide/build_arm64"&gt;Build TensorFlow Lite for ARM64 boards&lt;/A&gt;&amp;nbsp;) results in a just 8MB lib ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2020 14:28:57 GMT</pubDate>
    <dc:creator>arno_0</dc:creator>
    <dc:date>2020-08-06T14:28:57Z</dc:date>
    <item>
      <title>Yocto imx8m tensorflow-lite</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-imx8m-tensorflow-lite/m-p/1070367#M157227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to build C++ code and use tensorflow as a library. What do I have to ad to the Yocto image recipe to have header and required libs in SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the&amp;nbsp;rootfs it seems&lt;/P&gt;&lt;P&gt;that&amp;nbsp;IMAGE_INSTALL += " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tensorflow-lite \ &lt;/P&gt;&lt;P&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;does the job to have the examples in it (no lib, no headers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how about the SDK? I need headers and libs.&amp;nbsp; The idea was about:&lt;/P&gt;&lt;P&gt;SDKIMAGE_FEATURES_append = " \&lt;BR /&gt; staticdev-pkgs \&lt;BR /&gt; tensorflow-lite-dev \&lt;BR /&gt; tensorflow-lite-staticdev \&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;But I can't compile label_image (just as an example) because of undefined references. What do I miss?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a bit strange. Building the libtensorflow-lite.a out of Yocto results in 250MB lib, but building it external as described here (&lt;A class="link-titled" href="https://www.tensorflow.org/lite/guide/build_arm64" title="https://www.tensorflow.org/lite/guide/build_arm64"&gt;Build TensorFlow Lite for ARM64 boards&lt;/A&gt;&amp;nbsp;) results in a just 8MB lib ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 14:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-imx8m-tensorflow-lite/m-p/1070367#M157227</guid>
      <dc:creator>arno_0</dc:creator>
      <dc:date>2020-08-06T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto imx8m tensorflow-lite</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-imx8m-tensorflow-lite/m-p/1070368#M157228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to follow the Getting Started, that we create for the eIQ,&amp;nbsp; which it is our software based on Tensor Flow, to add Machine Learning to our i.MX8 Devices.&amp;nbsp; Here is the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/community/eiq/blog/2019/07/01/getting-started-with-eiq-software-for-imx-applications-processors"&gt;https://community.nxp.com/community/eiq/blog/2019/07/01/getting-started-with-eiq-software-for-imx-applications-processors&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:53:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-imx8m-tensorflow-lite/m-p/1070368#M157228</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2020-08-06T15:53:33Z</dc:date>
    </item>
  </channel>
</rss>

