blob: a8126eb2a9c8bfe6f3ba951fa7c3dc4af0895389 [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/tuple.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="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">tuple.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Data structure Tuple and TShape to store dynamic sized shapes.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &lt;type_traits&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &quot;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h_source.html">nnvm/op_attr_types.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2graph__attr__types_8h_source.html">nnvm/graph_attr_types.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="graph_8h_source.html">nnvm/graph.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="pass_8h_source.html">nnvm/pass.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="object_8h_source.html">runtime/object.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ffi__helper_8h_source.html">runtime/ffi_helper.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="node_2container_8h_source.html">node/container.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="expr_8h_source.html">ir/expr.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for tuple.h:</div>
<div class="dyncontent">
<div class="center"><img src="include_2mxnet_2tuple_8h__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2tuple_8h" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2tuple_8h" id="_2work_2mxnet_2include_2mxnet_2tuple_8h">
<area shape="rect" id="node8" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h.html" title="Data structures that can appear in operator attributes. " alt="" coords="2249,244,2413,271"/>
<area shape="rect" id="node30" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2graph__attr__types_8h.html" title="Data structures that can appear in graph attributes. " alt="" coords="1945,319,2130,345"/>
<area shape="rect" id="node31" href="graph_8h.html" title="Configuation of nnvm as well as basic data structure. " alt="" coords="1044,169,1156,196"/>
<area shape="rect" id="node35" href="pass_8h.html" title="Pass that can be applied to a graph. " alt="" coords="930,95,1035,121"/>
<area shape="rect" id="node36" href="object_8h.html" title="A managed object in MXNet runtime. " alt="" coords="3658,625,3787,651"/>
<area shape="rect" id="node43" href="ffi__helper_8h.html" title="runtime/ffi_helper.h" alt="" coords="2937,393,3087,420"/>
<area shape="rect" id="node47" href="node_2container_8h.html" title="node/container.h" alt="" coords="3324,393,3455,420"/>
<area shape="rect" id="node49" href="expr_8h.html" title="Base expr nodes in MXNet. " alt="" coords="3792,319,3867,345"/>
<area shape="rect" id="node11" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html" title="Configuration of nnvm as well as basic data structure. " alt="" coords="935,468,1001,495"/>
<area shape="rect" id="node25" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h.html" title="Graph node data structure. " alt="" coords="1237,319,1304,345"/>
<area shape="rect" id="node28" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="1999,393,2065,420"/>
<area shape="rect" id="node29" 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="1259,543,1333,569"/>
<area shape="rect" id="node12" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="dmlc/base.h" alt="" coords="549,707,651,733"/>
<area shape="rect" id="node14" href="common_8h.html" title="defines some common utility function. " alt="" coords="1611,625,1738,651"/>
<area shape="rect" id="node16" href="any_8h.html" title="Container to hold any data type. " alt="" coords="1241,625,1333,651"/>
<area shape="rect" id="node17" href="3rdparty_2dmlc-core_2include_2dmlc_2memory_8h.html" title="dmlc/memory.h" alt="" coords="512,543,635,569"/>
<area shape="rect" id="node20" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h.html" title="dmlc/registry.h" alt="" coords="761,543,879,569"/>
<area shape="rect" id="node24" href="array__view_8h.html" title="Read only data structure to reference array. " alt="" coords="347,543,488,569"/>
<area shape="rect" id="node21" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="1107,625,1216,651"/>
<area shape="rect" id="node26" href="op_8h.html" title="Operator information structor. " alt="" coords="1411,393,1461,420"/>
<area shape="rect" id="node27" 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="1127,468,1195,495"/>
<area shape="rect" id="node33" href="symbolic_8h.html" title="Symbolic graph construction API. " alt="" coords="1260,244,1353,271"/>
<area shape="rect" id="node37" href="c__runtime__api_8h.html" title="c_runtime_api.h" alt="" coords="4217,707,4343,733"/>
<area shape="rect" id="node38" href="dlpack_8h.html" title="The common header of DLPack. " alt="" coords="4146,781,4270,808"/>
<area shape="rect" id="node41" href="include_2mxnet_2c__api_8h.html" title="mxnet/c_api.h" alt="" coords="4295,781,4409,808"/>
<area shape="rect" id="node44" href="runtime_2container_8h.html" title="mxnet/runtime/container.h" alt="" coords="3073,468,3268,495"/>
<area shape="rect" id="node45" href="include_2mxnet_2runtime_2memory_8h.html" title="Runtime memory management. " alt="" coords="2918,543,3106,569"/>
<area shape="rect" id="node48" href="include_2mxnet_2node_2node_8h.html" title="mxnet/node/node.h" alt="" coords="3510,468,3658,495"/>
<area shape="rect" id="node50" href="data__type_8h.html" title="mxnet/runtime/data\l_type.h" alt="" coords="3863,617,4015,659"/>
</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="include_2mxnet_2tuple_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2tuple_8hdep" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2tuple_8hdep" id="_2work_2mxnet_2include_2mxnet_2tuple_8hdep">
<area shape="rect" id="node2" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="773,95,928,136"/>
<area shape="rect" id="node3" href="packed__func_8h.html" title="Type&#45;erased function used across MXNET API. " alt="" coords="17,363,191,419"/>
<area shape="rect" id="node6" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="469,184,624,225"/>
<area shape="rect" id="node7" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="304,273,459,315"/>
<area shape="rect" id="node8" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="808,556,963,597"/>
<area shape="rect" id="node9" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="597,370,771,411"/>
<area shape="rect" id="node10" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="808,467,963,508"/>
<area shape="rect" id="node11" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="1022,556,1189,597"/>
<area shape="rect" id="node16" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="848,370,1003,411"/>
<area shape="rect" id="node18" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="699,273,853,315"/>
<area shape="rect" id="node19" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="291,184,445,225"/>
<area shape="rect" id="node20" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="749,184,952,225"/>
<area shape="rect" id="node21" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="1179,184,1333,225"/>
<area shape="rect" id="node22" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="1357,184,1517,225"/>
<area shape="rect" id="node4" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="5,467,192,508"/>
<area shape="rect" id="node5" href="api__registry_8h.html" title="This file contains utilities related to the MXNet&#39;s global function registry. " alt="" coords="19,556,178,597"/>
<area shape="rect" id="node14" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="301,645,489,687"/>
<area shape="rect" id="node13" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="317,556,472,597"/>
<area shape="rect" id="node17" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="317,370,472,411"/>
<area shape="rect" id="node12" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="419,467,613,508"/>
<area shape="rect" id="node15" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="301,735,489,776"/>
</map>
</div>
</div>
<p><a href="include_2mxnet_2tuple_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_1Tuple.html">mxnet::Tuple&lt; ValueType &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A dynamic sized array data structure that is optimized for storing small number of elements with same type. <a href="classmxnet_1_1Tuple.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_1TShape.html">mxnet::TShape</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Shape class that is used to represent shape of each tensor. <a href="classmxnet_1_1TShape.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">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstd_1_1hash_3_01mxnet_1_1Tuple_3_01T_01_4_01_4.html">std::hash&lt; mxnet::Tuple&lt; T &gt; &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">hash function for Tuple. <a href="structstd_1_1hash_3_01mxnet_1_1Tuple_3_01T_01_4_01_4.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">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstd_1_1hash_3_01mxnet_1_1TShape_01_4.html">std::hash&lt; mxnet::TShape &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">hash function for TShape. <a href="structstd_1_1hash_3_01mxnet_1_1TShape_01_4.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">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdmlc_1_1type__name__helper_3_01mxnet_1_1Tuple_3_01T_01_4_01_4.html">dmlc::type_name_helper&lt; mxnet::Tuple&lt; T &gt; &gt;</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>
<tr class="memitem:namespacestd"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.html">std</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacedmlc"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html">dmlc</a></td></tr>
<tr class="memdesc:namespacedmlc"><td class="mdescLeft">&#160;</td><td class="mdescRight">namespace for dmlc <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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a87e1c30aafac389774c6f4d905c0e5ea"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#a87e1c30aafac389774c6f4d905c0e5ea">mxnet::ShapeVector</a> = std::vector&lt; <a class="el" href="classmxnet_1_1TShape.html">mxnet::TShape</a> &gt;</td></tr>
<tr class="memdesc:a87e1c30aafac389774c6f4d905c0e5ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">The result holder of shape of each NodeEntry in the graph. <a href="namespacemxnet.html#a87e1c30aafac389774c6f4d905c0e5ea">More...</a><br /></td></tr>
<tr class="separator:a87e1c30aafac389774c6f4d905c0e5ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58e24850ee80ff4ccfe160fd1ffa6c1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#ad58e24850ee80ff4ccfe160fd1ffa6c1">mxnet::FInferShape</a> = <a class="el" href="namespacennvm.html#a39a12a38eb8f3ac625170e8be2099d57">nnvm::FInferNodeEntryAttr</a>&lt; <a class="el" href="classmxnet_1_1TShape.html">mxnet::TShape</a> &gt;</td></tr>
<tr class="memdesc:ad58e24850ee80ff4ccfe160fd1ffa6c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shape inference function. Update the shapes given the input shape information. <a class="el" href="classmxnet_1_1Tuple.html#a6e0bdfe3f0f34693223f657ef676bef6">TShape.ndim()</a> == -1 means the shape is still unknown. <a href="namespacemxnet.html#ad58e24850ee80ff4ccfe160fd1ffa6c1">More...</a><br /></td></tr>
<tr class="separator:ad58e24850ee80ff4ccfe160fd1ffa6c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a429718781f8f77397f9437016511be6e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#a429718781f8f77397f9437016511be6e">mxnet::ndim_is_known</a> (const int ndim)</td></tr>
<tr class="separator:a429718781f8f77397f9437016511be6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ddc5fdc5ddb39296ad9606e99fdcd5a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#a4ddc5fdc5ddb39296ad9606e99fdcd5a">mxnet::dim_size_is_known</a> (const <a class="el" href="include_2mxnet_2c__api_8h.html#ab15fcfeedbe50ea6db54a98b582d7eaf">dim_t</a> dim_size)</td></tr>
<tr class="separator:a4ddc5fdc5ddb39296ad9606e99fdcd5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb878a67c0368b32a9baf1ef654eb855"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#afb878a67c0368b32a9baf1ef654eb855">mxnet::ndim_is_known</a> (const TShape &amp;x)</td></tr>
<tr class="separator:afb878a67c0368b32a9baf1ef654eb855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfa461d1d4f7eca161d63c5e60e7217f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#abfa461d1d4f7eca161d63c5e60e7217f">mxnet::dim_size_is_known</a> (const TShape &amp;x, const int idx)</td></tr>
<tr class="separator:abfa461d1d4f7eca161d63c5e60e7217f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c29d398f4166fdc0f95f63ce0ef66ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#a6c29d398f4166fdc0f95f63ce0ef66ee">mxnet::shape_is_known</a> (const TShape &amp;x)</td></tr>
<tr class="separator:a6c29d398f4166fdc0f95f63ce0ef66ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae7f255485143a22ed0274d70598e562"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#aae7f255485143a22ed0274d70598e562">mxnet::shape_is_known</a> (const std::vector&lt; TShape &gt; &amp;shapes)</td></tr>
<tr class="separator:aae7f255485143a22ed0274d70598e562"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b1cf5c3dc47bf0e258fa888323a3d9"><td class="memTemplParams" colspan="2">template&lt;typename SrcIter , typename DstIter &gt; </td></tr>
<tr class="memitem:af0b1cf5c3dc47bf0e258fa888323a3d9"><td class="memTemplItemLeft" align="right" valign="top">DstIter&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#af0b1cf5c3dc47bf0e258fa888323a3d9">mxnet::ShapeTypeCast</a> (const SrcIter begin, const SrcIter end, DstIter dst_begin)</td></tr>
<tr class="memdesc:af0b1cf5c3dc47bf0e258fa888323a3d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">helper function to cast type of container elements <a href="namespacemxnet.html#af0b1cf5c3dc47bf0e258fa888323a3d9">More...</a><br /></td></tr>
<tr class="separator:af0b1cf5c3dc47bf0e258fa888323a3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0aa7f65ef62500c7c978d4f577ff8bf"><td class="memTemplParams" colspan="2">template&lt;typename SrcIter &gt; </td></tr>
<tr class="memitem:ae0aa7f65ef62500c7c978d4f577ff8bf"><td class="memTemplItemLeft" align="right" valign="top">TShape&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemxnet.html#ae0aa7f65ef62500c7c978d4f577ff8bf">mxnet::ShapeTypeCast</a> (const SrcIter begin, const SrcIter end)</td></tr>
<tr class="memdesc:ae0aa7f65ef62500c7c978d4f577ff8bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">helper function to transform a container to <a class="el" href="classmxnet_1_1TShape.html" title="A Shape class that is used to represent shape of each tensor. ">TShape</a> with type cast <a href="namespacemxnet.html#ae0aa7f65ef62500c7c978d4f577ff8bf">More...</a><br /></td></tr>
<tr class="separator:ae0aa7f65ef62500c7c978d4f577ff8bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f13d1bc9e12df076ed8f73ac0d11c5a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a6f13d1bc9e12df076ed8f73ac0d11c5a">dmlc::DMLC_DECLARE_TYPE_NAME</a> (optional&lt; <a class="el" href="classmxnet_1_1TShape.html">mxnet::TShape</a> &gt;, &quot;Shape or None&quot;)</td></tr>
<tr class="memdesc:a6f13d1bc9e12df076ed8f73ac0d11c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">description for optional TShape <a href="namespacedmlc.html#a6f13d1bc9e12df076ed8f73ac0d11c5a">More...</a><br /></td></tr>
<tr class="separator:a6f13d1bc9e12df076ed8f73ac0d11c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fd8e239269862ad1ff453307e8dfc3a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a1fd8e239269862ad1ff453307e8dfc3a">dmlc::DMLC_DECLARE_TYPE_NAME</a> (optional&lt; <a class="el" href="classmxnet_1_1Tuple.html">mxnet::Tuple</a>&lt; int &gt;&gt;, &quot;Shape or None&quot;)</td></tr>
<tr class="separator:a1fd8e239269862ad1ff453307e8dfc3a"><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 structure Tuple and TShape to store dynamic sized shapes. </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>