blob: e5ef72b5db62669f644753fba802f342b92f1e8c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: CaffeSupport</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ArmNN
&#160;<span id="projectnumber">NotReleased</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('md_src_armnn_caffe_parser__caffe_support.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CaffeSupport </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>#Caffe layers supported by the Arm NN SDK This reference guide provides a list of Caffe layers the Arm NN SDK currently supports.</p>
<p>Although some other neural networks might work, Arm tests the Arm NN SDK with Caffe implementations of the following neural networks:</p>
<ul>
<li>AlexNet.</li>
<li>Cifar10.</li>
<li>Inception-BN.</li>
<li>Resnet_50, Resnet_101 and Resnet_152.</li>
<li>VGG_CNN_S, VGG_16 and VGG_19.</li>
<li>Yolov1_tiny.</li>
<li>Lenet.</li>
<li>MobileNetv1.</li>
</ul>
<p>The Arm NN SDK supports the following machine learning layers for Caffe networks:</p>
<ul>
<li>BatchNorm, in inference mode.</li>
<li><p class="startli">Convolution, excluding the Dilation Size, Weight Filler, Bias Filler, Engine, Force nd_im2col, and Axis parameters.</p>
<p class="startli">Caffe doesn't support depthwise convolution, the equivalent layer is implemented through the notion of groups. ArmNN supports groups this way:</p><ul>
<li>when group=1, it is a normal conv2d</li>
<li>when group=#input_channels, we can replace it by a depthwise convolution</li>
<li>when group&gt;1 &amp;&amp; group&lt;#input_channels, we need to split the input into the given number of groups, apply a separate convolution and then merge the results</li>
</ul>
</li>
<li>Concat, along the channel dimension only.</li>
<li>Dropout, in inference mode.</li>
<li>Eltwise, excluding the coeff parameter.</li>
<li>Inner Product, excluding the Weight Filler, Bias Filler, Engine, and Axis parameters.</li>
<li>Input.</li>
<li>LRN, excluding the Engine parameter.</li>
<li>Pooling, excluding the Stochastic Pooling and Engine parameters.</li>
<li>ReLU.</li>
<li>Scale.</li>
<li>Softmax, excluding the Axis and Engine parameters.</li>
<li>Split.</li>
</ul>
<p>More machine learning layers will be supported in future releases. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Fri Mar 13 2020 16:07:01 for ArmNN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>