1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: GraphBuilder Class Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18 $(document).ready(initResizable);
19 $(window).load(resizeHeight);
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25 $(document).ready(function() { init_search(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.05</span>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related Pages</span></a></li>
59 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60 <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
69 <input type="text" id="MSearchField" value="Search" accesskey="S"
70 onfocus="searchBox.OnSearchFieldFocus(true)"
71 onblur="searchBox.OnSearchFieldFocus(false)"
72 onkeyup="searchBox.OnSearchFieldChange(event)"/>
73 </span><span class="right">
74 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_graph_builder.xhtml','');});
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105 onmouseover="return searchBox.OnSearchSelectShow()"
106 onmouseout="return searchBox.OnSearchSelectHide()"
107 onkeydown="return searchBox.OnSearchSelectKey(event)">
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0"
113 name="MSearchResults" id="MSearchResults">
118 <div class="summary">
119 <a href="#pub-static-methods">Static Public Member Functions</a> </div>
120 <div class="headertitle">
121 <div class="title">GraphBuilder Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
123 <div class="contents">
125 <p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> builder class.
126 <a href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#details">More...</a></p>
128 <p><code>#include <<a class="el" href="_graph_builder_8h_source.xhtml">GraphBuilder.h</a>></code></p>
129 <table class="memberdecls">
130 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
131 Static Public Member Functions</h2></td></tr>
132 <tr class="memitem:ac304c66615e62c6b4aa40e8728920002"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#ac304c66615e62c6b4aa40e8728920002">add_const_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">TensorDescriptor</a> desc, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> accessor=nullptr)</td></tr>
133 <tr class="memdesc:ac304c66615e62c6b4aa40e8728920002"><td class="mdescLeft"> </td><td class="mdescRight">Adds a Const node to the graph. <a href="#ac304c66615e62c6b4aa40e8728920002">More...</a><br /></td></tr>
134 <tr class="separator:ac304c66615e62c6b4aa40e8728920002"><td class="memSeparator" colspan="2"> </td></tr>
135 <tr class="memitem:a4bed63b35b24f8f44260237558e8a02b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a4bed63b35b24f8f44260237558e8a02b">add_input_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">TensorDescriptor</a> desc, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> accessor=nullptr)</td></tr>
136 <tr class="memdesc:a4bed63b35b24f8f44260237558e8a02b"><td class="mdescLeft"> </td><td class="mdescRight">Adds an input layer node to the graph. <a href="#a4bed63b35b24f8f44260237558e8a02b">More...</a><br /></td></tr>
137 <tr class="separator:a4bed63b35b24f8f44260237558e8a02b"><td class="memSeparator" colspan="2"> </td></tr>
138 <tr class="memitem:ab87ec51542d159d5efae373c82b7944c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#ab87ec51542d159d5efae373c82b7944c">add_output_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> accessor=nullptr)</td></tr>
139 <tr class="memdesc:ab87ec51542d159d5efae373c82b7944c"><td class="mdescLeft"> </td><td class="mdescRight">Adds an output layer node to the graph. <a href="#ab87ec51542d159d5efae373c82b7944c">More...</a><br /></td></tr>
140 <tr class="separator:ab87ec51542d159d5efae373c82b7944c"><td class="memSeparator" colspan="2"> </td></tr>
141 <tr class="memitem:a890a11b240837645352791b2e89632b1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a890a11b240837645352791b2e89632b1">add_activation_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> act_info)</td></tr>
142 <tr class="memdesc:a890a11b240837645352791b2e89632b1"><td class="mdescLeft"> </td><td class="mdescRight">Adds an activation layer node to the graph. <a href="#a890a11b240837645352791b2e89632b1">More...</a><br /></td></tr>
143 <tr class="separator:a890a11b240837645352791b2e89632b1"><td class="memSeparator" colspan="2"> </td></tr>
144 <tr class="memitem:acc31c037c3eac4234abae6ec0e080d2f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#acc31c037c3eac4234abae6ec0e080d2f">add_batch_normalization_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, float epsilon, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> mean_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> var_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> beta_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> gamma_accessor=nullptr)</td></tr>
145 <tr class="memdesc:acc31c037c3eac4234abae6ec0e080d2f"><td class="mdescLeft"> </td><td class="mdescRight">Adds a batch normalization layer node to the graph. <a href="#acc31c037c3eac4234abae6ec0e080d2f">More...</a><br /></td></tr>
146 <tr class="separator:acc31c037c3eac4234abae6ec0e080d2f"><td class="memSeparator" colspan="2"> </td></tr>
147 <tr class="memitem:a2c8bc1735814df209ef5ad3323cd5863"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a2c8bc1735814df209ef5ad3323cd5863">add_convolution_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> kernel_spatial_extend, unsigned int depth, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> conv_info, unsigned int num_groups=1, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517d">ConvolutionMethod</a> method=<a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517da5b39c8b553c821e7cddc6da64b5bd2ee">ConvolutionMethod::DEFAULT</a>, <a class="el" href="namespacearm__compute_1_1graph.xhtml#ac85a46f3ebd3ab09f576a994ac2dce11">FastMathHint</a> fast_math_hint=<a class="el" href="namespacearm__compute_1_1graph.xhtml#ac85a46f3ebd3ab09f576a994ac2dce11a055c1a591abb0e8cd86dc969727bcc0b">FastMathHint::DISABLED</a>, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> weights_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> bias_accessor=nullptr, const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> weights_quant_info=<a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>(), const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> out_quant_info=<a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>())</td></tr>
148 <tr class="memdesc:a2c8bc1735814df209ef5ad3323cd5863"><td class="mdescLeft"> </td><td class="mdescRight">Adds a convolution layer node to the graph. <a href="#a2c8bc1735814df209ef5ad3323cd5863">More...</a><br /></td></tr>
149 <tr class="separator:a2c8bc1735814df209ef5ad3323cd5863"><td class="memSeparator" colspan="2"> </td></tr>
150 <tr class="memitem:a4e79becb4675e8e78f5ffb30a89460ca"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a4e79becb4675e8e78f5ffb30a89460ca">add_depth_concatenate_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, std::vector< <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> > inputs)</td></tr>
151 <tr class="memdesc:a4e79becb4675e8e78f5ffb30a89460ca"><td class="mdescLeft"> </td><td class="mdescRight">Adds a depth concatenate node to the graph. <a href="#a4e79becb4675e8e78f5ffb30a89460ca">More...</a><br /></td></tr>
152 <tr class="separator:a4e79becb4675e8e78f5ffb30a89460ca"><td class="memSeparator" colspan="2"> </td></tr>
153 <tr class="memitem:a8e4e65674676098214cd6ee38d740bb1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a8e4e65674676098214cd6ee38d740bb1">add_depthwise_convolution_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> kernel_spatial_extend, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> conv_info, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a75ce9b1baad4303a53124d6f0795821f">DepthwiseConvolutionMethod</a> method=<a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517da5b39c8b553c821e7cddc6da64b5bd2ee">DepthwiseConvolutionMethod::DEFAULT</a>, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> weights_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> bias_accessor=nullptr, const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> quant_info=<a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>())</td></tr>
154 <tr class="memdesc:a8e4e65674676098214cd6ee38d740bb1"><td class="mdescLeft"> </td><td class="mdescRight">Adds a depth-wise convolution layer node to the graph. <a href="#a8e4e65674676098214cd6ee38d740bb1">More...</a><br /></td></tr>
155 <tr class="separator:a8e4e65674676098214cd6ee38d740bb1"><td class="memSeparator" colspan="2"> </td></tr>
156 <tr class="memitem:a7d0d78c3fe7a6530cf184a8f99172214"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a7d0d78c3fe7a6530cf184a8f99172214">add_elementwise_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input0, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input1, <a class="el" href="namespacearm__compute_1_1graph.xhtml#aa12973876c037bddff8e9ece94aca0e4">EltwiseOperation</a> operation)</td></tr>
157 <tr class="memdesc:a7d0d78c3fe7a6530cf184a8f99172214"><td class="mdescLeft"> </td><td class="mdescRight">Adds an element-wise layer node to the graph. <a href="#a7d0d78c3fe7a6530cf184a8f99172214">More...</a><br /></td></tr>
158 <tr class="separator:a7d0d78c3fe7a6530cf184a8f99172214"><td class="memSeparator" colspan="2"> </td></tr>
159 <tr class="memitem:a822583f5b38ff029ea1e1c221dbfe19f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a822583f5b38ff029ea1e1c221dbfe19f">add_flatten_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input)</td></tr>
160 <tr class="memdesc:a822583f5b38ff029ea1e1c221dbfe19f"><td class="mdescLeft"> </td><td class="mdescRight">Adds a flatten layer node to the graph. <a href="#a822583f5b38ff029ea1e1c221dbfe19f">More...</a><br /></td></tr>
161 <tr class="separator:a822583f5b38ff029ea1e1c221dbfe19f"><td class="memSeparator" colspan="2"> </td></tr>
162 <tr class="memitem:ad1dbeadf5e85d923fa0751b19c0a4170"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#ad1dbeadf5e85d923fa0751b19c0a4170">add_fully_connected_layer</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, unsigned int num_outputs, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> weights_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> bias_accessor=nullptr)</td></tr>
163 <tr class="memdesc:ad1dbeadf5e85d923fa0751b19c0a4170"><td class="mdescLeft"> </td><td class="mdescRight">Adds a fully connected layer node to the graph. <a href="#ad1dbeadf5e85d923fa0751b19c0a4170">More...</a><br /></td></tr>
164 <tr class="separator:ad1dbeadf5e85d923fa0751b19c0a4170"><td class="memSeparator" colspan="2"> </td></tr>
165 <tr class="memitem:a15885529ec64ecf2b388f6229c5a65fa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a15885529ec64ecf2b388f6229c5a65fa">add_normalization_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml">NormalizationLayerInfo</a> norm_info)</td></tr>
166 <tr class="memdesc:a15885529ec64ecf2b388f6229c5a65fa"><td class="mdescLeft"> </td><td class="mdescRight">Adds a normalization layer node to the graph. <a href="#a15885529ec64ecf2b388f6229c5a65fa">More...</a><br /></td></tr>
167 <tr class="separator:a15885529ec64ecf2b388f6229c5a65fa"><td class="memSeparator" colspan="2"> </td></tr>
168 <tr class="memitem:af8eae85804c35bc91d26fe28efc3936a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#af8eae85804c35bc91d26fe28efc3936a">add_pooling_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> pool_info)</td></tr>
169 <tr class="memdesc:af8eae85804c35bc91d26fe28efc3936a"><td class="mdescLeft"> </td><td class="mdescRight">Adds a pooling layer node to the graph. <a href="#af8eae85804c35bc91d26fe28efc3936a">More...</a><br /></td></tr>
170 <tr class="separator:af8eae85804c35bc91d26fe28efc3936a"><td class="memSeparator" colspan="2"> </td></tr>
171 <tr class="memitem:a30a1530d919a233e389f32ad9a6e2b25"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a30a1530d919a233e389f32ad9a6e2b25">add_reshape_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> shape)</td></tr>
172 <tr class="memdesc:a30a1530d919a233e389f32ad9a6e2b25"><td class="mdescLeft"> </td><td class="mdescRight">Adds a reshape layer node to the graph. <a href="#a30a1530d919a233e389f32ad9a6e2b25">More...</a><br /></td></tr>
173 <tr class="separator:a30a1530d919a233e389f32ad9a6e2b25"><td class="memSeparator" colspan="2"> </td></tr>
174 <tr class="memitem:a9065925e20c5b5aa449d3ef9dc371085"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#a9065925e20c5b5aa449d3ef9dc371085">add_scale_layer</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, const <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> &params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> mul_accessor=nullptr, <a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> add_accessor=nullptr)</td></tr>
175 <tr class="memdesc:a9065925e20c5b5aa449d3ef9dc371085"><td class="mdescLeft"> </td><td class="mdescRight">Adds a scale layer node to the graph This layer computes a product of the input with a scale (read from mul_accessor) and it applies an offset (read from add_accessor). <a href="#a9065925e20c5b5aa449d3ef9dc371085">More...</a><br /></td></tr>
176 <tr class="separator:a9065925e20c5b5aa449d3ef9dc371085"><td class="memSeparator" colspan="2"> </td></tr>
177 <tr class="memitem:acb202d26a81ff465a95e5f869d6ee141"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#acb202d26a81ff465a95e5f869d6ee141">add_softmax_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, float beta=1.f)</td></tr>
178 <tr class="memdesc:acb202d26a81ff465a95e5f869d6ee141"><td class="mdescLeft"> </td><td class="mdescRight">Adds a softmax node to the graph. <a href="#acb202d26a81ff465a95e5f869d6ee141">More...</a><br /></td></tr>
179 <tr class="separator:acb202d26a81ff465a95e5f869d6ee141"><td class="memSeparator" colspan="2"> </td></tr>
180 <tr class="memitem:afbe47092174c74b23af3312c02341e09"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml#afbe47092174c74b23af3312c02341e09">add_split_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g, <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> params, <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> input, unsigned int num_splits, unsigned int axis=0)</td></tr>
181 <tr class="memdesc:afbe47092174c74b23af3312c02341e09"><td class="mdescLeft"> </td><td class="mdescRight">Adds a split node to the graph. <a href="#afbe47092174c74b23af3312c02341e09">More...</a><br /></td></tr>
182 <tr class="separator:afbe47092174c74b23af3312c02341e09"><td class="memSeparator" colspan="2"> </td></tr>
184 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
185 <div class="textblock"><p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> builder class. </p>
186 <p>Builds and compiles a graph </p>
188 <p>Definition at line <a class="el" href="_graph_builder_8h_source.xhtml#l00041">41</a> of file <a class="el" href="_graph_builder_8h_source.xhtml">GraphBuilder.h</a>.</p>
189 </div><h2 class="groupheader">Member Function Documentation</h2>
190 <a class="anchor" id="a890a11b240837645352791b2e89632b1"></a>
191 <div class="memitem">
192 <div class="memproto">
193 <table class="mlabels">
195 <td class="mlabels-left">
196 <table class="memname">
198 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_activation_node </td>
200 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
201 <td class="paramname"><em>g</em>, </td>
204 <td class="paramkey"></td>
206 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
207 <td class="paramname"><em>params</em>, </td>
210 <td class="paramkey"></td>
212 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
213 <td class="paramname"><em>input</em>, </td>
216 <td class="paramkey"></td>
218 <td class="paramtype"><a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> </td>
219 <td class="paramname"><em>act_info</em> </td>
228 <td class="mlabels-right">
229 <span class="mlabels"><span class="mlabel">static</span></span> </td>
232 </div><div class="memdoc">
234 <p>Adds an activation layer node to the graph. </p>
235 <dl class="params"><dt>Parameters</dt><dd>
236 <table class="params">
237 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
238 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
239 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the activation layer node as a NodeID-Index pair </td></tr>
240 <tr><td class="paramdir">[in]</td><td class="paramname">act_info</td><td>Activation layer information</td></tr>
244 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
246 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00106">ActivationLayer::create_layer()</a>.</p>
250 <a class="anchor" id="acc31c037c3eac4234abae6ec0e080d2f"></a>
251 <div class="memitem">
252 <div class="memproto">
253 <table class="mlabels">
255 <td class="mlabels-left">
256 <table class="memname">
258 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_batch_normalization_node </td>
260 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
261 <td class="paramname"><em>g</em>, </td>
264 <td class="paramkey"></td>
266 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
267 <td class="paramname"><em>params</em>, </td>
270 <td class="paramkey"></td>
272 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
273 <td class="paramname"><em>input</em>, </td>
276 <td class="paramkey"></td>
278 <td class="paramtype">float </td>
279 <td class="paramname"><em>epsilon</em>, </td>
282 <td class="paramkey"></td>
284 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
285 <td class="paramname"><em>mean_accessor</em> = <code>nullptr</code>, </td>
288 <td class="paramkey"></td>
290 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
291 <td class="paramname"><em>var_accessor</em> = <code>nullptr</code>, </td>
294 <td class="paramkey"></td>
296 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
297 <td class="paramname"><em>beta_accessor</em> = <code>nullptr</code>, </td>
300 <td class="paramkey"></td>
302 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
303 <td class="paramname"><em>gamma_accessor</em> = <code>nullptr</code> </td>
312 <td class="mlabels-right">
313 <span class="mlabels"><span class="mlabel">static</span></span> </td>
316 </div><div class="memdoc">
318 <p>Adds a batch normalization layer node to the graph. </p>
319 <dl class="params"><dt>Parameters</dt><dd>
320 <table class="params">
321 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
322 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
323 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the batch normalization layer node as a NodeID-Index pair </td></tr>
324 <tr><td class="paramdir">[in]</td><td class="paramname">epsilon</td><td>Epsilon parameter </td></tr>
325 <tr><td class="paramdir">[in]</td><td class="paramname">mean_accessor</td><td>Const Node ID that contains the mean values </td></tr>
326 <tr><td class="paramdir">[in]</td><td class="paramname">var_accessor</td><td>Const Node ID that contains the variance values </td></tr>
327 <tr><td class="paramdir">[in]</td><td class="paramname">beta_accessor</td><td>Const Node ID that contains the beta values. Can be EmptyNodeID </td></tr>
328 <tr><td class="paramdir">[in]</td><td class="paramname">gamma_accessor</td><td>Const Node ID that contains the gamma values. Can be EmptyNodeID</td></tr>
332 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
334 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00138">BatchNormalizationLayer::create_layer()</a>.</p>
338 <a class="anchor" id="ac304c66615e62c6b4aa40e8728920002"></a>
339 <div class="memitem">
340 <div class="memproto">
341 <table class="mlabels">
343 <td class="mlabels-left">
344 <table class="memname">
346 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_const_node </td>
348 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
349 <td class="paramname"><em>g</em>, </td>
352 <td class="paramkey"></td>
354 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
355 <td class="paramname"><em>params</em>, </td>
358 <td class="paramkey"></td>
360 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">TensorDescriptor</a> </td>
361 <td class="paramname"><em>desc</em>, </td>
364 <td class="paramkey"></td>
366 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
367 <td class="paramname"><em>accessor</em> = <code>nullptr</code> </td>
376 <td class="mlabels-right">
377 <span class="mlabels"><span class="mlabel">static</span></span> </td>
380 </div><div class="memdoc">
382 <p>Adds a Const node to the graph. </p>
383 <dl class="params"><dt>Parameters</dt><dd>
384 <table class="params">
385 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
386 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
387 <tr><td class="paramdir">[in]</td><td class="paramname">desc</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> descriptor of the node </td></tr>
388 <tr><td class="paramdir">[in]</td><td class="paramname">accessor</td><td>(Optional) Accessor of the const node data</td></tr>
392 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
396 <a class="anchor" id="a2c8bc1735814df209ef5ad3323cd5863"></a>
397 <div class="memitem">
398 <div class="memproto">
399 <table class="mlabels">
401 <td class="mlabels-left">
402 <table class="memname">
404 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_convolution_node </td>
406 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
407 <td class="paramname"><em>g</em>, </td>
410 <td class="paramkey"></td>
412 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
413 <td class="paramname"><em>params</em>, </td>
416 <td class="paramkey"></td>
418 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
419 <td class="paramname"><em>input</em>, </td>
422 <td class="paramkey"></td>
424 <td class="paramtype"><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> </td>
425 <td class="paramname"><em>kernel_spatial_extend</em>, </td>
428 <td class="paramkey"></td>
430 <td class="paramtype">unsigned int </td>
431 <td class="paramname"><em>depth</em>, </td>
434 <td class="paramkey"></td>
436 <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td>
437 <td class="paramname"><em>conv_info</em>, </td>
440 <td class="paramkey"></td>
442 <td class="paramtype">unsigned int </td>
443 <td class="paramname"><em>num_groups</em> = <code>1</code>, </td>
446 <td class="paramkey"></td>
448 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517d">ConvolutionMethod</a> </td>
449 <td class="paramname"><em>method</em> = <code><a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517da5b39c8b553c821e7cddc6da64b5bd2ee">ConvolutionMethod::DEFAULT</a></code>, </td>
452 <td class="paramkey"></td>
454 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#ac85a46f3ebd3ab09f576a994ac2dce11">FastMathHint</a> </td>
455 <td class="paramname"><em>fast_math_hint</em> = <code><a class="el" href="namespacearm__compute_1_1graph.xhtml#ac85a46f3ebd3ab09f576a994ac2dce11a055c1a591abb0e8cd86dc969727bcc0b">FastMathHint::DISABLED</a></code>, </td>
458 <td class="paramkey"></td>
460 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
461 <td class="paramname"><em>weights_accessor</em> = <code>nullptr</code>, </td>
464 <td class="paramkey"></td>
466 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
467 <td class="paramname"><em>bias_accessor</em> = <code>nullptr</code>, </td>
470 <td class="paramkey"></td>
472 <td class="paramtype">const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> </td>
473 <td class="paramname"><em>weights_quant_info</em> = <code><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>()</code>, </td>
476 <td class="paramkey"></td>
478 <td class="paramtype">const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> </td>
479 <td class="paramname"><em>out_quant_info</em> = <code><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>()</code> </td>
488 <td class="mlabels-right">
489 <span class="mlabels"><span class="mlabel">static</span></span> </td>
492 </div><div class="memdoc">
494 <p>Adds a convolution layer node to the graph. </p>
495 <dl class="params"><dt>Parameters</dt><dd>
496 <table class="params">
497 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
498 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
499 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the convolution layer node as a NodeID-Index pair </td></tr>
500 <tr><td class="paramdir">[in]</td><td class="paramname">kernel_spatial_extend</td><td>Spatial extend of convolution kernels </td></tr>
501 <tr><td class="paramdir">[in]</td><td class="paramname">depth</td><td>Number of convolution kernels </td></tr>
502 <tr><td class="paramdir">[in]</td><td class="paramname">conv_info</td><td>Convolution layer information </td></tr>
503 <tr><td class="paramdir">[in]</td><td class="paramname">num_groups</td><td>(Optional) Number of groups for a grouped convolution. Defaults to 1 </td></tr>
504 <tr><td class="paramdir">[in]</td><td class="paramname">method</td><td>(Optional) Convolution method to use </td></tr>
505 <tr><td class="paramdir">[in]</td><td class="paramname">fast_math_hint</td><td>(Optional) Fast math hint </td></tr>
506 <tr><td class="paramdir">[in]</td><td class="paramname">weights_accessor</td><td>(Optional) Accessor of the weights node data </td></tr>
507 <tr><td class="paramdir">[in]</td><td class="paramname">bias_accessor</td><td>(Optional) Accessor of the bias node data </td></tr>
508 <tr><td class="paramdir">[in]</td><td class="paramname">weights_quant_info</td><td>(Optional) Weights quantization info </td></tr>
509 <tr><td class="paramdir">[in]</td><td class="paramname">out_quant_info</td><td>(Optional) Output quantization info</td></tr>
513 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
515 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00194">ConvolutionLayer::create_layer()</a>.</p>
519 <a class="anchor" id="a4e79becb4675e8e78f5ffb30a89460ca"></a>
520 <div class="memitem">
521 <div class="memproto">
522 <table class="mlabels">
524 <td class="mlabels-left">
525 <table class="memname">
527 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_depth_concatenate_node </td>
529 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
530 <td class="paramname"><em>g</em>, </td>
533 <td class="paramkey"></td>
535 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
536 <td class="paramname"><em>params</em>, </td>
539 <td class="paramkey"></td>
541 <td class="paramtype">std::vector< <a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> > </td>
542 <td class="paramname"><em>inputs</em> </td>
551 <td class="mlabels-right">
552 <span class="mlabels"><span class="mlabel">static</span></span> </td>
555 </div><div class="memdoc">
557 <p>Adds a depth concatenate node to the graph. </p>
558 <dl class="params"><dt>Parameters</dt><dd>
559 <table class="params">
560 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
561 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
562 <tr><td class="paramdir">[in]</td><td class="paramname">inputs</td><td>Inputs to the depth concatenate layer node as a NodeID-Index pair</td></tr>
566 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
568 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00468">BranchLayer::create_layer()</a>.</p>
572 <a class="anchor" id="a8e4e65674676098214cd6ee38d740bb1"></a>
573 <div class="memitem">
574 <div class="memproto">
575 <table class="mlabels">
577 <td class="mlabels-left">
578 <table class="memname">
580 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_depthwise_convolution_node </td>
582 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
583 <td class="paramname"><em>g</em>, </td>
586 <td class="paramkey"></td>
588 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
589 <td class="paramname"><em>params</em>, </td>
592 <td class="paramkey"></td>
594 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
595 <td class="paramname"><em>input</em>, </td>
598 <td class="paramkey"></td>
600 <td class="paramtype"><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> </td>
601 <td class="paramname"><em>kernel_spatial_extend</em>, </td>
604 <td class="paramkey"></td>
606 <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td>
607 <td class="paramname"><em>conv_info</em>, </td>
610 <td class="paramkey"></td>
612 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a75ce9b1baad4303a53124d6f0795821f">DepthwiseConvolutionMethod</a> </td>
613 <td class="paramname"><em>method</em> = <code><a class="el" href="namespacearm__compute_1_1graph.xhtml#a683661ae75dcb7aef16b9c9bde31517da5b39c8b553c821e7cddc6da64b5bd2ee">DepthwiseConvolutionMethod::DEFAULT</a></code>, </td>
616 <td class="paramkey"></td>
618 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
619 <td class="paramname"><em>weights_accessor</em> = <code>nullptr</code>, </td>
622 <td class="paramkey"></td>
624 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
625 <td class="paramname"><em>bias_accessor</em> = <code>nullptr</code>, </td>
628 <td class="paramkey"></td>
630 <td class="paramtype">const <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> </td>
631 <td class="paramname"><em>quant_info</em> = <code><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>()</code> </td>
640 <td class="mlabels-right">
641 <span class="mlabels"><span class="mlabel">static</span></span> </td>
644 </div><div class="memdoc">
646 <p>Adds a depth-wise convolution layer node to the graph. </p>
647 <dl class="params"><dt>Parameters</dt><dd>
648 <table class="params">
649 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
650 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
651 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the depthwise convolution layer node as a NodeID-Index pair </td></tr>
652 <tr><td class="paramdir">[in]</td><td class="paramname">kernel_spatial_extend</td><td>Spatial extend of convolution kernels </td></tr>
653 <tr><td class="paramdir">[in]</td><td class="paramname">conv_info</td><td>Convolution layer information </td></tr>
654 <tr><td class="paramdir">[in]</td><td class="paramname">method</td><td>(Optional) Convolution method to use </td></tr>
655 <tr><td class="paramdir">[in]</td><td class="paramname">weights_accessor</td><td>(Optional) Accessor of the weights node data </td></tr>
656 <tr><td class="paramdir">[in]</td><td class="paramname">bias_accessor</td><td>(Optional) Accessor of the bias node data </td></tr>
657 <tr><td class="paramdir">[in]</td><td class="paramname">quant_info</td><td>(Optional) Weights quantization info</td></tr>
661 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
663 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00244">DepthwiseConvolutionLayer::create_layer()</a>.</p>
667 <a class="anchor" id="a7d0d78c3fe7a6530cf184a8f99172214"></a>
668 <div class="memitem">
669 <div class="memproto">
670 <table class="mlabels">
672 <td class="mlabels-left">
673 <table class="memname">
675 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_elementwise_node </td>
677 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
678 <td class="paramname"><em>g</em>, </td>
681 <td class="paramkey"></td>
683 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
684 <td class="paramname"><em>params</em>, </td>
687 <td class="paramkey"></td>
689 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
690 <td class="paramname"><em>input0</em>, </td>
693 <td class="paramkey"></td>
695 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
696 <td class="paramname"><em>input1</em>, </td>
699 <td class="paramkey"></td>
701 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#aa12973876c037bddff8e9ece94aca0e4">EltwiseOperation</a> </td>
702 <td class="paramname"><em>operation</em> </td>
711 <td class="mlabels-right">
712 <span class="mlabels"><span class="mlabel">static</span></span> </td>
715 </div><div class="memdoc">
717 <p>Adds an element-wise layer node to the graph. </p>
718 <dl class="params"><dt>Parameters</dt><dd>
719 <table class="params">
720 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
721 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
722 <tr><td class="paramdir">[in]</td><td class="paramname">input0</td><td>First input to the element-wise operation layer node as a NodeID-Index pair </td></tr>
723 <tr><td class="paramdir">[in]</td><td class="paramname">input1</td><td>Second input to the element-wise operation layer node as a NodeID-Index pair </td></tr>
724 <tr><td class="paramdir">[in]</td><td class="paramname">operation</td><td>Element-wise operation to perform</td></tr>
728 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
730 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00468">BranchLayer::create_layer()</a>.</p>
734 <a class="anchor" id="a822583f5b38ff029ea1e1c221dbfe19f"></a>
735 <div class="memitem">
736 <div class="memproto">
737 <table class="mlabels">
739 <td class="mlabels-left">
740 <table class="memname">
742 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_flatten_node </td>
744 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
745 <td class="paramname"><em>g</em>, </td>
748 <td class="paramkey"></td>
750 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
751 <td class="paramname"><em>params</em>, </td>
754 <td class="paramkey"></td>
756 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
757 <td class="paramname"><em>input</em> </td>
766 <td class="mlabels-right">
767 <span class="mlabels"><span class="mlabel">static</span></span> </td>
770 </div><div class="memdoc">
772 <p>Adds a flatten layer node to the graph. </p>
773 <dl class="params"><dt>Parameters</dt><dd>
774 <table class="params">
775 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
776 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
777 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the flatten layer node as a NodeID-Index pair</td></tr>
781 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
783 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00272">FlattenLayer::create_layer()</a>.</p>
787 <a class="anchor" id="ad1dbeadf5e85d923fa0751b19c0a4170"></a>
788 <div class="memitem">
789 <div class="memproto">
790 <table class="mlabels">
792 <td class="mlabels-left">
793 <table class="memname">
795 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_fully_connected_layer </td>
797 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
798 <td class="paramname"><em>g</em>, </td>
801 <td class="paramkey"></td>
803 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
804 <td class="paramname"><em>params</em>, </td>
807 <td class="paramkey"></td>
809 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
810 <td class="paramname"><em>input</em>, </td>
813 <td class="paramkey"></td>
815 <td class="paramtype">unsigned int </td>
816 <td class="paramname"><em>num_outputs</em>, </td>
819 <td class="paramkey"></td>
821 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
822 <td class="paramname"><em>weights_accessor</em> = <code>nullptr</code>, </td>
825 <td class="paramkey"></td>
827 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
828 <td class="paramname"><em>bias_accessor</em> = <code>nullptr</code> </td>
837 <td class="mlabels-right">
838 <span class="mlabels"><span class="mlabel">static</span></span> </td>
841 </div><div class="memdoc">
843 <p>Adds a fully connected layer node to the graph. </p>
844 <dl class="params"><dt>Parameters</dt><dd>
845 <table class="params">
846 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the layer to </td></tr>
847 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
848 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the fully connected layer node as a NodeID-Index pair </td></tr>
849 <tr><td class="paramdir">[in]</td><td class="paramname">num_outputs</td><td>Number of output neurons </td></tr>
850 <tr><td class="paramdir">[in]</td><td class="paramname">weights_accessor</td><td>(Optional) Accessor of the weights node data </td></tr>
851 <tr><td class="paramdir">[in]</td><td class="paramname">bias_accessor</td><td>(Optional) Accessor of the bias node data</td></tr>
855 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
857 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00297">FullyConnectedLayer::create_layer()</a>.</p>
861 <a class="anchor" id="a4bed63b35b24f8f44260237558e8a02b"></a>
862 <div class="memitem">
863 <div class="memproto">
864 <table class="mlabels">
866 <td class="mlabels-left">
867 <table class="memname">
869 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_input_node </td>
871 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
872 <td class="paramname"><em>g</em>, </td>
875 <td class="paramkey"></td>
877 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
878 <td class="paramname"><em>params</em>, </td>
881 <td class="paramkey"></td>
883 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">TensorDescriptor</a> </td>
884 <td class="paramname"><em>desc</em>, </td>
887 <td class="paramkey"></td>
889 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
890 <td class="paramname"><em>accessor</em> = <code>nullptr</code> </td>
899 <td class="mlabels-right">
900 <span class="mlabels"><span class="mlabel">static</span></span> </td>
903 </div><div class="memdoc">
905 <p>Adds an input layer node to the graph. </p>
906 <dl class="params"><dt>Parameters</dt><dd>
907 <table class="params">
908 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
909 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
910 <tr><td class="paramdir">[in]</td><td class="paramname">desc</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> descriptor of the <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> </td></tr>
911 <tr><td class="paramdir">[in]</td><td class="paramname">accessor</td><td>(Optional) Accessor of the input node data</td></tr>
915 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
917 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00058">InputLayer::create_layer()</a>.</p>
921 <a class="anchor" id="a15885529ec64ecf2b388f6229c5a65fa"></a>
922 <div class="memitem">
923 <div class="memproto">
924 <table class="mlabels">
926 <td class="mlabels-left">
927 <table class="memname">
929 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_normalization_node </td>
931 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
932 <td class="paramname"><em>g</em>, </td>
935 <td class="paramkey"></td>
937 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
938 <td class="paramname"><em>params</em>, </td>
941 <td class="paramkey"></td>
943 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
944 <td class="paramname"><em>input</em>, </td>
947 <td class="paramkey"></td>
949 <td class="paramtype"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml">NormalizationLayerInfo</a> </td>
950 <td class="paramname"><em>norm_info</em> </td>
959 <td class="mlabels-right">
960 <span class="mlabels"><span class="mlabel">static</span></span> </td>
963 </div><div class="memdoc">
965 <p>Adds a normalization layer node to the graph. </p>
966 <dl class="params"><dt>Parameters</dt><dd>
967 <table class="params">
968 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
969 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
970 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the normalization layer node as a NodeID-Index pair </td></tr>
971 <tr><td class="paramdir">[in]</td><td class="paramname">norm_info</td><td>Normalization layer information</td></tr>
975 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
977 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00324">NormalizationLayer::create_layer()</a>.</p>
981 <a class="anchor" id="ab87ec51542d159d5efae373c82b7944c"></a>
982 <div class="memitem">
983 <div class="memproto">
984 <table class="mlabels">
986 <td class="mlabels-left">
987 <table class="memname">
989 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_output_node </td>
991 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
992 <td class="paramname"><em>g</em>, </td>
995 <td class="paramkey"></td>
997 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
998 <td class="paramname"><em>params</em>, </td>
1001 <td class="paramkey"></td>
1003 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1004 <td class="paramname"><em>input</em>, </td>
1007 <td class="paramkey"></td>
1009 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
1010 <td class="paramname"><em>accessor</em> = <code>nullptr</code> </td>
1019 <td class="mlabels-right">
1020 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1023 </div><div class="memdoc">
1025 <p>Adds an output layer node to the graph. </p>
1026 <dl class="params"><dt>Parameters</dt><dd>
1027 <table class="params">
1028 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
1029 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1030 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the output node as a NodeID-Index pair </td></tr>
1031 <tr><td class="paramdir">[in]</td><td class="paramname">accessor</td><td>(Optional) Accessor of the output node data</td></tr>
1035 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1037 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00082">OutputLayer::create_layer()</a>.</p>
1041 <a class="anchor" id="af8eae85804c35bc91d26fe28efc3936a"></a>
1042 <div class="memitem">
1043 <div class="memproto">
1044 <table class="mlabels">
1046 <td class="mlabels-left">
1047 <table class="memname">
1049 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_pooling_node </td>
1051 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
1052 <td class="paramname"><em>g</em>, </td>
1055 <td class="paramkey"></td>
1057 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
1058 <td class="paramname"><em>params</em>, </td>
1061 <td class="paramkey"></td>
1063 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1064 <td class="paramname"><em>input</em>, </td>
1067 <td class="paramkey"></td>
1069 <td class="paramtype"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td>
1070 <td class="paramname"><em>pool_info</em> </td>
1079 <td class="mlabels-right">
1080 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1083 </div><div class="memdoc">
1085 <p>Adds a pooling layer node to the graph. </p>
1086 <dl class="params"><dt>Parameters</dt><dd>
1087 <table class="params">
1088 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
1089 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1090 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the pooling layer node as a NodeID-Index pair </td></tr>
1091 <tr><td class="paramdir">[in]</td><td class="paramname">pool_info</td><td>Pooling layer information</td></tr>
1095 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1097 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00348">PoolingLayer::create_layer()</a>.</p>
1101 <a class="anchor" id="a30a1530d919a233e389f32ad9a6e2b25"></a>
1102 <div class="memitem">
1103 <div class="memproto">
1104 <table class="mlabels">
1106 <td class="mlabels-left">
1107 <table class="memname">
1109 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_reshape_node </td>
1111 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
1112 <td class="paramname"><em>g</em>, </td>
1115 <td class="paramkey"></td>
1117 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
1118 <td class="paramname"><em>params</em>, </td>
1121 <td class="paramkey"></td>
1123 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1124 <td class="paramname"><em>input</em>, </td>
1127 <td class="paramkey"></td>
1129 <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td>
1130 <td class="paramname"><em>shape</em> </td>
1139 <td class="mlabels-right">
1140 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1143 </div><div class="memdoc">
1145 <p>Adds a reshape layer node to the graph. </p>
1146 <dl class="params"><dt>Parameters</dt><dd>
1147 <table class="params">
1148 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
1149 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1150 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the reshape layer node as a NodeID-Index pair </td></tr>
1151 <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Output reshaped shape</td></tr>
1155 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1157 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00372">ReshapeLayer::create_layer()</a>.</p>
1161 <a class="anchor" id="a9065925e20c5b5aa449d3ef9dc371085"></a>
1162 <div class="memitem">
1163 <div class="memproto">
1164 <table class="mlabels">
1166 <td class="mlabels-left">
1167 <table class="memname">
1169 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_scale_layer </td>
1171 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
1172 <td class="paramname"><em>g</em>, </td>
1175 <td class="paramkey"></td>
1177 <td class="paramtype">const <a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> & </td>
1178 <td class="paramname"><em>params</em>, </td>
1181 <td class="paramkey"></td>
1183 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1184 <td class="paramname"><em>input</em>, </td>
1187 <td class="paramkey"></td>
1189 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
1190 <td class="paramname"><em>mul_accessor</em> = <code>nullptr</code>, </td>
1193 <td class="paramkey"></td>
1195 <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a41c3f59161734b8492782359f583b676">ITensorAccessorUPtr</a> </td>
1196 <td class="paramname"><em>add_accessor</em> = <code>nullptr</code> </td>
1205 <td class="mlabels-right">
1206 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1209 </div><div class="memdoc">
1211 <p>Adds a scale layer node to the graph This layer computes a product of the input with a scale (read from mul_accessor) and it applies an offset (read from add_accessor). </p>
1212 <p>output = input * mul_w + add_w</p>
1213 <dl class="params"><dt>Parameters</dt><dd>
1214 <table class="params">
1215 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the layer to </td></tr>
1216 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1217 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the fully connected layer node as a NodeID-Index pair </td></tr>
1218 <tr><td class="paramdir">[in]</td><td class="paramname">mul_accessor</td><td>(Optional) Accessor of the mul node data </td></tr>
1219 <tr><td class="paramdir">[in]</td><td class="paramname">add_accessor</td><td>(Optional) Accessor of the add node data</td></tr>
1223 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1225 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00398">ScaleLayer::create_layer()</a>.</p>
1229 <a class="anchor" id="acb202d26a81ff465a95e5f869d6ee141"></a>
1230 <div class="memitem">
1231 <div class="memproto">
1232 <table class="mlabels">
1234 <td class="mlabels-left">
1235 <table class="memname">
1237 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_softmax_node </td>
1239 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
1240 <td class="paramname"><em>g</em>, </td>
1243 <td class="paramkey"></td>
1245 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
1246 <td class="paramname"><em>params</em>, </td>
1249 <td class="paramkey"></td>
1251 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1252 <td class="paramname"><em>input</em>, </td>
1255 <td class="paramkey"></td>
1257 <td class="paramtype">float </td>
1258 <td class="paramname"><em>beta</em> = <code>1.f</code> </td>
1267 <td class="mlabels-right">
1268 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1271 </div><div class="memdoc">
1273 <p>Adds a softmax node to the graph. </p>
1274 <dl class="params"><dt>Parameters</dt><dd>
1275 <table class="params">
1276 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
1277 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1278 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the softmax layer node as a NodeID-Index pair </td></tr>
1279 <tr><td class="paramdir">[in]</td><td class="paramname">beta</td><td>Beta parameter</td></tr>
1283 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1285 <p>Referenced by <a class="el" href="_layers_8h_source.xhtml#l00423">SoftmaxLayer::create_layer()</a>.</p>
1289 <a class="anchor" id="afbe47092174c74b23af3312c02341e09"></a>
1290 <div class="memitem">
1291 <div class="memproto">
1292 <table class="mlabels">
1294 <td class="mlabels-left">
1295 <table class="memname">
1297 <td class="memname">static <a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> add_split_node </td>
1299 <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td>
1300 <td class="paramname"><em>g</em>, </td>
1303 <td class="paramkey"></td>
1305 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_params.xhtml">NodeParams</a> </td>
1306 <td class="paramname"><em>params</em>, </td>
1309 <td class="paramkey"></td>
1311 <td class="paramtype"><a class="el" href="structarm__compute_1_1graph_1_1_node_idx_pair.xhtml">NodeIdxPair</a> </td>
1312 <td class="paramname"><em>input</em>, </td>
1315 <td class="paramkey"></td>
1317 <td class="paramtype">unsigned int </td>
1318 <td class="paramname"><em>num_splits</em>, </td>
1321 <td class="paramkey"></td>
1323 <td class="paramtype">unsigned int </td>
1324 <td class="paramname"><em>axis</em> = <code>0</code> </td>
1333 <td class="mlabels-right">
1334 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1337 </div><div class="memdoc">
1339 <p>Adds a split node to the graph. </p>
1340 <dl class="params"><dt>Parameters</dt><dd>
1341 <table class="params">
1342 <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> to add the node to </td></tr>
1343 <tr><td class="paramdir">[in]</td><td class="paramname">params</td><td>Common node parameters </td></tr>
1344 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input to the split layer node as a NodeID-Index pair </td></tr>
1345 <tr><td class="paramdir">[in]</td><td class="paramname">num_splits</td><td>Number of different splits </td></tr>
1346 <tr><td class="paramdir">[in]</td><td class="paramname">axis</td><td>(Optional) Split axis. Defaults to 0</td></tr>
1350 <dl class="section return"><dt>Returns</dt><dd>Node ID of the created node, EmptyNodeID in case of error </dd></dl>
1354 <hr/>The documentation for this class was generated from the following file:<ul>
1355 <li>arm_compute/graph/<a class="el" href="_graph_builder_8h_source.xhtml">GraphBuilder.h</a></li>
1357 </div><!-- contents -->
1358 </div><!-- doc-content -->
1359 <!-- start footer part -->
1360 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1362 <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1graph.xhtml">graph</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1_graph_builder.xhtml">GraphBuilder</a></li>
1363 <li class="footer">Generated on Wed May 23 2018 11:36:43 for Compute Library by
1364 <a href="http://www.doxygen.org/index.html">
1365 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>