Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: CaffePreprocessor Class Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('class_caffe_preprocessor.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#pub-types">Public Types</a> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="class_caffe_preprocessor-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">CaffePreprocessor Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_caffe_preprocessor_8hpp_source.xhtml">CaffePreprocessor.hpp</a>></code></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 109 | Public Types</h2></td></tr> |
| 110 | <tr class="memitem:a9d5c241a4bb952f78d140229d17f2465"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="class_caffe_preprocessor.xhtml#a9d5c241a4bb952f78d140229d17f2465">DataType</a> = float</td></tr> |
| 111 | <tr class="separator:a9d5c241a4bb952f78d140229d17f2465"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a0b6d5426d97a60215cdcd609dee35cc9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="class_caffe_preprocessor.xhtml#a0b6d5426d97a60215cdcd609dee35cc9">TTestCaseData</a> = <a class="el" href="class_classifier_test_case_data.xhtml">ClassifierTestCaseData</a>< <a class="el" href="class_caffe_preprocessor.xhtml#a9d5c241a4bb952f78d140229d17f2465">DataType</a> ></td></tr> |
| 113 | <tr class="separator:a0b6d5426d97a60215cdcd609dee35cc9"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table><table class="memberdecls"> |
| 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 116 | Public Member Functions</h2></td></tr> |
| 117 | <tr class="memitem:a6ca5a337226f4d2d85ffc3d95f39998e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_caffe_preprocessor.xhtml#a6ca5a337226f4d2d85ffc3d95f39998e">CaffePreprocessor</a> (const std::string &binaryFileDirectory, unsigned int width=227, unsigned int height=227, const std::vector< <a class="el" href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a> > &imageSet=std::vector< <a class="el" href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a> >())</td></tr> |
| 118 | <tr class="separator:a6ca5a337226f4d2d85ffc3d95f39998e"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a21e0733780e895c0baf0072c51cbfd23"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="class_caffe_preprocessor.xhtml#a0b6d5426d97a60215cdcd609dee35cc9">TTestCaseData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_caffe_preprocessor.xhtml#a21e0733780e895c0baf0072c51cbfd23">GetTestCaseData</a> (unsigned int testCaseId)</td></tr> |
| 120 | <tr class="separator:a21e0733780e895c0baf0072c51cbfd23"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | </table> |
| 122 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 123 | <div class="textblock"> |
| 124 | <p class="definition">Definition at line <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml#l00018">18</a> of file <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml">CaffePreprocessor.hpp</a>.</p> |
| 125 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 126 | <a id="a9d5c241a4bb952f78d140229d17f2465"></a> |
| 127 | <h2 class="memtitle"><span class="permalink"><a href="#a9d5c241a4bb952f78d140229d17f2465">◆ </a></span>DataType</h2> |
| 128 | |
| 129 | <div class="memitem"> |
| 130 | <div class="memproto"> |
| 131 | <table class="memname"> |
| 132 | <tr> |
| 133 | <td class="memname">using <a class="el" href="class_caffe_preprocessor.xhtml#a9d5c241a4bb952f78d140229d17f2465">DataType</a> = float</td> |
| 134 | </tr> |
| 135 | </table> |
| 136 | </div><div class="memdoc"> |
| 137 | |
| 138 | <p class="definition">Definition at line <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml#l00021">21</a> of file <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml">CaffePreprocessor.hpp</a>.</p> |
| 139 | |
| 140 | </div> |
| 141 | </div> |
| 142 | <a id="a0b6d5426d97a60215cdcd609dee35cc9"></a> |
| 143 | <h2 class="memtitle"><span class="permalink"><a href="#a0b6d5426d97a60215cdcd609dee35cc9">◆ </a></span>TTestCaseData</h2> |
| 144 | |
| 145 | <div class="memitem"> |
| 146 | <div class="memproto"> |
| 147 | <table class="memname"> |
| 148 | <tr> |
| 149 | <td class="memname">using <a class="el" href="class_caffe_preprocessor.xhtml#a0b6d5426d97a60215cdcd609dee35cc9">TTestCaseData</a> = <a class="el" href="class_classifier_test_case_data.xhtml">ClassifierTestCaseData</a><<a class="el" href="class_caffe_preprocessor.xhtml#a9d5c241a4bb952f78d140229d17f2465">DataType</a>></td> |
| 150 | </tr> |
| 151 | </table> |
| 152 | </div><div class="memdoc"> |
| 153 | |
| 154 | <p class="definition">Definition at line <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml#l00022">22</a> of file <a class="el" href="_caffe_preprocessor_8hpp_source.xhtml">CaffePreprocessor.hpp</a>.</p> |
| 155 | |
| 156 | </div> |
| 157 | </div> |
| 158 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 159 | <a id="a6ca5a337226f4d2d85ffc3d95f39998e"></a> |
| 160 | <h2 class="memtitle"><span class="permalink"><a href="#a6ca5a337226f4d2d85ffc3d95f39998e">◆ </a></span>CaffePreprocessor()</h2> |
| 161 | |
| 162 | <div class="memitem"> |
| 163 | <div class="memproto"> |
| 164 | <table class="mlabels"> |
| 165 | <tr> |
| 166 | <td class="mlabels-left"> |
| 167 | <table class="memname"> |
| 168 | <tr> |
| 169 | <td class="memname"><a class="el" href="class_caffe_preprocessor.xhtml">CaffePreprocessor</a> </td> |
| 170 | <td>(</td> |
| 171 | <td class="paramtype">const std::string & </td> |
| 172 | <td class="paramname"><em>binaryFileDirectory</em>, </td> |
| 173 | </tr> |
| 174 | <tr> |
| 175 | <td class="paramkey"></td> |
| 176 | <td></td> |
| 177 | <td class="paramtype">unsigned int </td> |
| 178 | <td class="paramname"><em>width</em> = <code>227</code>, </td> |
| 179 | </tr> |
| 180 | <tr> |
| 181 | <td class="paramkey"></td> |
| 182 | <td></td> |
| 183 | <td class="paramtype">unsigned int </td> |
| 184 | <td class="paramname"><em>height</em> = <code>227</code>, </td> |
| 185 | </tr> |
| 186 | <tr> |
| 187 | <td class="paramkey"></td> |
| 188 | <td></td> |
| 189 | <td class="paramtype">const std::vector< <a class="el" href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a> > & </td> |
| 190 | <td class="paramname"><em>imageSet</em> = <code>std::vector<<a class="el" href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a>>()</code> </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td></td> |
| 194 | <td>)</td> |
| 195 | <td></td><td></td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </td> |
| 199 | <td class="mlabels-right"> |
| 200 | <span class="mlabels"><span class="mlabel">explicit</span></span> </td> |
| 201 | </tr> |
| 202 | </table> |
| 203 | </div><div class="memdoc"> |
| 204 | |
| 205 | <p class="definition">Definition at line <a class="el" href="_caffe_preprocessor_8cpp_source.xhtml#l00021">21</a> of file <a class="el" href="_caffe_preprocessor_8cpp_source.xhtml">CaffePreprocessor.cpp</a>.</p> |
| 206 | <div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> : m_BinaryDirectory(binaryFileDirectory)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> , m_Height(height)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> , m_Width(width)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> , m_ImageSet(imageSet.empty() ? <a class="code" href="_caffe_preprocessor_8cpp.xhtml#a2e3a3e9d1f061482dc3dfcc790dceb79">g_DefaultImageSet</a> : imageSet)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="ttc" id="_caffe_preprocessor_8cpp_xhtml_a2e3a3e9d1f061482dc3dfcc790dceb79"><div class="ttname"><a href="_caffe_preprocessor_8cpp.xhtml#a2e3a3e9d1f061482dc3dfcc790dceb79">g_DefaultImageSet</a></div><div class="ttdeci">const std::vector< ImageSet > g_DefaultImageSet</div><div class="ttdef"><b>Definition:</b> <a href="_caffe_preprocessor_8cpp_source.xhtml#l00016">CaffePreprocessor.cpp:16</a></div></div> |
| 207 | </div><!-- fragment --> |
| 208 | </div> |
| 209 | </div> |
| 210 | <h2 class="groupheader">Member Function Documentation</h2> |
| 211 | <a id="a21e0733780e895c0baf0072c51cbfd23"></a> |
| 212 | <h2 class="memtitle"><span class="permalink"><a href="#a21e0733780e895c0baf0072c51cbfd23">◆ </a></span>GetTestCaseData()</h2> |
| 213 | |
| 214 | <div class="memitem"> |
| 215 | <div class="memproto"> |
| 216 | <table class="memname"> |
| 217 | <tr> |
| 218 | <td class="memname">std::unique_ptr< <a class="el" href="class_caffe_preprocessor.xhtml#a0b6d5426d97a60215cdcd609dee35cc9">CaffePreprocessor::TTestCaseData</a> > GetTestCaseData </td> |
| 219 | <td>(</td> |
| 220 | <td class="paramtype">unsigned int </td> |
| 221 | <td class="paramname"><em>testCaseId</em></td><td>)</td> |
| 222 | <td></td> |
| 223 | </tr> |
| 224 | </table> |
| 225 | </div><div class="memdoc"> |
| 226 | |
| 227 | <p class="definition">Definition at line <a class="el" href="_caffe_preprocessor_8cpp_source.xhtml#l00030">30</a> of file <a class="el" href="_caffe_preprocessor_8cpp_source.xhtml">CaffePreprocessor.cpp</a>.</p> |
| 228 | |
| 229 | <p class="reference">References <a class="el" href="_inference_test_image_8hpp.xhtml#a5f7592b0a8fa09208cd32721cf207110a103b58155b4c5cc09249629e7ccd5dc2">Bgr</a>, <a class="el" href="_exceptions_8hpp_source.xhtml#l00192">CHECK_LOCATION</a>, <a class="el" href="_inference_test_image_8cpp_source.xhtml#l00322">GetImageDataInArmNnLayoutAsFloatsSubtractingMean()</a>, <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>, and <a class="el" href="_inference_test_image_8cpp_source.xhtml#l00209">InferenceTestImage::Resize()</a>.</p> |
| 230 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  testCaseId = testCaseId % <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>>(m_ImageSet.size());</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">const</span> <a class="code" href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a>& imageSet = m_ImageSet[testCaseId];</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">const</span> std::string fullPath = m_BinaryDirectory + imageSet.first;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="class_inference_test_image.xhtml">InferenceTestImage</a> image(fullPath.c_str());</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  image.<a class="code" href="class_inference_test_image.xhtml#a4a6637c2a2952a14cb3a426133b67a73">Resize</a>(m_Width, m_Height, <a class="code" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// The model expects image data in BGR format.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  std::vector<float> inputImageData = <a class="code" href="_inference_test_image_8cpp.xhtml#a16f15d88afcc9c6bba231cc72bdd8cbf">GetImageDataInArmNnLayoutAsFloatsSubtractingMean</a>(<a class="code" href="_inference_test_image_8hpp.xhtml#a5f7592b0a8fa09208cd32721cf207110a103b58155b4c5cc09249629e7ccd5dc2">ImageChannelLayout::Bgr</a>,</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  image, m_MeanBgr);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// List of labels: https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label = imageSet.second;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</span> std::make_unique<TTestCaseData>(label, std::move(inputImageData));</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> }</div><div class="ttc" id="_caffe_preprocessor_8hpp_xhtml_aaf2811634c15da39d0966a444b780a55"><div class="ttname"><a href="_caffe_preprocessor_8hpp.xhtml#aaf2811634c15da39d0966a444b780a55">ImageSet</a></div><div class="ttdeci">std::pair< const std::string, unsigned int > ImageSet</div><div class="ttdoc">Caffe requires BGR images, not normalized, mean adjusted and resized using smooth resize of STB libra...</div><div class="ttdef"><b>Definition:</b> <a href="_caffe_preprocessor_8hpp_source.xhtml#l00016">CaffePreprocessor.hpp:16</a></div></div> |
| 231 | <div class="ttc" id="_inference_test_image_8cpp_xhtml_a16f15d88afcc9c6bba231cc72bdd8cbf"><div class="ttname"><a href="_inference_test_image_8cpp.xhtml#a16f15d88afcc9c6bba231cc72bdd8cbf">GetImageDataInArmNnLayoutAsFloatsSubtractingMean</a></div><div class="ttdeci">std::vector< float > GetImageDataInArmNnLayoutAsFloatsSubtractingMean(ImageChannelLayout layout, const InferenceTestImage &image, const std::array< float, 3 > &mean)</div><div class="ttdef"><b>Definition:</b> <a href="_inference_test_image_8cpp_source.xhtml#l00322">InferenceTestImage.cpp:322</a></div></div> |
| 232 | <div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div> |
| 233 | <div class="ttc" id="_exceptions_8hpp_xhtml_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00192">Exceptions.hpp:192</a></div></div> |
| 234 | <div class="ttc" id="class_inference_test_image_xhtml"><div class="ttname"><a href="class_inference_test_image.xhtml">InferenceTestImage</a></div><div class="ttdef"><b>Definition:</b> <a href="_inference_test_image_8hpp_source.xhtml#l00051">InferenceTestImage.hpp:51</a></div></div> |
| 235 | <div class="ttc" id="class_inference_test_image_xhtml_a4a6637c2a2952a14cb3a426133b67a73"><div class="ttname"><a href="class_inference_test_image.xhtml#a4a6637c2a2952a14cb3a426133b67a73">InferenceTestImage::Resize</a></div><div class="ttdeci">std::vector< float > Resize(unsigned int newWidth, unsigned int newHeight, const armnn::CheckLocation &location, const ResizingMethods meth=ResizingMethods::STB, const std::array< float, 3 > &mean={{0.0, 0.0, 0.0}}, const std::array< float, 3 > &stddev={{1.0, 1.0, 1.0}}, const float scale=255.0f)</div><div class="ttdef"><b>Definition:</b> <a href="_inference_test_image_8cpp_source.xhtml#l00209">InferenceTestImage.cpp:209</a></div></div> |
| 236 | <div class="ttc" id="_inference_test_image_8hpp_xhtml_a5f7592b0a8fa09208cd32721cf207110a103b58155b4c5cc09249629e7ccd5dc2"><div class="ttname"><a href="_inference_test_image_8hpp.xhtml#a5f7592b0a8fa09208cd32721cf207110a103b58155b4c5cc09249629e7ccd5dc2">ImageChannelLayout::Bgr</a></div></div> |
| 237 | </div><!-- fragment --> |
| 238 | </div> |
| 239 | </div> |
| 240 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 241 | <li>tests/<a class="el" href="_caffe_preprocessor_8hpp_source.xhtml">CaffePreprocessor.hpp</a></li> |
| 242 | <li>tests/<a class="el" href="_caffe_preprocessor_8cpp_source.xhtml">CaffePreprocessor.cpp</a></li> |
| 243 | </ul> |
| 244 | </div><!-- contents --> |
| 245 | </div><!-- doc-content --> |
| 246 | <!-- start footer part --> |
| 247 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 248 | <ul> |
| 249 | <li class="navelem"><a class="el" href="class_caffe_preprocessor.xhtml">CaffePreprocessor</a></li> |
| 250 | <li class="footer">Generated on Fri Mar 13 2020 16:09:16 for ArmNN by |
| 251 | <a href="http://www.doxygen.org/index.html"> |
| 252 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 253 | </ul> |
| 254 | </div> |
| 255 | </body> |
| 256 | </html> |