blob: 3bae29a755ca276bb56bfdadc84f1e9754dc323b [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mxnet: mshadow::TRValue&lt; Container, Device, dimension, DType &gt; Struct Template 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.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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="namespacemshadow.html">mshadow</a></li><li class="navelem"><a class="el" href="structmshadow_1_1TRValue.html">TRValue</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="structmshadow_1_1TRValue-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mshadow::TRValue&lt; Container, Device, dimension, DType &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="structmshadow_1_1Tensor.html" title="general tensor">Tensor</a> RValue, this is the super type of all kinds of possible tensors.
<a href="structmshadow_1_1TRValue.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="tensor_8h_source.html">tensor.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mshadow::TRValue&lt; Container, Device, dimension, DType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structmshadow_1_1TRValue__inherit__graph.png" border="0" usemap="#mshadow_1_1TRValue_3_01Container_00_01Device_00_01dimension_00_01DType_01_4_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
</div>
<div class="dynheader">
Collaboration diagram for mshadow::TRValue&lt; Container, Device, dimension, DType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structmshadow_1_1TRValue__coll__graph.png" border="0" usemap="#mshadow_1_1TRValue_3_01Container_00_01Device_00_01dimension_00_01DType_01_4_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 1 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_methods_classmshadow_1_1expr_1_1RValueExp"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmshadow_1_1expr_1_1RValueExp')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classmshadow_1_1expr_1_1RValueExp.html">mshadow::expr::RValueExp&lt; Container, DType &gt;</a></td></tr>
<tr class="memitem:afbddc739cc4f38e6509be4fcab0c6158 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structmshadow_1_1expr_1_1TransposeExp.html">TransposeExp</a>&lt; Container, DType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#afbddc739cc4f38e6509be4fcab0c6158">T</a> (void) const</td></tr>
<tr class="memdesc:afbddc739cc4f38e6509be4fcab0c6158 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">transpose of a matrix <a href="classmshadow_1_1expr_1_1RValueExp.html#afbddc739cc4f38e6509be4fcab0c6158">More...</a><br /></td></tr>
<tr class="separator:afbddc739cc4f38e6509be4fcab0c6158 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b71e7ff1b97916f59e80189d00c3397 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a9b71e7ff1b97916f59e80189d00c3397">operator+=</a> (DType s)</td></tr>
<tr class="memdesc:a9b71e7ff1b97916f59e80189d00c3397 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload <a href="classmshadow_1_1expr_1_1RValueExp.html#a9b71e7ff1b97916f59e80189d00c3397">More...</a><br /></td></tr>
<tr class="separator:a9b71e7ff1b97916f59e80189d00c3397 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a57ebc2e4664dbd449d5fad81437971 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a5a57ebc2e4664dbd449d5fad81437971">operator-=</a> (DType s)</td></tr>
<tr class="memdesc:a5a57ebc2e4664dbd449d5fad81437971 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload <a href="classmshadow_1_1expr_1_1RValueExp.html#a5a57ebc2e4664dbd449d5fad81437971">More...</a><br /></td></tr>
<tr class="separator:a5a57ebc2e4664dbd449d5fad81437971 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e48826ba1a6652d414fc3f18e7da7d3 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a2e48826ba1a6652d414fc3f18e7da7d3">operator*=</a> (DType s)</td></tr>
<tr class="memdesc:a2e48826ba1a6652d414fc3f18e7da7d3 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload <a href="classmshadow_1_1expr_1_1RValueExp.html#a2e48826ba1a6652d414fc3f18e7da7d3">More...</a><br /></td></tr>
<tr class="separator:a2e48826ba1a6652d414fc3f18e7da7d3 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74899aa6fba6c7244733947b2082e419 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a74899aa6fba6c7244733947b2082e419">operator/=</a> (DType s)</td></tr>
<tr class="memdesc:a74899aa6fba6c7244733947b2082e419 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload <a href="classmshadow_1_1expr_1_1RValueExp.html#a74899aa6fba6c7244733947b2082e419">More...</a><br /></td></tr>
<tr class="separator:a74899aa6fba6c7244733947b2082e419 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97259deba3e7b8b1876e1c032f62bd08 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a97259deba3e7b8b1876e1c032f62bd08">__assign</a> (DType s)</td></tr>
<tr class="memdesc:a97259deba3e7b8b1876e1c032f62bd08 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload <a href="classmshadow_1_1expr_1_1RValueExp.html#a97259deba3e7b8b1876e1c032f62bd08">More...</a><br /></td></tr>
<tr class="separator:a97259deba3e7b8b1876e1c032f62bd08 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77989f0785ef5c2155af97b1387bf74d inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplParams" colspan="2">template&lt;typename E , int etype&gt; </td></tr>
<tr class="memitem:a77989f0785ef5c2155af97b1387bf74d inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a77989f0785ef5c2155af97b1387bf74d">__assign</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; E, DType, etype &gt; &amp;exp)</td></tr>
<tr class="memdesc:a77989f0785ef5c2155af97b1387bf74d inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">we can not define container = container <a href="classmshadow_1_1expr_1_1RValueExp.html#a77989f0785ef5c2155af97b1387bf74d">More...</a><br /></td></tr>
<tr class="separator:a77989f0785ef5c2155af97b1387bf74d inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2298529deb71298e6a6a408150772012 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a2298529deb71298e6a6a408150772012">__assign</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; Container, DType, <a class="el" href="namespacemshadow_1_1expr_1_1type.html#a087b8526cc89b1ecf343d0ba363c4bc6">type::kRValue</a> &gt; &amp;exp)</td></tr>
<tr class="memdesc:a2298529deb71298e6a6a408150772012 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator overload, assign <a href="classmshadow_1_1expr_1_1RValueExp.html#a2298529deb71298e6a6a408150772012">More...</a><br /></td></tr>
<tr class="separator:a2298529deb71298e6a6a408150772012 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90fd315110a1411242d01910a62606b0 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplParams" colspan="2">template&lt;typename E , int etype&gt; </td></tr>
<tr class="memitem:a90fd315110a1411242d01910a62606b0 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a90fd315110a1411242d01910a62606b0">operator+=</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; E, DType, etype &gt; &amp;exp)</td></tr>
<tr class="memdesc:a90fd315110a1411242d01910a62606b0 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">implementation of operator+= <a href="classmshadow_1_1expr_1_1RValueExp.html#a90fd315110a1411242d01910a62606b0">More...</a><br /></td></tr>
<tr class="separator:a90fd315110a1411242d01910a62606b0 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af17249e9767315e4354b47a6f8d32863 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplParams" colspan="2">template&lt;typename E , int etype&gt; </td></tr>
<tr class="memitem:af17249e9767315e4354b47a6f8d32863 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#af17249e9767315e4354b47a6f8d32863">operator-=</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; E, DType, etype &gt; &amp;exp)</td></tr>
<tr class="memdesc:af17249e9767315e4354b47a6f8d32863 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">implementation of operator-= <a href="classmshadow_1_1expr_1_1RValueExp.html#af17249e9767315e4354b47a6f8d32863">More...</a><br /></td></tr>
<tr class="separator:af17249e9767315e4354b47a6f8d32863 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00168acddb335d598037453e72442f35 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplParams" colspan="2">template&lt;typename E , int etype&gt; </td></tr>
<tr class="memitem:a00168acddb335d598037453e72442f35 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#a00168acddb335d598037453e72442f35">operator*=</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; E, DType, etype &gt; &amp;exp)</td></tr>
<tr class="memdesc:a00168acddb335d598037453e72442f35 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">implementation of operator*= <a href="classmshadow_1_1expr_1_1RValueExp.html#a00168acddb335d598037453e72442f35">More...</a><br /></td></tr>
<tr class="separator:a00168acddb335d598037453e72442f35 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe11ee1a68265237fc9b64aee7df0ff4 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplParams" colspan="2">template&lt;typename E , int etype&gt; </td></tr>
<tr class="memitem:abe11ee1a68265237fc9b64aee7df0ff4 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memTemplItemLeft" align="right" valign="top">Container &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmshadow_1_1expr_1_1RValueExp.html#abe11ee1a68265237fc9b64aee7df0ff4">operator/=</a> (const <a class="el" href="structmshadow_1_1expr_1_1Exp.html">Exp</a>&lt; E, DType, etype &gt; &amp;exp)</td></tr>
<tr class="memdesc:abe11ee1a68265237fc9b64aee7df0ff4 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="mdescLeft">&#160;</td><td class="mdescRight">implementation of operator/= <a href="classmshadow_1_1expr_1_1RValueExp.html#abe11ee1a68265237fc9b64aee7df0ff4">More...</a><br /></td></tr>
<tr class="separator:abe11ee1a68265237fc9b64aee7df0ff4 inherit pub_methods_classmshadow_1_1expr_1_1RValueExp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structmshadow_1_1expr_1_1Exp"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structmshadow_1_1expr_1_1Exp')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structmshadow_1_1expr_1_1Exp.html">mshadow::expr::Exp&lt; Container, DType, type::kRValue &gt;</a></td></tr>
<tr class="memitem:adb7e4afd0baed78d66cff87de0a6621f inherit pub_methods_structmshadow_1_1expr_1_1Exp"><td class="memItemLeft" align="right" valign="top">const Container &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmshadow_1_1expr_1_1Exp.html#adb7e4afd0baed78d66cff87de0a6621f">self</a> (void) const</td></tr>
<tr class="separator:adb7e4afd0baed78d66cff87de0a6621f inherit pub_methods_structmshadow_1_1expr_1_1Exp"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f23b53ba2fc3c2b594cf2ddfba5b22 inherit pub_methods_structmshadow_1_1expr_1_1Exp"><td class="memItemLeft" align="right" valign="top">Container *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmshadow_1_1expr_1_1Exp.html#ad6f23b53ba2fc3c2b594cf2ddfba5b22">ptrself</a> (void)</td></tr>
<tr class="separator:ad6f23b53ba2fc3c2b594cf2ddfba5b22 inherit pub_methods_structmshadow_1_1expr_1_1Exp"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Container, typename Device, int dimension, typename DType&gt;<br />
struct mshadow::TRValue&lt; Container, Device, dimension, DType &gt;</h3>
<p><a class="el" href="structmshadow_1_1Tensor.html" title="general tensor">Tensor</a> RValue, this is the super type of all kinds of possible tensors. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Container</td><td>the tensor type </td></tr>
<tr><td class="paramname">Device</td><td>which device the tensor is on </td></tr>
<tr><td class="paramname">dimension</td><td>dimension of the tensor </td></tr>
<tr><td class="paramname">DType</td><td>the type of elements in the tensor </td></tr>
</table>
</dd>
</dl>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/work/mxnet/3rdparty/mshadow/mshadow/<a class="el" href="tensor_8h_source.html">tensor.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 5 2023 03:47:41 for mxnet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>