<?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>i.MX ProcessorsのトピックRe: eiq glow quantization</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703626#M210658</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, the model need to be quantizied and it used uint8 symmetric.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 14:35:43 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2023-08-11T14:35:43Z</dc:date>
    <item>
      <title>eiq glow quantization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703191#M210617</link>
      <description>&lt;P&gt;We are using the eIQ toolkit to compile some simple machine learning models. For space and inference time reasons we create a simple TFlite model without any quantization, and quantize using the glow model-profiler and compiler to integer operation&lt;/P&gt;&lt;P&gt;However, notable is that the Glow compiler docs claim to quantize everything as int8s, while the generated bundle accepts an unsigned uint8_t input. Does this mean that the model must be quantized to uint8s to use the range of the incoming data properly?&lt;/P&gt;&lt;P&gt;Is there a specific recommended quantization schema in the model profiler (int8 symmetric, uint8 symmetric, etc.)?&lt;/P&gt;&lt;P&gt;Is there a specific recommended way of matching input datatypes (floats) to the model's expected inputs (integers)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;beb&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 18:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703191#M210617</guid>
      <dc:creator>flee-elemind</dc:creator>
      <dc:date>2023-08-10T18:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: eiq glow quantization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703241#M210621</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fleeelemind_0-1691700918560.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236020iBECCE033E878019B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fleeelemind_0-1691700918560.png" alt="fleeelemind_0-1691700918560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached is the generated .dot file for the beginning of our model&lt;/P&gt;&lt;P&gt;You can see that the placeholder input accepts floats and immediately quantizes it with parameters [&lt;SPAN&gt;S:0.065829024 O:2] to feed into the rest of the model. Do I need to quantize the inputs into the placeholder, or will that node take care of it for me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In that case, how do I input floating point numbers to the inference function? Just memcpy them in and let it take care of the conversion?&lt;/P&gt;&lt;P&gt;In this way&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;memcpy(bundleInpAddr, test_input, sizeof(test_input));&lt;/P&gt;&lt;P&gt;where test_input is a snippet of data, I do not seemingly update the inference function (it always returns the same probabilities) regardless of the input data.&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 22:21:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703241#M210621</guid>
      <dc:creator>flee-elemind</dc:creator>
      <dc:date>2023-08-10T22:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: eiq glow quantization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703626#M210658</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, the model need to be quantizied and it used uint8 symmetric.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 14:35:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/eiq-glow-quantization/m-p/1703626#M210658</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-08-11T14:35:43Z</dc:date>
    </item>
  </channel>
</rss>

