<?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 EIQ-Neutron conversion problem from int8 to uint8 for Softmax Layer in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/EIQ-Neutron-conversion-problem-from-int8-to-uint8-for-Softmax/m-p/2059498#M2652</link>
    <description>&lt;P&gt;Hello, I wanted to ask a question about the conversion tool in eIQ portal, and in particular to the conversion "eiq converter-neutron".&lt;BR /&gt;I am bringing my own model, training a time series model that uses a Transformer structure, and converting it in TFlite with my own dataset outside the eiq portal.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This quantized model has all the layers inputs and outputs converted to int8 as verified by the graph in the eiq portal. The problem is that when I use&amp;nbsp;eiq converter-neutron the softmax output gets converted into uint8, and this produces an error in developing phase, since TF lite for microcontrollers wants the softmax layer to have input and output of the same format.&lt;BR /&gt;&lt;BR /&gt;Are there some workarounds to this?&lt;BR /&gt;Thank you in advance for your help!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 11:59:54 GMT</pubDate>
    <dc:creator>fylips98</dc:creator>
    <dc:date>2025-03-11T11:59:54Z</dc:date>
    <item>
      <title>EIQ-Neutron conversion problem from int8 to uint8 for Softmax Layer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/EIQ-Neutron-conversion-problem-from-int8-to-uint8-for-Softmax/m-p/2059498#M2652</link>
      <description>&lt;P&gt;Hello, I wanted to ask a question about the conversion tool in eIQ portal, and in particular to the conversion "eiq converter-neutron".&lt;BR /&gt;I am bringing my own model, training a time series model that uses a Transformer structure, and converting it in TFlite with my own dataset outside the eiq portal.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This quantized model has all the layers inputs and outputs converted to int8 as verified by the graph in the eiq portal. The problem is that when I use&amp;nbsp;eiq converter-neutron the softmax output gets converted into uint8, and this produces an error in developing phase, since TF lite for microcontrollers wants the softmax layer to have input and output of the same format.&lt;BR /&gt;&lt;BR /&gt;Are there some workarounds to this?&lt;BR /&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/EIQ-Neutron-conversion-problem-from-int8-to-uint8-for-Softmax/m-p/2059498#M2652</guid>
      <dc:creator>fylips98</dc:creator>
      <dc:date>2025-03-11T11:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: EIQ-Neutron conversion problem from int8 to uint8 for Softmax Layer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/EIQ-Neutron-conversion-problem-from-int8-to-uint8-for-Softmax/m-p/2061812#M2676</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247896"&gt;@fylips98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;Please try to quantize original Tensorflow model with eIQ and set the data type to int8 in quantization option.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Celeste&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-----------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 06:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/EIQ-Neutron-conversion-problem-from-int8-to-uint8-for-Softmax/m-p/2061812#M2676</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-03-14T06:11:36Z</dc:date>
    </item>
  </channel>
</rss>

