blob: de89b6cc521c300115eaf2a622066e93b063d23f [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.11"/>
<title>mxnet: /work/mxnet/3rdparty/tvm/nnvm/include/nnvm/top/tensor.h Source File</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="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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">mxnet
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_d40daf7ef9783ad6669561b9a39523a5.html">tvm</a></li><li class="navelem"><a class="el" href="dir_59ab2d7405f48271a817356d16f4868c.html">nnvm</a></li><li class="navelem"><a class="el" href="dir_564b1b3930cee8f0cd6786ede046ff35.html">include</a></li><li class="navelem"><a class="el" href="dir_aadb892b7c99db7e2c3fc68a6c967545.html">nnvm</a></li><li class="navelem"><a class="el" href="dir_974e4c1eec2bde430799e833981375b4.html">top</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">tensor.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * </span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * </span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * software distributed under the License is distributed on an</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * under the License.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#ifndef NNVM_TOP_TENSOR_H_</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#define NNVM_TOP_TENSOR_H_</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html">dmlc/base.h</a>&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="parameter_8h.html">dmlc/parameter.h</a>&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html">nnvm/tuple.h</a>&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacennvm.html">nnvm</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span>top {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ConcatenateParam.html"> 35</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ConcatenateParam.html">ConcatenateParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ConcatenateParam&gt; {</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ConcatenateParam.html#a452589ea14308279cfee0fb93ddcc03a"> 36</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1ConcatenateParam.html#a452589ea14308279cfee0fb93ddcc03a">axis</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ConcatenateParam.html#ab27528ff1d16b2c1a2ce93a827d398df"> 37</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ConcatenateParam.html#ab27528ff1d16b2c1a2ce93a827d398df">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ConcatenateParam.html">ConcatenateParam</a>) {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(1)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; .describe(<span class="stringliteral">&quot;the axis to be concated.&quot;</span>);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;};</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ExpandDimsParam.html"> 43</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ExpandDimsParam.html">ExpandDimsParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ExpandDimsParam&gt; {</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ExpandDimsParam.html#a9eeda053bab3f1ad3655c9f8a127a349"> 44</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1ExpandDimsParam.html#a9eeda053bab3f1ad3655c9f8a127a349">axis</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ExpandDimsParam.html#ac87868847c2afef869b6133eeccd17ce"> 45</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1ExpandDimsParam.html#ac87868847c2afef869b6133eeccd17ce">num_newaxis</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ExpandDimsParam.html#a4a9fa619364654a5de4058cd19487393"> 46</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ExpandDimsParam.html#a4a9fa619364654a5de4058cd19487393">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ExpandDimsParam.html">ExpandDimsParam</a>) {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; DMLC_DECLARE_FIELD(axis)</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; .describe(<span class="stringliteral">&quot;the axis to be expanded.&quot;</span>);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; DMLC_DECLARE_FIELD(num_newaxis).set_lower_bound(1).set_default(1)</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; .describe(<span class="stringliteral">&quot;Number of new axis to be inserted.&quot;</span>);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;};</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SplitParam.html"> 54</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1SplitParam.html">SplitParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;SplitParam&gt; {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// numpy convention, only support indices, not support list.</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SplitParam.html#a214b69a28e3bbee7bc30e5f3721b64a4"> 56</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int&gt;</a> <a class="code" href="structnnvm_1_1top_1_1SplitParam.html#a214b69a28e3bbee7bc30e5f3721b64a4">indices_or_sections</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SplitParam.html#a3ef6654edcd22f3da9e4c1cc34147177"> 57</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1SplitParam.html#a3ef6654edcd22f3da9e4c1cc34147177">axis</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// additional hint whether it is equal_split mode</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// deduced from indices_or_sections</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SplitParam.html#a14242f9aa438f268b85a6f76042bea85"> 60</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1SplitParam.html#a14242f9aa438f268b85a6f76042bea85">equal_split</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SplitParam.html#abe8eef51dae1f6581b3da66ebf025405"> 62</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1SplitParam.html#abe8eef51dae1f6581b3da66ebf025405">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1SplitParam.html">SplitParam</a>) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; DMLC_DECLARE_FIELD(indices_or_sections)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; .describe(<span class="stringliteral">&quot;Number of outputs to be splitted&quot;</span>);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(1)</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; .describe(<span class="stringliteral">&quot;the axis to be splitted.&quot;</span>);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;};</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TakeParam.html"> 71</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1TakeParam.html">TakeParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;TakeParam&gt; {</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TakeParam.html#a43ec4049cd85bb4fb63c089fb74025c9"> 72</a></span>&#160; <a class="code" href="classdmlc_1_1optional.html">dmlc::optional&lt;int&gt;</a> <a class="code" href="structnnvm_1_1top_1_1TakeParam.html#a43ec4049cd85bb4fb63c089fb74025c9">axis</a>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TakeParam.html#aaf61ef793d636853a5e110f412bebfc9"> 74</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1TakeParam.html#aaf61ef793d636853a5e110f412bebfc9">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1TakeParam.html">TakeParam</a>) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(<a class="code" href="classdmlc_1_1optional.html">dmlc::optional&lt;int&gt;</a>())</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; .describe(<span class="stringliteral">&quot;the axis over which to select values.&quot;</span>);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;};</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1StridedSliceParam.html"> 80</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html">StridedSliceParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;StridedSliceParam&gt; {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// numpy convention, only support indices, not support list.</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1StridedSliceParam.html#a23b363e16845b1fb3f1cc0fdcfb9e329"> 82</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int64_t&gt;</a> <a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html#a23b363e16845b1fb3f1cc0fdcfb9e329">begin</a>;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1StridedSliceParam.html#a07fbd0f4eaea2c23c110680b0f44f02c"> 83</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int64_t&gt;</a> <a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html#a07fbd0f4eaea2c23c110680b0f44f02c">end</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1StridedSliceParam.html#a7c1b338ca6237a32557b56e4404a6277"> 84</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int64_t&gt;</a> <a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html#a7c1b338ca6237a32557b56e4404a6277">stride</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1StridedSliceParam.html#aab4691fd867f9752ca6763a7d0edd113"> 86</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html#aab4691fd867f9752ca6763a7d0edd113">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1StridedSliceParam.html">StridedSliceParam</a>) {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; DMLC_DECLARE_FIELD(begin)</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; .describe(<span class="stringliteral">&quot;Indices for begin of slice&quot;</span>);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; DMLC_DECLARE_FIELD(end)</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; .describe(<span class="stringliteral">&quot;Indices for end of the slice&quot;</span>);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; DMLC_DECLARE_FIELD(stride).set_default(<a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int64_t&gt;</a>())</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; .describe(<span class="stringliteral">&quot;Stride values of the slice&quot;</span>);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;};</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58e"> 96</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58e">TypeFlag</a> {</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a"> 97</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a">kFloat32</a> = 0,</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1edfc00573834fa25e5a1eaf1703d687"> 98</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1edfc00573834fa25e5a1eaf1703d687">kFloat64</a> = 1,</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea8180aada7ad33700e4ccf820c67cf310"> 99</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea8180aada7ad33700e4ccf820c67cf310">kFloat16</a> = 2,</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58eaf64ad748756e9fa3e1d7740faa63c034"> 100</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58eaf64ad748756e9fa3e1d7740faa63c034">kUint8</a> = 3,</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea443eb3083da6a7a9d44851e49f1f8be1"> 101</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea443eb3083da6a7a9d44851e49f1f8be1">kInt32</a> = 4,</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea58f8ffb13a506f475458439def4d5b63"> 102</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea58f8ffb13a506f475458439def4d5b63">kInt8</a> = 5,</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea90a4bcf27726ccc6346572fb435d8c4e"> 103</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea90a4bcf27726ccc6346572fb435d8c4e">kInt64</a> = 6,</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea3292dd84f603ecadd27422410d4cb456"> 104</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea3292dd84f603ecadd27422410d4cb456">kInt16</a> = 7,</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1b549511f7973719498a5c4000b10195"> 105</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1b549511f7973719498a5c4000b10195">kUint16</a> = 8,</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ead1cc7ff05a731808433e108faf809075"> 106</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ead1cc7ff05a731808433e108faf809075">kUint32</a> = 9,</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea5ed2699c3a6716e5fd1ffcfe8222ed5b"> 107</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea5ed2699c3a6716e5fd1ffcfe8222ed5b">kUint64</a> = 10,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;};</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842"> 110</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842">IndicatorRuleFlag</a> {</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a727e27a17fe38c551fcda729bf8c54f4"> 111</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a727e27a17fe38c551fcda729bf8c54f4">kGT0</a> = 0,</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842ae32054fd1cc616a58c30611beb9a07f3"> 112</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842ae32054fd1cc616a58c30611beb9a07f3">kLT0</a> = 1,</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a6e9acf362a43c0d0631d04fd45a41bae"> 113</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a6e9acf362a43c0d0631d04fd45a41bae">kMax</a> = 2,</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842aec1874c5d7c4519c23d5245c6e43c12d"> 114</a></span>&#160; <a class="code" href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842aec1874c5d7c4519c23d5245c6e43c12d">kMin</a> = 3,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;};</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec"> 117</a></span>&#160;<span class="preprocessor">#define DMLC_DECLARE_DTYPE_FIELD(name) \</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor"> DMLC_DECLARE_FIELD(name) \</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor"> .add_enum(&quot;float16&quot;, kFloat16) \</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor"> .add_enum(&quot;float32&quot;, kFloat32) \</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="preprocessor"> .add_enum(&quot;float64&quot;, kFloat64) \</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor"> .add_enum(&quot;uint8&quot;, kUint8) \</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor"> .add_enum(&quot;uint16&quot;, kUint16) \</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="preprocessor"> .add_enum(&quot;uint32&quot;, kUint32) \</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="preprocessor"> .add_enum(&quot;uint64&quot;, kUint64) \</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor"> .add_enum(&quot;int8&quot;, kInt8) \</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor"> .add_enum(&quot;int16&quot;, kInt16) \</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor"> .add_enum(&quot;int32&quot;, kInt32) \</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor"> .add_enum(&quot;int64&quot;, kInt64)</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1CastParam.html"> 131</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1CastParam.html">CastParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;CastParam&gt; {</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1CastParam.html#a17d325d3e7e153c60f50ddb3c3206855"> 132</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1CastParam.html#a17d325d3e7e153c60f50ddb3c3206855">dtype</a>;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1CastParam.html#a0717bf96f5ccebee229ac08559de132a"> 133</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1CastParam.html#a0717bf96f5ccebee229ac08559de132a">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1CastParam.html">CastParam</a>) {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec">DMLC_DECLARE_DTYPE_FIELD</a>(dtype)</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; .describe(<span class="stringliteral">&quot;Output data type.&quot;</span>);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;};</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1IndicatorParam.html"> 139</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1IndicatorParam.html">IndicatorParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;IndicatorParam&gt; {</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1IndicatorParam.html#aaea5119dfefce10318e538a88247d894"> 140</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1IndicatorParam.html#aaea5119dfefce10318e538a88247d894">axis</a>;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1IndicatorParam.html#a51d0dc09f11baff8bbdf7fa3267b9b3c"> 141</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1IndicatorParam.html#a51d0dc09f11baff8bbdf7fa3267b9b3c">exclude</a>;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1IndicatorParam.html#ae5757fc36e95ad50be1afc725daac953"> 142</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1IndicatorParam.html#ae5757fc36e95ad50be1afc725daac953">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1IndicatorParam.html">IndicatorParam</a>) {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>())</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; .describe(R<span class="stringliteral">&quot;code(The axis or axes along which to perform the indicator rule.</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="stringliteral"> The default, `axis=()`, will compute over all elements into a</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="stringliteral"> scalar array with shape `(1,)`.</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="stringliteral"> If `axis` is int, rule is applied on a particular axis.</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="stringliteral"> If `axis` is a tuple of ints, rule is applied on all the axes</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="stringliteral"> specified in the tuple.</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="stringliteral"> If `exclude` is true, rule will be applied on the axes that are</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="stringliteral"> NOT in axis instead.)code&quot;);</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="stringliteral"> DMLC_DECLARE_FIELD(exclude).set_default(</span><span class="keyword">false</span>)</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; .describe(<span class="stringliteral">&quot;Whether to apply rule on axis that are NOT in axis instead.&quot;</span>);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; }</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;};</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReshapeParam.html"> 161</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ReshapeParam.html">ReshapeParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ReshapeParam&gt; {</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReshapeParam.html#ac1eaca4550e4ce08bbc6697994ceb406"> 162</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int64_t&gt;</a> <a class="code" href="structnnvm_1_1top_1_1ReshapeParam.html#ac1eaca4550e4ce08bbc6697994ceb406">shape</a>;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReshapeParam.html#a29d85dbf16c25b10c416d3e0c122b453"> 164</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ReshapeParam.html#a29d85dbf16c25b10c416d3e0c122b453">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ReshapeParam.html">ReshapeParam</a>) {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; DMLC_DECLARE_FIELD(shape);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;};</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SqueezeParam.html"> 169</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1SqueezeParam.html">SqueezeParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;SqueezeParam&gt; {</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SqueezeParam.html#a1068dafae517a2a3364b43a7b810638d"> 170</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1SqueezeParam.html#a1068dafae517a2a3364b43a7b810638d">axis</a>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SqueezeParam.html#a0ee91e9e82e54735ea32549158273028"> 172</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1SqueezeParam.html#a0ee91e9e82e54735ea32549158273028">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1SqueezeParam.html">SqueezeParam</a>) {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>())</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; .describe(<span class="stringliteral">&quot;The axis to squeeze in the input tensor.&quot;</span>);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;};</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ScalarParam.html"> 178</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ScalarParam.html">ScalarParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ScalarParam&gt; {</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ScalarParam.html#a5df2f6066e926aece6bf4e0f7e9cdba2"> 179</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="structnnvm_1_1top_1_1ScalarParam.html#a5df2f6066e926aece6bf4e0f7e9cdba2">scalar</a>;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ScalarParam.html#a4e21410f92bd29d9151156c0e82cdc12"> 181</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ScalarParam.html#a4e21410f92bd29d9151156c0e82cdc12">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ScalarParam.html">ScalarParam</a>) {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; DMLC_DECLARE_FIELD(scalar);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;};</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FillValueParam.html"> 186</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1FillValueParam.html">FillValueParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;FillValueParam&gt; {</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FillValueParam.html#a32382bac521ea4536dc461d0954a0827"> 187</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="structnnvm_1_1top_1_1FillValueParam.html#a32382bac521ea4536dc461d0954a0827">fill_value</a>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FillValueParam.html#af407a1635b39aab46ee6968bee3bac2e"> 189</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1FillValueParam.html#af407a1635b39aab46ee6968bee3bac2e">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1FillValueParam.html">FillValueParam</a>) {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; DMLC_DECLARE_FIELD(fill_value)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; .describe(<span class="stringliteral">&quot;Scalar value to be filled&quot;</span>);</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; }</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;};</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TransposeParam.html"> 195</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1TransposeParam.html">TransposeParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;TransposeParam&gt; {</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TransposeParam.html#a769bc98baf030582da362c5722111ffc"> 196</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1TransposeParam.html#a769bc98baf030582da362c5722111ffc">axes</a>;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1TransposeParam.html#aa3aff9097b97425e89b6ab21b8100fc3"> 198</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1TransposeParam.html#aa3aff9097b97425e89b6ab21b8100fc3">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1TransposeParam.html">TransposeParam</a>) {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; DMLC_DECLARE_FIELD(axes).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>())</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; .describe(<span class="stringliteral">&quot;Target axis order. By default the axes will be inverted.&quot;</span>);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; }</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;};</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FlipParam.html"> 204</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1FlipParam.html">FlipParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;FlipParam&gt; {</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FlipParam.html#ae0eeb5778fd52cb86ec1c14d1f3c71b2"> 205</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1FlipParam.html#ae0eeb5778fd52cb86ec1c14d1f3c71b2">axis</a>;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1FlipParam.html#acc64924421bd85681bcecbd4371d58cc"> 206</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1FlipParam.html#acc64924421bd85681bcecbd4371d58cc">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1FlipParam.html">FlipParam</a>) {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(0)</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; .describe(<span class="stringliteral">&quot;the axis to be reveresed.&quot;</span>);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;};</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1BroadcastToParam.html"> 212</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1BroadcastToParam.html">BroadcastToParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;BroadcastToParam&gt; {</div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1BroadcastToParam.html#aeadb805649870faa653cea95a6fadc0b"> 213</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1BroadcastToParam.html#aeadb805649870faa653cea95a6fadc0b">shape</a>;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1BroadcastToParam.html#a6c1aa84106eaa3b52c6e4a2488983549"> 215</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1BroadcastToParam.html#a6c1aa84106eaa3b52c6e4a2488983549">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1BroadcastToParam.html">BroadcastToParam</a>) {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; DMLC_DECLARE_FIELD(shape).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>())</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; .describe(<span class="stringliteral">&quot;The shape of the desired array.&quot;</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="stringliteral">&quot; We can set the dim to zero if it&#39;s same as the original.&quot;</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="stringliteral">&quot; E.g `A = broadcast_to(B, shape=(10, 0, 0))` &quot;</span>);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; }</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;};</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html"> 223</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ReduceParam.html">ReduceParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ReduceParam&gt; {</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html#ad13856f35227afe95fdae15c398fd740"> 224</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1ReduceParam.html#ad13856f35227afe95fdae15c398fd740">axis</a>;</div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html#a543105add1832e24ecdb319d9abc9c10"> 225</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1ReduceParam.html#a543105add1832e24ecdb319d9abc9c10">keepdims</a>;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html#ae3f5bd7d88eba1c8b8ca0fab6a35a2e4"> 226</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1ReduceParam.html#ae3f5bd7d88eba1c8b8ca0fab6a35a2e4">exclude</a>;</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html#a1422778a78df7f28be85449631956d8c"> 227</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1ReduceParam.html#a1422778a78df7f28be85449631956d8c">dtype</a>;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ReduceParam.html#ac834b775ab646918e0e3d1f48d11f882"> 229</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ReduceParam.html#ac834b775ab646918e0e3d1f48d11f882">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ReduceParam.html">ReduceParam</a>) {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>())</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; .describe(R<span class="stringliteral">&quot;code(The axis or axes along which to perform the reduction.</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;<span class="stringliteral"> The default, `axis=()`, will compute over all elements into a</span></div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;<span class="stringliteral"> scalar array with shape `(1,)`.</span></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;<span class="stringliteral"> If `axis` is int, a reduction is performed on a particular axis.</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="stringliteral"> If `axis` is a tuple of ints, a reduction is performed on all the axes</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="stringliteral"> specified in the tuple.</span></div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;<span class="stringliteral"> If `exclude` is true, reduction will be performed on the axes that are</span></div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;<span class="stringliteral"> NOT in axis instead.)code&quot;);</span></div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="stringliteral"></span></div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;<span class="stringliteral"> DMLC_DECLARE_FIELD(keepdims).set_default(</span><span class="keyword">false</span>)</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; .describe(<span class="stringliteral">&quot;If this is set to `True`, the reduced axes are left &quot;</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="stringliteral">&quot;in the result as dimension with size one.&quot;</span>);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; DMLC_DECLARE_FIELD(exclude).set_default(<span class="keyword">false</span>)</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; .describe(<span class="stringliteral">&quot;Whether to perform reduction on axis that are NOT in axis instead.&quot;</span>);</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="code" href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec">DMLC_DECLARE_DTYPE_FIELD</a>(dtype).set_default(<a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea443eb3083da6a7a9d44851e49f1f8be1">kInt32</a>)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; .describe(<span class="stringliteral">&quot;Target data type.&quot;</span>);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; }</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;};</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html"> 254</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html">InitOpWithScalarParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;InitOpWithScalarParam&gt; {</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a6e6d1bc572d4c2339e2bb3a94e8f4772"> 255</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a6e6d1bc572d4c2339e2bb3a94e8f4772">shape</a>;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a2360a067104d89b5a3a541a5535e5113"> 256</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a2360a067104d89b5a3a541a5535e5113">dtype</a>;</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a096bacf7e790672eada44da44ede714a"> 257</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a096bacf7e790672eada44da44ede714a">fill_value</a>;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#af6dd8939dd391dda8b0ed0a61f1549ff"> 259</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#af6dd8939dd391dda8b0ed0a61f1549ff">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1InitOpWithScalarParam.html">InitOpWithScalarParam</a>) {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; DMLC_DECLARE_FIELD(shape).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>());</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <a class="code" href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec">DMLC_DECLARE_DTYPE_FIELD</a>(dtype).set_default(<a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a">kFloat32</a>)</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; .describe(<span class="stringliteral">&quot;Target data type.&quot;</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; DMLC_DECLARE_FIELD(fill_value).describe(<span class="stringliteral">&quot;Scalar value to fill&quot;</span>);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; }</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;};</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpParam.html"> 267</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1InitOpParam.html">InitOpParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;InitOpParam&gt; {</div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpParam.html#a980290d6b917e014e7ad015a8fd0ec52"> 268</a></span>&#160; <a class="code" href="classnnvm_1_1TShape.html">TShape</a> <a class="code" href="structnnvm_1_1top_1_1InitOpParam.html#a980290d6b917e014e7ad015a8fd0ec52">shape</a>;</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpParam.html#a0c46b3b935e2574db13c63ca5465551b"> 269</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1InitOpParam.html#a0c46b3b935e2574db13c63ca5465551b">dtype</a>;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1InitOpParam.html#a01d2088eabd3c8382f1b86086868898b"> 271</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1InitOpParam.html#a01d2088eabd3c8382f1b86086868898b">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1InitOpParam.html">InitOpParam</a>) {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; DMLC_DECLARE_FIELD(shape).set_default(<a class="code" href="classnnvm_1_1TShape.html">TShape</a>());</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec">DMLC_DECLARE_DTYPE_FIELD</a>(dtype).set_default(<a class="code" href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a">kFloat32</a>)</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; .describe(<span class="stringliteral">&quot;Target data type.&quot;</span>);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; }</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;};</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html"> 278</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html">ElementWiseReduceParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ElementWiseReduceParam&gt; {</div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#ac830aa8efe66fbc5f8b6332e0451103a"> 279</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#ac830aa8efe66fbc5f8b6332e0451103a">num_args</a>;</div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#a4d2b46b8e3b843588819e8abd9b12b95"> 280</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#a4d2b46b8e3b843588819e8abd9b12b95">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ElementWiseReduceParam.html">ElementWiseReduceParam</a>) {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; DMLC_DECLARE_FIELD(num_args).set_lower_bound(1)</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; .describe(<span class="stringliteral">&quot;Number of inputs to be reduced.&quot;</span>);</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; }</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;};</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1MatMulParam.html"> 286</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1MatMulParam.html">MatMulParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;MatMulParam&gt; {</div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1MatMulParam.html#a6ab0cee491a9c61f38b583b53fef2908"> 287</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1MatMulParam.html#a6ab0cee491a9c61f38b583b53fef2908">transpose_a</a>;</div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1MatMulParam.html#aa292d17f8645a68eb0ed71d94564c2bc"> 288</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structnnvm_1_1top_1_1MatMulParam.html#aa292d17f8645a68eb0ed71d94564c2bc">transpose_b</a>;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1MatMulParam.html#af721ee45193ad58c618396c0153291a8"> 290</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1MatMulParam.html#af721ee45193ad58c618396c0153291a8">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1MatMulParam.html">MatMulParam</a>) {</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; DMLC_DECLARE_FIELD(transpose_a)</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; .describe(<span class="stringliteral">&quot;If true then transpose the first input before dot.&quot;</span>)</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; .set_default(<span class="keyword">false</span>);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; DMLC_DECLARE_FIELD(transpose_b)</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; .describe(<span class="stringliteral">&quot;If true then transpose the second input before dot.&quot;</span>)</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; .set_default(<span class="keyword">false</span>);</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; }</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;};</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div><div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ClipParam.html"> 300</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1ClipParam.html">ClipParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;ClipParam&gt; {</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ClipParam.html#a6ac821a1e0f0ca0f9a1c7dba29cd833e"> 301</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="structnnvm_1_1top_1_1ClipParam.html#a6ac821a1e0f0ca0f9a1c7dba29cd833e">a_min</a>, a_max;</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1ClipParam.html#a4498c13bff12ba2166d16dbf148c9f23"> 302</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1ClipParam.html#a4498c13bff12ba2166d16dbf148c9f23">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1ClipParam.html">ClipParam</a>) {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; DMLC_DECLARE_FIELD(a_min)</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; .describe(<span class="stringliteral">&quot;Minimum value such that value smaller then this will be clipped.&quot;</span>);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; DMLC_DECLARE_FIELD(a_max)</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; .describe(<span class="stringliteral">&quot;Maximum value such that value larger then this will be clipped.&quot;</span>);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;};</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SliceLikeParam.html"> 310</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structnnvm_1_1top_1_1SliceLikeParam.html">SliceLikeParam</a> : <span class="keyword">public</span> dmlc::Parameter&lt;SliceLikeParam&gt; {</div><div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SliceLikeParam.html#a888dead1e5c95ebc635c536fe616e41c"> 311</a></span>&#160; <a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int&gt;</a> <a class="code" href="structnnvm_1_1top_1_1SliceLikeParam.html#a888dead1e5c95ebc635c536fe616e41c">axis</a>;</div><div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="structnnvm_1_1top_1_1SliceLikeParam.html#ad09a134e6c1fd7c54d4d52365b065593"> 312</a></span>&#160; <a class="code" href="structnnvm_1_1top_1_1SliceLikeParam.html#ad09a134e6c1fd7c54d4d52365b065593">DMLC_DECLARE_PARAMETER</a>(<a class="code" href="structnnvm_1_1top_1_1SliceLikeParam.html">SliceLikeParam</a>) {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; DMLC_DECLARE_FIELD(axis).set_default(<a class="code" href="classnnvm_1_1Tuple.html">Tuple&lt;int&gt;</a>())</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; .describe(<span class="stringliteral">&quot;List of axes on which input data will be sliced according to the &quot;</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="stringliteral">&quot;corresponding size of the second input. By default will slice &quot;</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="stringliteral">&quot;on all axes. Negative axes are supported.&quot;</span>);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;};</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;} <span class="comment">// namespace top</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;} <span class="comment">// namespace nnvm</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;<span class="preprocessor">#endif // NNVM_TOP_TENSOR_H_</span></div><div class="ttc" id="structnnvm_1_1top_1_1SplitParam_html_a3ef6654edcd22f3da9e4c1cc34147177"><div class="ttname"><a href="structnnvm_1_1top_1_1SplitParam.html#a3ef6654edcd22f3da9e4c1cc34147177">nnvm::top::SplitParam::axis</a></div><div class="ttdeci">int axis</div><div class="ttdef"><b>Definition:</b> tensor.h:57</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ExpandDimsParam_html_a9eeda053bab3f1ad3655c9f8a127a349"><div class="ttname"><a href="structnnvm_1_1top_1_1ExpandDimsParam.html#a9eeda053bab3f1ad3655c9f8a127a349">nnvm::top::ExpandDimsParam::axis</a></div><div class="ttdeci">int axis</div><div class="ttdef"><b>Definition:</b> tensor.h:44</div></div>
<div class="ttc" id="namespacennvm_html"><div class="ttname"><a href="namespacennvm.html">nnvm</a></div><div class="ttdef"><b>Definition:</b> base.h:36</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ConcatenateParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ConcatenateParam.html">nnvm::top::ConcatenateParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:35</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html_a1422778a78df7f28be85449631956d8c"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html#a1422778a78df7f28be85449631956d8c">nnvm::top::ReduceParam::dtype</a></div><div class="ttdeci">int dtype</div><div class="ttdef"><b>Definition:</b> tensor.h:227</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TakeParam_html_a43ec4049cd85bb4fb63c089fb74025c9"><div class="ttname"><a href="structnnvm_1_1top_1_1TakeParam.html#a43ec4049cd85bb4fb63c089fb74025c9">nnvm::top::TakeParam::axis</a></div><div class="ttdeci">dmlc::optional&lt; int &gt; axis</div><div class="ttdef"><b>Definition:</b> tensor.h:72</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea5ed2699c3a6716e5fd1ffcfe8222ed5b"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea5ed2699c3a6716e5fd1ffcfe8222ed5b">nnvm::top::kUint64</a></div><div class="ttdef"><b>Definition:</b> tensor.h:107</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SqueezeParam_html_a0ee91e9e82e54735ea32549158273028"><div class="ttname"><a href="structnnvm_1_1top_1_1SqueezeParam.html#a0ee91e9e82e54735ea32549158273028">nnvm::top::SqueezeParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(SqueezeParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:172</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1CastParam_html_a17d325d3e7e153c60f50ddb3c3206855"><div class="ttname"><a href="structnnvm_1_1top_1_1CastParam.html#a17d325d3e7e153c60f50ddb3c3206855">nnvm::top::CastParam::dtype</a></div><div class="ttdeci">int dtype</div><div class="ttdef"><b>Definition:</b> tensor.h:132</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1StridedSliceParam_html_a23b363e16845b1fb3f1cc0fdcfb9e329"><div class="ttname"><a href="structnnvm_1_1top_1_1StridedSliceParam.html#a23b363e16845b1fb3f1cc0fdcfb9e329">nnvm::top::StridedSliceParam::begin</a></div><div class="ttdeci">Tuple&lt; int64_t &gt; begin</div><div class="ttdef"><b>Definition:</b> tensor.h:82</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1MatMulParam_html_af721ee45193ad58c618396c0153291a8"><div class="ttname"><a href="structnnvm_1_1top_1_1MatMulParam.html#af721ee45193ad58c618396c0153291a8">nnvm::top::MatMulParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(MatMulParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:290</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ScalarParam_html_a5df2f6066e926aece6bf4e0f7e9cdba2"><div class="ttname"><a href="structnnvm_1_1top_1_1ScalarParam.html#a5df2f6066e926aece6bf4e0f7e9cdba2">nnvm::top::ScalarParam::scalar</a></div><div class="ttdeci">double scalar</div><div class="ttdef"><b>Definition:</b> tensor.h:179</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a1fa37df6a97f62ced312de5da3e55842a727e27a17fe38c551fcda729bf8c54f4"><div class="ttname"><a href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a727e27a17fe38c551fcda729bf8c54f4">nnvm::top::kGT0</a></div><div class="ttdef"><b>Definition:</b> tensor.h:111</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FlipParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1FlipParam.html">nnvm::top::FlipParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:204</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1CastParam_html_a0717bf96f5ccebee229ac08559de132a"><div class="ttname"><a href="structnnvm_1_1top_1_1CastParam.html#a0717bf96f5ccebee229ac08559de132a">nnvm::top::CastParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(CastParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:133</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ClipParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ClipParam.html">nnvm::top::ClipParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:300</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1IndicatorParam_html_a51d0dc09f11baff8bbdf7fa3267b9b3c"><div class="ttname"><a href="structnnvm_1_1top_1_1IndicatorParam.html#a51d0dc09f11baff8bbdf7fa3267b9b3c">nnvm::top::IndicatorParam::exclude</a></div><div class="ttdeci">bool exclude</div><div class="ttdef"><b>Definition:</b> tensor.h:141</div></div>
<div class="ttc" id="classnnvm_1_1Tuple_html"><div class="ttname"><a href="classnnvm_1_1Tuple.html">nnvm::Tuple&lt; int &gt;</a></div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ElementWiseReduceParam_html_a4d2b46b8e3b843588819e8abd9b12b95"><div class="ttname"><a href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#a4d2b46b8e3b843588819e8abd9b12b95">nnvm::top::ElementWiseReduceParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ElementWiseReduceParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:280</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ElementWiseReduceParam_html_ac830aa8efe66fbc5f8b6332e0451103a"><div class="ttname"><a href="structnnvm_1_1top_1_1ElementWiseReduceParam.html#ac830aa8efe66fbc5f8b6332e0451103a">nnvm::top::ElementWiseReduceParam::num_args</a></div><div class="ttdeci">int num_args</div><div class="ttdef"><b>Definition:</b> tensor.h:279</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html_a543105add1832e24ecdb319d9abc9c10"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html#a543105add1832e24ecdb319d9abc9c10">nnvm::top::ReduceParam::keepdims</a></div><div class="ttdeci">bool keepdims</div><div class="ttdef"><b>Definition:</b> tensor.h:225</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SplitParam_html_abe8eef51dae1f6581b3da66ebf025405"><div class="ttname"><a href="structnnvm_1_1top_1_1SplitParam.html#abe8eef51dae1f6581b3da66ebf025405">nnvm::top::SplitParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(SplitParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:62</div></div>
<div class="ttc" id="classdmlc_1_1optional_html"><div class="ttname"><a href="classdmlc_1_1optional.html">dmlc::optional&lt; int &gt;</a></div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpWithScalarParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpWithScalarParam.html">nnvm::top::InitOpWithScalarParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:254</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1IndicatorParam_html_ae5757fc36e95ad50be1afc725daac953"><div class="ttname"><a href="structnnvm_1_1top_1_1IndicatorParam.html#ae5757fc36e95ad50be1afc725daac953">nnvm::top::IndicatorParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(IndicatorParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:142</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpWithScalarParam_html_af6dd8939dd391dda8b0ed0a61f1549ff"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#af6dd8939dd391dda8b0ed0a61f1549ff">nnvm::top::InitOpWithScalarParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(InitOpWithScalarParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:259</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SqueezeParam_html_a1068dafae517a2a3364b43a7b810638d"><div class="ttname"><a href="structnnvm_1_1top_1_1SqueezeParam.html#a1068dafae517a2a3364b43a7b810638d">nnvm::top::SqueezeParam::axis</a></div><div class="ttdeci">TShape axis</div><div class="ttdef"><b>Definition:</b> tensor.h:170</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea1b549511f7973719498a5c4000b10195"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1b549511f7973719498a5c4000b10195">nnvm::top::kUint16</a></div><div class="ttdef"><b>Definition:</b> tensor.h:105</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a1fa37df6a97f62ced312de5da3e55842a6e9acf362a43c0d0631d04fd45a41bae"><div class="ttname"><a href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842a6e9acf362a43c0d0631d04fd45a41bae">nnvm::top::kMax</a></div><div class="ttdef"><b>Definition:</b> tensor.h:113</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpParam_html_a980290d6b917e014e7ad015a8fd0ec52"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpParam.html#a980290d6b917e014e7ad015a8fd0ec52">nnvm::top::InitOpParam::shape</a></div><div class="ttdeci">TShape shape</div><div class="ttdef"><b>Definition:</b> tensor.h:268</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1StridedSliceParam_html_a07fbd0f4eaea2c23c110680b0f44f02c"><div class="ttname"><a href="structnnvm_1_1top_1_1StridedSliceParam.html#a07fbd0f4eaea2c23c110680b0f44f02c">nnvm::top::StridedSliceParam::end</a></div><div class="ttdeci">Tuple&lt; int64_t &gt; end</div><div class="ttdef"><b>Definition:</b> tensor.h:83</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SqueezeParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1SqueezeParam.html">nnvm::top::SqueezeParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:169</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FillValueParam_html_af407a1635b39aab46ee6968bee3bac2e"><div class="ttname"><a href="structnnvm_1_1top_1_1FillValueParam.html#af407a1635b39aab46ee6968bee3bac2e">nnvm::top::FillValueParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(FillValueParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:189</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TransposeParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1TransposeParam.html">nnvm::top::TransposeParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:195</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ScalarParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ScalarParam.html">nnvm::top::ScalarParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:178</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TransposeParam_html_aa3aff9097b97425e89b6ab21b8100fc3"><div class="ttname"><a href="structnnvm_1_1top_1_1TransposeParam.html#aa3aff9097b97425e89b6ab21b8100fc3">nnvm::top::TransposeParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(TransposeParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:198</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1BroadcastToParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1BroadcastToParam.html">nnvm::top::BroadcastToParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:212</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpWithScalarParam_html_a2360a067104d89b5a3a541a5535e5113"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a2360a067104d89b5a3a541a5535e5113">nnvm::top::InitOpWithScalarParam::dtype</a></div><div class="ttdeci">int dtype</div><div class="ttdef"><b>Definition:</b> tensor.h:256</div></div>
<div class="ttc" id="classnnvm_1_1TShape_html"><div class="ttname"><a href="classnnvm_1_1TShape.html">nnvm::TShape</a></div><div class="ttdoc">A Shape class that is used to represent shape of each tensor. </div><div class="ttdef"><b>Definition:</b> tuple.h:344</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FlipParam_html_ae0eeb5778fd52cb86ec1c14d1f3c71b2"><div class="ttname"><a href="structnnvm_1_1top_1_1FlipParam.html#ae0eeb5778fd52cb86ec1c14d1f3c71b2">nnvm::top::FlipParam::axis</a></div><div class="ttdeci">int axis</div><div class="ttdef"><b>Definition:</b> tensor.h:205</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ExpandDimsParam_html_a4a9fa619364654a5de4058cd19487393"><div class="ttname"><a href="structnnvm_1_1top_1_1ExpandDimsParam.html#a4a9fa619364654a5de4058cd19487393">nnvm::top::ExpandDimsParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ExpandDimsParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:46</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1MatMulParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1MatMulParam.html">nnvm::top::MatMulParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:286</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ScalarParam_html_a4e21410f92bd29d9151156c0e82cdc12"><div class="ttname"><a href="structnnvm_1_1top_1_1ScalarParam.html#a4e21410f92bd29d9151156c0e82cdc12">nnvm::top::ScalarParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ScalarParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:181</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FillValueParam_html_a32382bac521ea4536dc461d0954a0827"><div class="ttname"><a href="structnnvm_1_1top_1_1FillValueParam.html#a32382bac521ea4536dc461d0954a0827">nnvm::top::FillValueParam::fill_value</a></div><div class="ttdeci">double fill_value</div><div class="ttdef"><b>Definition:</b> tensor.h:187</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FlipParam_html_acc64924421bd85681bcecbd4371d58cc"><div class="ttname"><a href="structnnvm_1_1top_1_1FlipParam.html#acc64924421bd85681bcecbd4371d58cc">nnvm::top::FlipParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(FlipParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:206</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ClipParam_html_a4498c13bff12ba2166d16dbf148c9f23"><div class="ttname"><a href="structnnvm_1_1top_1_1ClipParam.html#a4498c13bff12ba2166d16dbf148c9f23">nnvm::top::ClipParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ClipParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:302</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1MatMulParam_html_a6ab0cee491a9c61f38b583b53fef2908"><div class="ttname"><a href="structnnvm_1_1top_1_1MatMulParam.html#a6ab0cee491a9c61f38b583b53fef2908">nnvm::top::MatMulParam::transpose_a</a></div><div class="ttdeci">bool transpose_a</div><div class="ttdef"><b>Definition:</b> tensor.h:287</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a1fa37df6a97f62ced312de5da3e55842ae32054fd1cc616a58c30611beb9a07f3"><div class="ttname"><a href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842ae32054fd1cc616a58c30611beb9a07f3">nnvm::top::kLT0</a></div><div class="ttdef"><b>Definition:</b> tensor.h:112</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpParam.html">nnvm::top::InitOpParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:267</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1StridedSliceParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1StridedSliceParam.html">nnvm::top::StridedSliceParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:80</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpParam_html_a01d2088eabd3c8382f1b86086868898b"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpParam.html#a01d2088eabd3c8382f1b86086868898b">nnvm::top::InitOpParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(InitOpParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:271</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a1fa37df6a97f62ced312de5da3e55842aec1874c5d7c4519c23d5245c6e43c12d"><div class="ttname"><a href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842aec1874c5d7c4519c23d5245c6e43c12d">nnvm::top::kMin</a></div><div class="ttdef"><b>Definition:</b> tensor.h:114</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html_ad13856f35227afe95fdae15c398fd740"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html#ad13856f35227afe95fdae15c398fd740">nnvm::top::ReduceParam::axis</a></div><div class="ttdeci">TShape axis</div><div class="ttdef"><b>Definition:</b> tensor.h:224</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58e"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58e">nnvm::top::TypeFlag</a></div><div class="ttdeci">TypeFlag</div><div class="ttdef"><b>Definition:</b> tensor.h:96</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a1fa37df6a97f62ced312de5da3e55842"><div class="ttname"><a href="namespacennvm_1_1top.html#a1fa37df6a97f62ced312de5da3e55842">nnvm::top::IndicatorRuleFlag</a></div><div class="ttdeci">IndicatorRuleFlag</div><div class="ttdef"><b>Definition:</b> tensor.h:110</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ElementWiseReduceParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ElementWiseReduceParam.html">nnvm::top::ElementWiseReduceParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:278</div></div>
<div class="ttc" id="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h_html_ab0cbb21a1c21e4cb1efa2d1b4738f1ec"><div class="ttname"><a href="tvm_2nnvm_2include_2nnvm_2top_2tensor_8h.html#ab0cbb21a1c21e4cb1efa2d1b4738f1ec">DMLC_DECLARE_DTYPE_FIELD</a></div><div class="ttdeci">#define DMLC_DECLARE_DTYPE_FIELD(name)</div><div class="ttdef"><b>Definition:</b> tensor.h:117</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea1edfc00573834fa25e5a1eaf1703d687"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea1edfc00573834fa25e5a1eaf1703d687">nnvm::top::kFloat64</a></div><div class="ttdef"><b>Definition:</b> tensor.h:98</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ClipParam_html_a6ac821a1e0f0ca0f9a1c7dba29cd833e"><div class="ttname"><a href="structnnvm_1_1top_1_1ClipParam.html#a6ac821a1e0f0ca0f9a1c7dba29cd833e">nnvm::top::ClipParam::a_min</a></div><div class="ttdeci">double a_min</div><div class="ttdef"><b>Definition:</b> tensor.h:301</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SplitParam_html_a14242f9aa438f268b85a6f76042bea85"><div class="ttname"><a href="structnnvm_1_1top_1_1SplitParam.html#a14242f9aa438f268b85a6f76042bea85">nnvm::top::SplitParam::equal_split</a></div><div class="ttdeci">bool equal_split</div><div class="ttdef"><b>Definition:</b> tensor.h:60</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1StridedSliceParam_html_a7c1b338ca6237a32557b56e4404a6277"><div class="ttname"><a href="structnnvm_1_1top_1_1StridedSliceParam.html#a7c1b338ca6237a32557b56e4404a6277">nnvm::top::StridedSliceParam::stride</a></div><div class="ttdeci">Tuple&lt; int64_t &gt; stride</div><div class="ttdef"><b>Definition:</b> tensor.h:84</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SliceLikeParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1SliceLikeParam.html">nnvm::top::SliceLikeParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:310</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1BroadcastToParam_html_aeadb805649870faa653cea95a6fadc0b"><div class="ttname"><a href="structnnvm_1_1top_1_1BroadcastToParam.html#aeadb805649870faa653cea95a6fadc0b">nnvm::top::BroadcastToParam::shape</a></div><div class="ttdeci">TShape shape</div><div class="ttdef"><b>Definition:</b> tensor.h:213</div></div>
<div class="ttc" id="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h_html"><div class="ttname"><a href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html">tuple.h</a></div><div class="ttdoc">Data structure Tuple and TShape to store dynamic sized shapes. </div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea7ca21b998fd37532273d9395f036936a">nnvm::top::kFloat32</a></div><div class="ttdef"><b>Definition:</b> tensor.h:97</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1IndicatorParam_html_aaea5119dfefce10318e538a88247d894"><div class="ttname"><a href="structnnvm_1_1top_1_1IndicatorParam.html#aaea5119dfefce10318e538a88247d894">nnvm::top::IndicatorParam::axis</a></div><div class="ttdeci">TShape axis</div><div class="ttdef"><b>Definition:</b> tensor.h:140</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea90a4bcf27726ccc6346572fb435d8c4e"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea90a4bcf27726ccc6346572fb435d8c4e">nnvm::top::kInt64</a></div><div class="ttdef"><b>Definition:</b> tensor.h:103</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html_ac834b775ab646918e0e3d1f48d11f882"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html#ac834b775ab646918e0e3d1f48d11f882">nnvm::top::ReduceParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ReduceParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:229</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReshapeParam_html_ac1eaca4550e4ce08bbc6697994ceb406"><div class="ttname"><a href="structnnvm_1_1top_1_1ReshapeParam.html#ac1eaca4550e4ce08bbc6697994ceb406">nnvm::top::ReshapeParam::shape</a></div><div class="ttdeci">Tuple&lt; int64_t &gt; shape</div><div class="ttdef"><b>Definition:</b> tensor.h:162</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html_ae3f5bd7d88eba1c8b8ca0fab6a35a2e4"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html#ae3f5bd7d88eba1c8b8ca0fab6a35a2e4">nnvm::top::ReduceParam::exclude</a></div><div class="ttdeci">bool exclude</div><div class="ttdef"><b>Definition:</b> tensor.h:226</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SplitParam_html_a214b69a28e3bbee7bc30e5f3721b64a4"><div class="ttname"><a href="structnnvm_1_1top_1_1SplitParam.html#a214b69a28e3bbee7bc30e5f3721b64a4">nnvm::top::SplitParam::indices_or_sections</a></div><div class="ttdeci">Tuple&lt; int &gt; indices_or_sections</div><div class="ttdef"><b>Definition:</b> tensor.h:56</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpParam_html_a0c46b3b935e2574db13c63ca5465551b"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpParam.html#a0c46b3b935e2574db13c63ca5465551b">nnvm::top::InitOpParam::dtype</a></div><div class="ttdeci">int dtype</div><div class="ttdef"><b>Definition:</b> tensor.h:269</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ead1cc7ff05a731808433e108faf809075"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ead1cc7ff05a731808433e108faf809075">nnvm::top::kUint32</a></div><div class="ttdef"><b>Definition:</b> tensor.h:106</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ExpandDimsParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ExpandDimsParam.html">nnvm::top::ExpandDimsParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:43</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58eaf64ad748756e9fa3e1d7740faa63c034"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58eaf64ad748756e9fa3e1d7740faa63c034">nnvm::top::kUint8</a></div><div class="ttdef"><b>Definition:</b> tensor.h:100</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ExpandDimsParam_html_ac87868847c2afef869b6133eeccd17ce"><div class="ttname"><a href="structnnvm_1_1top_1_1ExpandDimsParam.html#ac87868847c2afef869b6133eeccd17ce">nnvm::top::ExpandDimsParam::num_newaxis</a></div><div class="ttdeci">int num_newaxis</div><div class="ttdef"><b>Definition:</b> tensor.h:45</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpWithScalarParam_html_a6e6d1bc572d4c2339e2bb3a94e8f4772"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a6e6d1bc572d4c2339e2bb3a94e8f4772">nnvm::top::InitOpWithScalarParam::shape</a></div><div class="ttdeci">TShape shape</div><div class="ttdef"><b>Definition:</b> tensor.h:255</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1StridedSliceParam_html_aab4691fd867f9752ca6763a7d0edd113"><div class="ttname"><a href="structnnvm_1_1top_1_1StridedSliceParam.html#aab4691fd867f9752ca6763a7d0edd113">nnvm::top::StridedSliceParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(StridedSliceParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:86</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReshapeParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ReshapeParam.html">nnvm::top::ReshapeParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:161</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ConcatenateParam_html_ab27528ff1d16b2c1a2ce93a827d398df"><div class="ttname"><a href="structnnvm_1_1top_1_1ConcatenateParam.html#ab27528ff1d16b2c1a2ce93a827d398df">nnvm::top::ConcatenateParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ConcatenateParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:37</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReshapeParam_html_a29d85dbf16c25b10c416d3e0c122b453"><div class="ttname"><a href="structnnvm_1_1top_1_1ReshapeParam.html#a29d85dbf16c25b10c416d3e0c122b453">nnvm::top::ReshapeParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(ReshapeParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:164</div></div>
<div class="ttc" id="3rdparty_2dmlc-core_2include_2dmlc_2base_8h_html"><div class="ttname"><a href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html">base.h</a></div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SplitParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1SplitParam.html">nnvm::top::SplitParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:54</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1MatMulParam_html_aa292d17f8645a68eb0ed71d94564c2bc"><div class="ttname"><a href="structnnvm_1_1top_1_1MatMulParam.html#aa292d17f8645a68eb0ed71d94564c2bc">nnvm::top::MatMulParam::transpose_b</a></div><div class="ttdeci">bool transpose_b</div><div class="ttdef"><b>Definition:</b> tensor.h:288</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ReduceParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1ReduceParam.html">nnvm::top::ReduceParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:223</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1CastParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1CastParam.html">nnvm::top::CastParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:131</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1FillValueParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1FillValueParam.html">nnvm::top::FillValueParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:186</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1IndicatorParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1IndicatorParam.html">nnvm::top::IndicatorParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:139</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1InitOpWithScalarParam_html_a096bacf7e790672eada44da44ede714a"><div class="ttname"><a href="structnnvm_1_1top_1_1InitOpWithScalarParam.html#a096bacf7e790672eada44da44ede714a">nnvm::top::InitOpWithScalarParam::fill_value</a></div><div class="ttdeci">double fill_value</div><div class="ttdef"><b>Definition:</b> tensor.h:257</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1BroadcastToParam_html_a6c1aa84106eaa3b52c6e4a2488983549"><div class="ttname"><a href="structnnvm_1_1top_1_1BroadcastToParam.html#a6c1aa84106eaa3b52c6e4a2488983549">nnvm::top::BroadcastToParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(BroadcastToParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:215</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TransposeParam_html_a769bc98baf030582da362c5722111ffc"><div class="ttname"><a href="structnnvm_1_1top_1_1TransposeParam.html#a769bc98baf030582da362c5722111ffc">nnvm::top::TransposeParam::axes</a></div><div class="ttdeci">TShape axes</div><div class="ttdef"><b>Definition:</b> tensor.h:196</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SliceLikeParam_html_ad09a134e6c1fd7c54d4d52365b065593"><div class="ttname"><a href="structnnvm_1_1top_1_1SliceLikeParam.html#ad09a134e6c1fd7c54d4d52365b065593">nnvm::top::SliceLikeParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(SliceLikeParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:312</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea3292dd84f603ecadd27422410d4cb456"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea3292dd84f603ecadd27422410d4cb456">nnvm::top::kInt16</a></div><div class="ttdef"><b>Definition:</b> tensor.h:104</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea443eb3083da6a7a9d44851e49f1f8be1"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea443eb3083da6a7a9d44851e49f1f8be1">nnvm::top::kInt32</a></div><div class="ttdef"><b>Definition:</b> tensor.h:101</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1SliceLikeParam_html_a888dead1e5c95ebc635c536fe616e41c"><div class="ttname"><a href="structnnvm_1_1top_1_1SliceLikeParam.html#a888dead1e5c95ebc635c536fe616e41c">nnvm::top::SliceLikeParam::axis</a></div><div class="ttdeci">Tuple&lt; int &gt; axis</div><div class="ttdef"><b>Definition:</b> tensor.h:311</div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea58f8ffb13a506f475458439def4d5b63"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea58f8ffb13a506f475458439def4d5b63">nnvm::top::kInt8</a></div><div class="ttdef"><b>Definition:</b> tensor.h:102</div></div>
<div class="ttc" id="parameter_8h_html"><div class="ttname"><a href="parameter_8h.html">parameter.h</a></div><div class="ttdoc">Provide lightweight util to do parameter setup and checking. </div></div>
<div class="ttc" id="namespacennvm_1_1top_html_a4c58e6168e28a1588edc2a14592fc58ea8180aada7ad33700e4ccf820c67cf310"><div class="ttname"><a href="namespacennvm_1_1top.html#a4c58e6168e28a1588edc2a14592fc58ea8180aada7ad33700e4ccf820c67cf310">nnvm::top::kFloat16</a></div><div class="ttdef"><b>Definition:</b> tensor.h:99</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1ConcatenateParam_html_a452589ea14308279cfee0fb93ddcc03a"><div class="ttname"><a href="structnnvm_1_1top_1_1ConcatenateParam.html#a452589ea14308279cfee0fb93ddcc03a">nnvm::top::ConcatenateParam::axis</a></div><div class="ttdeci">int axis</div><div class="ttdef"><b>Definition:</b> tensor.h:36</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TakeParam_html"><div class="ttname"><a href="structnnvm_1_1top_1_1TakeParam.html">nnvm::top::TakeParam</a></div><div class="ttdef"><b>Definition:</b> tensor.h:71</div></div>
<div class="ttc" id="structnnvm_1_1top_1_1TakeParam_html_aaf61ef793d636853a5e110f412bebfc9"><div class="ttname"><a href="structnnvm_1_1top_1_1TakeParam.html#aaf61ef793d636853a5e110f412bebfc9">nnvm::top::TakeParam::DMLC_DECLARE_PARAMETER</a></div><div class="ttdeci">DMLC_DECLARE_PARAMETER(TakeParam)</div><div class="ttdef"><b>Definition:</b> tensor.h:74</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Mar 28 2020 00:52:29 for mxnet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>