blob: 7124229e7e052b64a5172c87bdca47edc95aa075 [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/include/mxnet/imperative.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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_1143c7affb9ebd026cb6818dd282def7.html">mxnet</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle">
<div class="title">imperative.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="include_2mxnet_2op__attr__types_8h_source.html">mxnet/op_attr_types.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="include_2mxnet_2graph__attr__types_8h_source.html">mxnet/graph_attr_types.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="include_2mxnet_2c__api_8h_source.html">mxnet/c_api.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="symbolic_8h_source.html">nnvm/symbolic.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="op_8h_source.html">nnvm/op.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="graph_8h_source.html">nnvm/graph.h</a>&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;atomic&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;unordered_map&gt;</code><br />
<code>#include &quot;<a class="el" href="include_2mxnet_2ndarray_8h_source.html">./ndarray.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for imperative.h:</div>
<div class="dyncontent">
<div class="center"><img src="imperative_8h__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2imperative_8h" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2imperative_8h" id="_2work_2mxnet_2include_2mxnet_2imperative_8h">
<area shape="rect" id="node2" href="include_2mxnet_2op__attr__types_8h.html" title="mxnet/op_attr_types.h" alt="" coords="1877,169,2046,196"/>
<area shape="rect" id="node33" href="op_8h.html" title="Operator information structor. " alt="" coords="2351,617,2401,644"/>
<area shape="rect" id="node37" href="symbolic_8h.html" title="Symbolic graph construction API. " alt="" coords="3025,468,3159,495"/>
<area shape="rect" id="node39" href="include_2mxnet_2ndarray_8h.html" title="./ndarray.h" alt="" coords="2360,244,2451,271"/>
<area shape="rect" id="node43" href="include_2mxnet_2graph__attr__types_8h.html" title="mxnet/graph_attr_types.h" alt="" coords="3462,95,3653,121"/>
<area shape="rect" id="node44" href="include_2mxnet_2c__api_8h.html" title="c_api.h" alt="" coords="3833,95,3901,121"/>
<area shape="rect" id="node48" href="graph_8h.html" title="Configuation of nnvm as well as basic data structure. " alt="" coords="2973,393,3085,420"/>
<area shape="rect" id="node3" href="tensor_8h.html" title="header file of tensor data structure and functions This lib requires explicit memory allocation and d..." alt="" coords="812,468,953,495"/>
<area shape="rect" id="node21" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h.html" title="Data structures that can appear in operator attributes. " alt="" coords="2430,468,2594,495"/>
<area shape="rect" id="node35" href="include_2mxnet_2base_8h.html" title="./base.h" alt="" coords="1925,393,1998,420"/>
<area shape="rect" id="node41" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="1523,319,1610,345"/>
<area shape="rect" id="node42" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="1768,244,1867,271"/>
<area shape="rect" id="node6" href="3rdparty_2mshadow_2mshadow_2base_8h.html" title="./base.h" alt="" coords="887,767,961,793"/>
<area shape="rect" id="node9" href="expression_8h.html" title="definitions of abstract expressions and expressions template " alt="" coords="867,692,981,719"/>
<area shape="rect" id="node10" href="stream__gpu-inl_8h.html" title="implementation of GPU code " alt="" coords="1201,543,1341,569"/>
<area shape="rect" id="node12" href="extension_8h.html" title="some extension of expressions, used to support something beyond elementwise op " alt="" coords="995,543,1101,569"/>
<area shape="rect" id="node13" href="expr__engine-inl_8h.html" title="definitions of how expressions should be evaluated " alt="" coords="947,617,1090,644"/>
<area shape="rect" id="node15" href="tensor__cpu-inl_8h.html" title="implementation of CPU host code " alt="" coords="1158,692,1293,719"/>
<area shape="rect" id="node17" href="tensor__gpu-inl_8h.html" title="implementation of GPU host code " alt="" coords="510,543,645,569"/>
<area shape="rect" id="node18" href="3rdparty_2mshadow_2mshadow_2io_8h.html" title="./io.h" alt="" coords="789,692,843,719"/>
<area shape="rect" id="node19" href="tensor__container_8h.html" title="tensor container that does memory allocation and resize like STL " alt="" coords="646,617,797,644"/>
<area shape="rect" id="node20" href="random_8h.html" title="Random inline functions for tensor. " alt="" coords="394,543,486,569"/>
<area shape="rect" id="node23" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html" title="Configuration of nnvm as well as basic data structure. " alt="" coords="2779,692,2845,719"/>
<area shape="rect" id="node32" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h.html" title="Graph node data structure. " alt="" coords="2544,543,2611,569"/>
<area shape="rect" id="node24" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="dmlc/base.h" alt="" coords="2667,991,2768,1017"/>
<area shape="rect" id="node26" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h.html" title="dmlc/registry.h" alt="" coords="2581,767,2699,793"/>
<area shape="rect" id="node28" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="2280,841,2389,868"/>
<area shape="rect" id="node31" href="type__traits_8h.html" title="type traits information header " alt="" coords="2144,916,2256,943"/>
<area shape="rect" id="node34" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2c__api_8h.html" title="C API of NNVM symbolic construction and pass. Enables construction and transformation of Graph in any..." alt="" coords="2534,692,2602,719"/>
<area shape="rect" id="node36" href="3rdparty_2dmlc-core_2include_2dmlc_2io_8h.html" title="dmlc/io.h" alt="" coords="3347,991,3429,1017"/>
<area shape="rect" id="node40" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="2176,319,2267,345"/>
</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="imperative_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2imperative_8hdep" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2imperative_8hdep" id="_2work_2mxnet_2include_2mxnet_2imperative_8hdep">
<area shape="rect" id="node2" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="5,95,193,136"/>
<area shape="rect" id="node3" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="5,184,193,225"/>
</map>
</div>
</div>
<p><a href="imperative_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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmxnet_1_1Imperative.html">mxnet::Imperative</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">runtime functions for <a class="el" href="classmxnet_1_1NDArray.html" title="ndarray interface ">NDArray</a> <a href="classmxnet_1_1Imperative.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmxnet_1_1Imperative_1_1AGInfo.html">mxnet::Imperative::AGInfo</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="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemxnet"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html">mxnet</a></td></tr>
<tr class="memdesc:namespacemxnet"><td class="mdescLeft">&#160;</td><td class="mdescRight">namespace of mxnet <br /></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="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a2a487cb76fa5483d32c5d87ca448e94e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#a2a487cb76fa5483d32c5d87ca448e94e">mxnet::NumpyShape</a> { <a class="el" href="namespacemxnet.html#a2a487cb76fa5483d32c5d87ca448e94eaebed4fa3c7982aa607d3e0c7b65f7375">mxnet::Off</a>,
<a class="el" href="namespacemxnet.html#a2a487cb76fa5483d32c5d87ca448e94ea6c821188baf6990fa992093cbece00ce">mxnet::ThreadLocalOn</a>,
<a class="el" href="namespacemxnet.html#a2a487cb76fa5483d32c5d87ca448e94ea6de602d5b5a661f930ace1cddfbcd5b9">mxnet::GlobalOn</a>
}<tr class="memdesc:a2a487cb76fa5483d32c5d87ca448e94e"><td class="mdescLeft">&#160;</td><td class="mdescRight">there are three numpy shape flags based on priority. GlobalOn turn on numpy shape flag globally, it includes thread local. The flag can be seen in any thread. ThreadLocalOn only turn on thread local numpy shape flag, it cannot be seen in other threads. Off turn off numpy shape flag globally. <a href="namespacemxnet.html#a2a487cb76fa5483d32c5d87ca448e94e">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a2a487cb76fa5483d32c5d87ca448e94e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 5 2023 00:58:43 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>