blob: 83ad0aad891b460bb43ed985696f3599d4b18d78 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mxnet: /work/mxnet/3rdparty/tvm/nnvm/include/nnvm/base.h File Reference</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>
<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.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- 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> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle">
<div class="title">base.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Configuration of nnvm as well as basic data structure.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h_source.html">dmlc/base.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="common_8h_source.html">dmlc/common.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="any_8h_source.html">dmlc/any.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2memory_8h_source.html">dmlc/memory.h</a>&gt;</code><br />
<code>#include &lt;dmlc/logging.h&gt;</code><br />
<code>#include &lt;<a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h_source.html">dmlc/registry.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="array__view_8h_source.html">dmlc/array_view.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for base.h:</div>
<div class="dyncontent">
<div class="center"><img src="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h">
<area shape="rect" id="node2" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="dmlc/base.h" alt="" coords="1335,408,1436,435"/>
<area shape="rect" id="node8" href="common_8h.html" title="defines some common utility function. " alt="" coords="486,333,613,360"/>
<area shape="rect" id="node13" href="any_8h.html" title="Container to hold any data type. " alt="" coords="1058,259,1150,285"/>
<area shape="rect" id="node18" href="3rdparty_2dmlc-core_2include_2dmlc_2memory_8h.html" title="dmlc/memory.h" alt="" coords="312,259,435,285"/>
<area shape="rect" id="node22" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h.html" title="dmlc/registry.h" alt="" coords="1663,109,1782,136"/>
<area shape="rect" id="node43" href="array__view_8h.html" title="Read only data structure to reference array. " alt="" coords="28,109,169,136"/>
<area shape="rect" id="node7" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="1285,483,1486,509"/>
<area shape="rect" id="node20" href="thread__local_8h.html" title="Portable thread local storage. " alt="" coords="237,333,360,360"/>
<area shape="rect" id="node24" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="2143,184,2252,211"/>
<area shape="rect" id="node37" href="type__traits_8h.html" title="type traits information header " alt="" coords="2625,333,2737,360"/>
<area shape="rect" id="node34" href="json_8h.html" title="Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and..." alt="" coords="1976,259,2045,285"/>
<area shape="rect" id="node40" href="optional_8h.html" title="Container to hold optional data. " alt="" coords="1513,259,1607,285"/>
<area shape="rect" id="node41" href="strtonum_8h.html" title="A faster implementation of strtof and strtod. " alt="" coords="2887,333,2988,360"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8hdep" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8hdep" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2base_8hdep">
<area shape="rect" id="node2" href="graph_8h.html" title="Configuation of nnvm as well as basic data structure. " alt="" coords="1449,407,1635,463"/>
<area shape="rect" id="node25" href="pass_8h.html" title="Pass that can be applied to a graph. " alt="" coords="379,511,564,567"/>
<area shape="rect" id="node26" href="pass__functions_8h.html" title="Pass functions that simply redirect the calls to ApplyPass. " alt="" coords="5,615,191,671"/>
<area shape="rect" id="node27" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h.html" title="Graph node data structure. " alt="" coords="1305,199,1491,255"/>
<area shape="rect" id="node28" href="symbolic_8h.html" title="Symbolic graph construction API. " alt="" coords="1500,303,1685,359"/>
<area shape="rect" id="node29" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h.html" title="Data structures that can appear in operator attributes. " alt="" coords="849,511,1035,567"/>
<area shape="rect" id="node30" href="op_8h.html" title="Operator information structor. " alt="" coords="1237,109,1455,151"/>
<area shape="rect" id="node31" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="748,407,933,463"/>
<area shape="rect" id="node3" href="include_2mxnet_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="865,622,1019,663"/>
<area shape="rect" id="node15" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="1621,1180,1775,1221"/>
<area shape="rect" id="node16" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="1137,1269,1325,1311"/>
<area shape="rect" id="node17" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="1137,1359,1325,1400"/>
<area shape="rect" id="node4" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="937,719,1091,760"/>
<area shape="rect" id="node5" href="packed__func_8h.html" title="Type&#45;erased function used across MXNET API. " alt="" coords="912,987,1087,1043"/>
<area shape="rect" id="node8" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="797,808,951,849"/>
<area shape="rect" id="node9" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="1341,897,1495,939"/>
<area shape="rect" id="node10" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="1139,1180,1294,1221"/>
<area shape="rect" id="node11" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="658,994,831,1035"/>
<area shape="rect" id="node12" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="418,1091,573,1132"/>
<area shape="rect" id="node13" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="352,1180,519,1221"/>
<area shape="rect" id="node18" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="1162,994,1317,1035"/>
<area shape="rect" id="node20" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="567,897,722,939"/>
<area shape="rect" id="node21" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="1127,808,1282,849"/>
<area shape="rect" id="node22" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="469,808,671,849"/>
<area shape="rect" id="node23" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="1306,808,1461,849"/>
<area shape="rect" id="node24" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="1485,808,1645,849"/>
<area shape="rect" id="node6" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="967,1091,1154,1132"/>
<area shape="rect" id="node7" href="api__registry_8h.html" title="This file contains utilities related to the MXNet&#39;s global function registry. " alt="" coords="956,1180,1115,1221"/>
<area shape="rect" id="node19" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="1341,994,1495,1035"/>
<area shape="rect" id="node14" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="647,1091,842,1132"/>
<area shape="rect" id="node32" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2graph__attr__types_8h.html" title="Data structures that can appear in graph attributes. " alt="" coords="588,511,773,567"/>
</map>
</div>
</div>
<p><a href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacennvm"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html">nnvm</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a574f46bf8b39aa993070ac0e92d47b58"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#a574f46bf8b39aa993070ac0e92d47b58">NNVM_STRINGIZE_DETAIL</a>(x)&#160;&#160;&#160;#x</td></tr>
<tr class="separator:a574f46bf8b39aa993070ac0e92d47b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa22313dce4720e9b71da87f06b8b013c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#aa22313dce4720e9b71da87f06b8b013c">NNVM_STRINGIZE</a>(x)&#160;&#160;&#160;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#a574f46bf8b39aa993070ac0e92d47b58">NNVM_STRINGIZE_DETAIL</a>(x)</td></tr>
<tr class="separator:aa22313dce4720e9b71da87f06b8b013c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f5a07d22c82b19c8dce0239437b104c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#a7f5a07d22c82b19c8dce0239437b104c">NNVM_DESCRIBE</a>(...)&#160;&#160;&#160;describe(__VA_ARGS__ &quot;\n\nFrom:&quot; __FILE__ &quot;:&quot; <a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#aa22313dce4720e9b71da87f06b8b013c">NNVM_STRINGIZE</a>(__LINE__))</td></tr>
<tr class="separator:a7f5a07d22c82b19c8dce0239437b104c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e19d18c3c43ce236ecb7db916d5eee0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#a1e19d18c3c43ce236ecb7db916d5eee0">NNVM_ADD_FILELINE</a>&#160;&#160;&#160;&quot;\n\nDefined in &quot; __FILE__ &quot;:L&quot; NNVM_STRINGIZE(__LINE__)</td></tr>
<tr class="separator:a1e19d18c3c43ce236ecb7db916d5eee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:af8f0384fd71ab3951dde1120615e6618"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618">nnvm::TypeFlag</a> { <br />
&#160;&#160;<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618aa7ab1e294d1899adc9989c9b07372850">nnvm::kFloat32</a> = 0,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a0e467f12a5f5426513be703891390941">nnvm::kFloat64</a> = 1,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a674e40f54a5c31acb81625ed1ddc2664">nnvm::kFloat16</a> = 2,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a77acce049b2bdc9930757b420f48740b">nnvm::kUint8</a> = 3,
<br />
&#160;&#160;<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618afcd7f5d435ea63e9a9b98eb107cc1a03">nnvm::kInt32</a> = 4,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a659f1613e9e788f0fa180cd8ec1fe6f9">nnvm::kInt8</a> = 5,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a92c7191b47d7babf55b81f1be503ff46">nnvm::kInt64</a> = 6,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a2ccf5a28ea274e1d460623e094a2207e">nnvm::kInt16</a> = 8,
<br />
&#160;&#160;<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a2d6ceba627308bc56d5f41bcbd16429a">nnvm::kUint16</a> = 9,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a281435974a7478b2a49da22127cf1434">nnvm::kUint32</a> = 10,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a3a2939f8783ce724e9b401ac539248f7">nnvm::kUint64</a> = 11,
<a class="el" href="namespacennvm.html#af8f0384fd71ab3951dde1120615e6618a256dad8d802826b632c43d26f1811a56">nnvm::kBfloat16</a> = 12
<br />
}</td></tr>
<tr class="separator:af8f0384fd71ab3951dde1120615e6618"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Configuration of nnvm as well as basic data structure. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a1e19d18c3c43ce236ecb7db916d5eee0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e19d18c3c43ce236ecb7db916d5eee0">&#9670;&nbsp;</a></span>NNVM_ADD_FILELINE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NNVM_ADD_FILELINE&#160;&#160;&#160;&quot;\n\nDefined in &quot; __FILE__ &quot;:L&quot; NNVM_STRINGIZE(__LINE__)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a7f5a07d22c82b19c8dce0239437b104c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f5a07d22c82b19c8dce0239437b104c">&#9670;&nbsp;</a></span>NNVM_DESCRIBE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NNVM_DESCRIBE</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em></td><td>)</td>
<td>&#160;&#160;&#160;describe(__VA_ARGS__ &quot;\n\nFrom:&quot; __FILE__ &quot;:&quot; <a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#aa22313dce4720e9b71da87f06b8b013c">NNVM_STRINGIZE</a>(__LINE__))</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa22313dce4720e9b71da87f06b8b013c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa22313dce4720e9b71da87f06b8b013c">&#9670;&nbsp;</a></span>NNVM_STRINGIZE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NNVM_STRINGIZE</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html#a574f46bf8b39aa993070ac0e92d47b58">NNVM_STRINGIZE_DETAIL</a>(x)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a574f46bf8b39aa993070ac0e92d47b58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a574f46bf8b39aa993070ac0e92d47b58">&#9670;&nbsp;</a></span>NNVM_STRINGIZE_DETAIL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NNVM_STRINGIZE_DETAIL</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;#x</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 5 2023 00:58:42 for mxnet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>