<?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 MKL 2018.1 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149559#M26992</link>
    <description>&lt;P&gt;MKL 2018.1&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 07:54:48 GMT</pubDate>
    <dc:creator>gustafsson__bengt</dc:creator>
    <dc:date>2018-03-08T07:54:48Z</dc:date>
    <item>
      <title>DNN Pooling function issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149557#M26990</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm using the&amp;nbsp;dnnPoolingCreateForward_F32() function to create a max pooling but get E_INCORRECT_INPUT_PARAMETER reply.&lt;/P&gt;

&lt;P&gt;My test case is very simple: Downsample from 1x2 to 1x1 pixels. Input is:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;size_t inSize[4] = { 1, 2, 1, 1 };
... code to create the layout handle.

size_t kernelSize[2] = {1, 1};
size_t kernelStride[2] = {1, 2};
int offsets[2] = {0, 0};

dnnPoolingCreateForward_F32(&amp;amp;handle, attrib, dnnAlgorithmPoolingMax, srcLayout, 
                                                    kernelSize, kernelStride, offsets, dnnBorderZeros);
&lt;/PRE&gt;

&lt;P&gt;The call returns said error code.&lt;/P&gt;

&lt;P&gt;I noted that the output size calculation equation for pooling is different than for convolution, which seems strange. However, as I am not sending the assumed output size in this can't be the cause of the issue here. (The difference is ceil instead of floor for convolution, and still a trailing + 1, I'm assuming this is a type for now).&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I tried appending extra 1's to the kernel stride and size arrays but that didn't help (and didn't seem logical).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Much appreciated if someone has any ideas on what to do about this, the input data seems perfectly reasonable to me, and the error code is not very informative.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:31:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149557#M26990</guid>
      <dc:creator>gustafsson__bengt</dc:creator>
      <dc:date>2018-03-07T15:31:48Z</dc:date>
    </item>
    <item>
      <title>which version of mkl do you</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149558#M26991</link>
      <description>&lt;P&gt;which version of mkl do you use?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 05:15:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149558#M26991</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-03-08T05:15:57Z</dc:date>
    </item>
    <item>
      <title>MKL 2018.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149559#M26992</link>
      <description>&lt;P&gt;MKL 2018.1&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:54:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DNN-Pooling-function-issues/m-p/1149559#M26992</guid>
      <dc:creator>gustafsson__bengt</dc:creator>
      <dc:date>2018-03-08T07:54:48Z</dc:date>
    </item>
  </channel>
</rss>

