blob: d4437112e85334103b6d46f3d517b45e0bc6f4be [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/layout.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="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">layout.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Layout expression. The layout is composed of upper cases, lower cases and numbers, where upper case indicates a (super-)dimension and the corresponding lower case with factor size indicates the split (sub-)dimension. For example, NCHW16c can describe a 5-D tensor of [batch_size, channel, height, width, channel_block]. Here sub-dimension channel_block=16 is the split of super-dimension C (channel).
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="parameter_8h_source.html">dmlc/parameter.h</a>&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for layout.h:</div>
<div class="dyncontent">
<div class="center"><img src="layout_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8h" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8h" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8h">
<area shape="rect" id="node2" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="1113,109,1250,136"/>
<area shape="rect" id="node19" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="./base.h" alt="" coords="903,333,977,360"/>
<area shape="rect" id="node23" href="json_8h.html" title="Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and..." alt="" coords="837,184,907,211"/>
<area shape="rect" id="node27" href="type__traits_8h.html" title="type traits information header " alt="" coords="1680,259,1792,285"/>
<area shape="rect" id="node31" href="optional_8h.html" title="Container to hold optional data. " alt="" coords="1593,184,1687,211"/>
<area shape="rect" id="node34" href="strtonum_8h.html" title="A faster implementation of strtof and strtod. " alt="" coords="1968,259,2069,285"/>
<area shape="rect" id="node22" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="839,408,1041,435"/>
<area shape="rect" id="node32" href="common_8h.html" title="defines some common utility function. " alt="" coords="1507,259,1605,285"/>
</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="layout_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8hdep" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8hdep" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2layout_8hdep">
<area shape="rect" id="node2" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2graph__attr__types_8h.html" title="Data structures that can appear in graph attributes. " alt="" coords="113,109,299,165"/>
<area shape="rect" id="node26" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h.html" title="Data structures that can appear in operator attributes. " alt="" coords="323,109,508,165"/>
<area shape="rect" id="node3" href="include_2mxnet_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="338,213,493,255"/>
<area shape="rect" id="node16" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="556,868,744,909"/>
<area shape="rect" id="node25" href="pass__functions_8h.html" title="Pass functions that simply redirect the calls to ApplyPass. " alt="" coords="5,303,191,359"/>
<area shape="rect" id="node4" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="969,310,1123,351"/>
<area shape="rect" id="node5" href="packed__func_8h.html" title="Type&#45;erased function used across MXNET API. " alt="" coords="1187,585,1361,641"/>
<area shape="rect" id="node8" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="1109,407,1263,448"/>
<area shape="rect" id="node9" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="1363,496,1518,537"/>
<area shape="rect" id="node10" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="1487,779,1642,820"/>
<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="773,593,946,634"/>
<area shape="rect" id="node12" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="906,689,1061,731"/>
<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="688,779,855,820"/>
<area shape="rect" id="node18" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="1666,593,1821,634"/>
<area shape="rect" id="node20" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="855,496,1010,537"/>
<area shape="rect" id="node21" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="1389,407,1543,448"/>
<area shape="rect" id="node22" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="418,407,621,448"/>
<area shape="rect" id="node23" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="645,407,799,448"/>
<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="823,407,983,448"/>
<area shape="rect" id="node6" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="1186,689,1373,731"/>
<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="1200,779,1359,820"/>
<area shape="rect" id="node15" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="879,779,1034,820"/>
<area shape="rect" id="node19" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="1386,593,1541,634"/>
<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="637,689,831,731"/>
<area shape="rect" id="node17" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="256,957,444,999"/>
</map>
</div>
</div>
<p><a href="layout_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="classnnvm_1_1Layout.html">nnvm::Layout</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: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>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Layout expression. The layout is composed of upper cases, lower cases and numbers, where upper case indicates a (super-)dimension and the corresponding lower case with factor size indicates the split (sub-)dimension. For example, NCHW16c can describe a 5-D tensor of [batch_size, channel, height, width, channel_block]. Here sub-dimension channel_block=16 is the split of super-dimension C (channel). </p>
</div></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>