blob: 223cd46878f4e31ac920bb25ff05ea4d39ed5e80 [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/op_attr_types.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>
<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> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">op_attr_types.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Data structures that can appear in operator attributes.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;unordered_map&gt;</code><br />
<code>#include &quot;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h_source.html">base.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h_source.html">node.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h_source.html">tuple.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="layout_8h_source.html">layout.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for op_attr_types.h:</div>
<div class="dyncontent">
<div class="center"><img src="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h">
<area shape="rect" id="node7" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html" title="Configuration of nnvm as well as basic data structure. " alt="" coords="590,259,655,285"/>
<area shape="rect" id="node46" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h.html" title="Graph node data structure. " alt="" coords="2555,109,2621,136"/>
<area shape="rect" id="node49" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="3320,184,3387,211"/>
<area shape="rect" id="node50" href="layout_8h.html" title="Layout expression. The layout is composed of upper cases, lower cases and numbers, where upper case indicates a (super&#45;)dimension and the corresponding lower case with factor size indicates the split (sub&#45;)dimension. For example, NCHW16c can describe a 5&#45;D tensor of [batch_size, channel, height, width, channel_block]. Here sub&#45;dimension channel_block=16 is the split of super&#45;dimension C (channel). " alt="" coords="3614,333,3687,360"/>
<area shape="rect" id="node8" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="dmlc/base.h" alt="" coords="714,632,814,659"/>
<area shape="rect" id="node12" href="common_8h.html" title="defines some common utility function. " alt="" coords="1291,557,1418,584"/>
<area shape="rect" id="node16" href="any_8h.html" title="Container to hold any data type. " alt="" coords="1227,483,1317,509"/>
<area shape="rect" id="node21" href="3rdparty_2dmlc-core_2include_2dmlc_2memory_8h.html" title="dmlc/memory.h" alt="" coords="246,483,367,509"/>
<area shape="rect" id="node25" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h.html" title="dmlc/registry.h" alt="" coords="877,333,992,360"/>
<area shape="rect" id="node44" href="array__view_8h.html" title="Read only data structure to reference array. " alt="" coords="382,333,517,360"/>
<area shape="rect" id="node11" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="579,707,773,733"/>
<area shape="rect" id="node23" href="thread__local_8h.html" title="Portable thread local storage. " alt="" coords="245,557,365,584"/>
<area shape="rect" id="node27" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="1972,408,2081,435"/>
<area shape="rect" id="node40" href="type__traits_8h.html" title="type traits information header " alt="" coords="1870,557,1981,584"/>
<area shape="rect" id="node37" href="json_8h.html" title="Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and..." alt="" coords="2697,483,2765,509"/>
<area shape="rect" id="node42" href="optional_8h.html" title="Container to hold optional data. " alt="" coords="1980,483,2073,509"/>
<area shape="rect" id="node43" href="strtonum_8h.html" title="A faster implementation of strtof and strtod. " alt="" coords="1744,557,1845,584"/>
<area shape="rect" id="node47" href="op_8h.html" title="Operator information structor. " alt="" coords="1511,184,1561,211"/>
<area shape="rect" id="node48" 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="2555,259,2621,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="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8hdep" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8hdep" id="_2work_2mxnet_23rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8hdep">
<area shape="rect" id="node2" href="include_2mxnet_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="392,109,541,151"/>
<area shape="rect" id="node10" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="96,474,267,515"/>
<area shape="rect" id="node3" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="724,199,873,240"/>
<area shape="rect" id="node4" href="packed__func_8h.html" title="Type&#45;erased function used across MXNET API. " alt="" coords="1207,467,1377,523"/>
<area shape="rect" id="node7" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="167,288,316,329"/>
<area shape="rect" id="node8" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="556,377,705,419"/>
<area shape="rect" id="node9" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="744,660,893,701"/>
<area shape="rect" id="node11" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="744,571,893,612"/>
<area shape="rect" id="node12" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="1098,660,1262,701"/>
<area shape="rect" id="node17" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="719,474,868,515"/>
<area shape="rect" id="node19" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="312,377,461,419"/>
<area shape="rect" id="node20" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="668,288,817,329"/>
<area shape="rect" id="node21" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="391,288,593,329"/>
<area shape="rect" id="node22" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="993,288,1143,329"/>
<area shape="rect" id="node23" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="1167,288,1326,329"/>
<area shape="rect" id="node5" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="1453,571,1635,612"/>
<area shape="rect" id="node6" href="api__registry_8h.html" title="This file contains utilities related to the MXNet&#39;s global function registry. " alt="" coords="1467,660,1621,701"/>
<area shape="rect" id="node15" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="99,749,283,791"/>
<area shape="rect" id="node14" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="115,660,266,701"/>
<area shape="rect" id="node18" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="393,474,543,515"/>
<area shape="rect" id="node13" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="24,571,216,612"/>
<area shape="rect" id="node16" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="99,839,283,880"/>
</map>
</div>
</div>
<p><a href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a5b811999ef6b9e8a789e2c359642738a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a5b811999ef6b9e8a789e2c359642738a">nnvm::FListInputNames</a> = std::function&lt; std::vector&lt; std::string &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:a5b811999ef6b9e8a789e2c359642738a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return list of input arguments names of each operator. <a href="namespacennvm.html#a5b811999ef6b9e8a789e2c359642738a">More...</a><br /></td></tr>
<tr class="separator:a5b811999ef6b9e8a789e2c359642738a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475e6d8a1f6f0f63977e0b2e2a8b0ef7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a475e6d8a1f6f0f63977e0b2e2a8b0ef7">nnvm::FNumVisibleOutputs</a> = std::function&lt; uint32_t(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:a475e6d8a1f6f0f63977e0b2e2a8b0ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return number of visible outputs by the user. <a href="namespacennvm.html#a475e6d8a1f6f0f63977e0b2e2a8b0ef7">More...</a><br /></td></tr>
<tr class="separator:a475e6d8a1f6f0f63977e0b2e2a8b0ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4188d4a9d1daecdecb9b0136b9ff3e7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#af4188d4a9d1daecdecb9b0136b9ff3e7">nnvm::FListOutputNames</a> = std::function&lt; std::vector&lt; std::string &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:af4188d4a9d1daecdecb9b0136b9ff3e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return list of output arguments names of each operator. <a href="namespacennvm.html#af4188d4a9d1daecdecb9b0136b9ff3e7">More...</a><br /></td></tr>
<tr class="separator:af4188d4a9d1daecdecb9b0136b9ff3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f43958d8171a8f2ab11880192b7125"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a12f43958d8171a8f2ab11880192b7125">nnvm::FMutateInputs</a> = std::function&lt; std::vector&lt; uint32_t &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:a12f43958d8171a8f2ab11880192b7125"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether operator will mutate k-th input. <a href="namespacennvm.html#a12f43958d8171a8f2ab11880192b7125">More...</a><br /></td></tr>
<tr class="separator:a12f43958d8171a8f2ab11880192b7125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a12a38eb8f3ac625170e8be2099d57"><td class="memTemplParams" colspan="2">template&lt;typename AttrType &gt; </td></tr>
<tr class="memitem:a39a12a38eb8f3ac625170e8be2099d57"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a39a12a38eb8f3ac625170e8be2099d57">nnvm::FInferNodeEntryAttr</a> = std::function&lt; bool(const NodeAttrs &amp;attrs, std::vector&lt; AttrType &gt; *in_attrs, std::vector&lt; AttrType &gt; *out_attrs)&gt;</td></tr>
<tr class="memdesc:a39a12a38eb8f3ac625170e8be2099d57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inference function of certain type. <a href="namespacennvm.html#a39a12a38eb8f3ac625170e8be2099d57">More...</a><br /></td></tr>
<tr class="separator:a39a12a38eb8f3ac625170e8be2099d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac04d7b8e69e50b67769cb496c15b5fce"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ac04d7b8e69e50b67769cb496c15b5fce">nnvm::FGetAttrDict</a> = std::function&lt; std::unordered_map&lt; std::string, std::string &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:ac04d7b8e69e50b67769cb496c15b5fce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get attribute dictionary from node. <a href="namespacennvm.html#ac04d7b8e69e50b67769cb496c15b5fce">More...</a><br /></td></tr>
<tr class="separator:ac04d7b8e69e50b67769cb496c15b5fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80cd6cc2432e36350ad84335d5e5308"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ae80cd6cc2432e36350ad84335d5e5308">nnvm::FInferShape</a> = FInferNodeEntryAttr&lt; TShape &gt;</td></tr>
<tr class="memdesc:ae80cd6cc2432e36350ad84335d5e5308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shape inference function. Update the shapes given the input shape information. <a class="el" href="classnnvm_1_1Tuple.html#ab0525b3d997b77dfd5c6b35299b250f6">TShape.ndim()</a> == 0 means the shape is still unknown. <a href="namespacennvm.html#ae80cd6cc2432e36350ad84335d5e5308">More...</a><br /></td></tr>
<tr class="separator:ae80cd6cc2432e36350ad84335d5e5308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6539f5c3067c4c3cd7dbbdd6b6a6f165"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a6539f5c3067c4c3cd7dbbdd6b6a6f165">nnvm::FInferType</a> = FInferNodeEntryAttr&lt; int &gt;</td></tr>
<tr class="memdesc:a6539f5c3067c4c3cd7dbbdd6b6a6f165"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type inference function. Update the type given the known type information. <a href="namespacennvm.html#a6539f5c3067c4c3cd7dbbdd6b6a6f165">More...</a><br /></td></tr>
<tr class="separator:a6539f5c3067c4c3cd7dbbdd6b6a6f165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac317e6034c26f9cb453e91cd38e35df9"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ac317e6034c26f9cb453e91cd38e35df9">nnvm::TIsBackward</a> = bool</td></tr>
<tr class="memdesc:ac317e6034c26f9cb453e91cd38e35df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this op is an explicit backward operator, If TIsBackward is true: <a href="namespacennvm.html#ac317e6034c26f9cb453e91cd38e35df9">More...</a><br /></td></tr>
<tr class="separator:ac317e6034c26f9cb453e91cd38e35df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad27d6c45aee15d0dab91419c63f8f900"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ad27d6c45aee15d0dab91419c63f8f900">nnvm::TIsGhost</a> = bool</td></tr>
<tr class="memdesc:ad27d6c45aee15d0dab91419c63f8f900"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this op is a ghost node. If TIsGhost is true: <a href="namespacennvm.html#ad27d6c45aee15d0dab91419c63f8f900">More...</a><br /></td></tr>
<tr class="separator:ad27d6c45aee15d0dab91419c63f8f900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4bdafc4a28981d4d9b5fc8207fc04c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a7d4bdafc4a28981d4d9b5fc8207fc04c">nnvm::FInplaceOption</a> = std::function&lt; std::vector&lt; std::pair&lt; int, int &gt; &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:a7d4bdafc4a28981d4d9b5fc8207fc04c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get possible inplace options. This function enables optimization to reuse memory of inputs in output. <a href="namespacennvm.html#a7d4bdafc4a28981d4d9b5fc8207fc04c">More...</a><br /></td></tr>
<tr class="separator:a7d4bdafc4a28981d4d9b5fc8207fc04c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ef67828f4ddb6c7aea2e3b1b685d90"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a39ef67828f4ddb6c7aea2e3b1b685d90">nnvm::FInplaceIdentity</a> = std::function&lt; std::vector&lt; bool &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:a39ef67828f4ddb6c7aea2e3b1b685d90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get if the inplace option is an identity This function enables inplace optimization even when input reference count is greater than one. <a href="namespacennvm.html#a39ef67828f4ddb6c7aea2e3b1b685d90">More...</a><br /></td></tr>
<tr class="separator:a39ef67828f4ddb6c7aea2e3b1b685d90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab951c7d30fcc4f17ffddbfd082d24792"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ab951c7d30fcc4f17ffddbfd082d24792">nnvm::FIgnoreInputs</a> = std::function&lt; std::vector&lt; uint32_t &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:ab951c7d30fcc4f17ffddbfd082d24792"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get list of inputs in the op whose content are actually not used by the operator These are dummy input that can be used for example in zeros_like, ones_like. <a href="namespacennvm.html#ab951c7d30fcc4f17ffddbfd082d24792">More...</a><br /></td></tr>
<tr class="separator:ab951c7d30fcc4f17ffddbfd082d24792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12fee9c95a28ac9441c38d66cde559d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#ad12fee9c95a28ac9441c38d66cde559d">nnvm::FGradient</a> = std::function&lt; std::vector&lt; NodeEntry &gt;(const ObjectPtr &amp;nodeptr, const std::vector&lt; NodeEntry &gt; &amp;out_grads)&gt;</td></tr>
<tr class="memdesc:ad12fee9c95a28ac9441c38d66cde559d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the gradient node of the op node This function generates the backward graph of the node. <a href="namespacennvm.html#ad12fee9c95a28ac9441c38d66cde559d">More...</a><br /></td></tr>
<tr class="separator:ad12fee9c95a28ac9441c38d66cde559d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c5989aee30cef7813c484d12fc922d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#aa7c5989aee30cef7813c484d12fc922d">nnvm::FSetInputVarAttrOnCompose</a> = std::function&lt; void(const NodeAttrs &amp;attrs, ObjectPtr var, const int index)&gt;</td></tr>
<tr class="memdesc:aa7c5989aee30cef7813c484d12fc922d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the attributes of input variable. Usually used for setting initialization or weight decay. <a href="namespacennvm.html#aa7c5989aee30cef7813c484d12fc922d">More...</a><br /></td></tr>
<tr class="separator:aa7c5989aee30cef7813c484d12fc922d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2df0ffb0a105133c97d5fbc9d782c618"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#a2df0ffb0a105133c97d5fbc9d782c618">nnvm::FCorrectLayout</a> = std::function&lt; bool(const NodeAttrs &amp;attrs, std::vector&lt; Layout &gt; *ilayouts, const std::vector&lt; Layout &gt; *last_ilayouts, std::vector&lt; Layout &gt; *olayouts)&gt;</td></tr>
<tr class="memdesc:a2df0ffb0a105133c97d5fbc9d782c618"><td class="mdescLeft">&#160;</td><td class="mdescRight">Infer &amp; correct function of node layout. See <code><a class="el" href="classnnvm_1_1Layout.html">Layout</a></code> for layout convention. <a href="namespacennvm.html#a2df0ffb0a105133c97d5fbc9d782c618">More...</a><br /></td></tr>
<tr class="separator:a2df0ffb0a105133c97d5fbc9d782c618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0d636002e2d607e2692cd0899c416b6"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacennvm.html#af0d636002e2d607e2692cd0899c416b6">nnvm::FInputGraph</a> = std::function&lt; std::vector&lt; uint32_t &gt;(const NodeAttrs &amp;attrs)&gt;</td></tr>
<tr class="memdesc:af0d636002e2d607e2692cd0899c416b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a list of inputs that represent graphs instead of data. Normally, input symbols are considered as data to the operator. However, control flow operators and high-order functions need to interpret symbols as graphs. <a href="namespacennvm.html#af0d636002e2d607e2692cd0899c416b6">More...</a><br /></td></tr>
<tr class="separator:af0d636002e2d607e2692cd0899c416b6"><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>Data structures that can appear in operator attributes. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 11 2020 03:38:05 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>