| <!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/mshadow/mshadow/extension/flip.h Source File</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 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 List</span></a></li> |
| <li><a href="globals.html"><span>File 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_3e48ced36faa4eaa1b41f6d960bf0edb.html">mshadow</a></li><li class="navelem"><a class="el" href="dir_00b035bb2ad81894e6ad291054ea5f82.html">mshadow</a></li><li class="navelem"><a class="el" href="dir_9bd2a322a448ef0abedd860cb1ca3721.html">extension</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">flip.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="flip_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#ifndef MSHADOW_EXTENSION_FLIP_H_</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#define MSHADOW_EXTENSION_FLIP_H_</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "../extension.h"</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span><a class="code" href="namespacemshadow.html">mshadow</a> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">namespace </span>expr {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html"> 23</a></span> <span class="keyword">struct </span><a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a> : <span class="keyword">public</span> <a class="code" href="structmshadow_1_1TRValue.html">TRValue</a><FlipExp<SrcExp,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  Device, DType,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  srcdim>,</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  Device, srcdim, DType> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a"> 27</a></span>  <span class="keyword">const</span> SrcExp &<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3"> 28</a></span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6"> 29</a></span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1"> 30</a></span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#a05f62ecb4429e44f636f67d1b008898d"> 31</a></span>  <a class="code" href="structmshadow_1_1Shape.html">Shape<srcdim></a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a05f62ecb4429e44f636f67d1b008898d">shape_</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#ada1284755fcb51023cee49bb3225ae17"> 32</a></span>  <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ada1284755fcb51023cee49bb3225ae17">FlipExp</a>(<span class="keyword">const</span> SrcExp &src, <span class="keywordtype">int</span> dim)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : src_(src) {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  shape_ = <a class="code" href="structmshadow_1_1expr_1_1ShapeCheck.html#af44e6a3b97cf3b245bc1b7ad4cacb306">ShapeCheck<srcdim, SrcExp>::Check</a>(src_);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  stride_ = shape_[dim];</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  stride_j_ = shape_[srcdim-1];</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  trailing_ = 1;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = dim + 1; i < srcdim; ++i) {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  trailing_ *= shape_[i];</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">template</span><<span class="keyword">typename</span> E, <span class="keywordtype">int</span> etype></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#a1ccb67dfd79d363fefa164fd5ffe87e6"> 44</a></span>  <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a1ccb67dfd79d363fefa164fd5ffe87e6">operator=</a>(<span class="keyword">const</span> <a class="code" href="structmshadow_1_1expr_1_1Exp.html">expr::Exp<E, DType, etype></a> &exp) {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  this-><a class="code" href="classmshadow_1_1expr_1_1RValueExp.html#a97259deba3e7b8b1876e1c032f62bd08">__assign</a>(exp);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  }</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1FlipExp.html#ade913f3da8a1b3dfe2567b705b96d73b"> 48</a></span>  <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ade913f3da8a1b3dfe2567b705b96d73b">operator=</a>(<span class="keyword">const</span> DType &exp) {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  this-><a class="code" href="classmshadow_1_1expr_1_1RValueExp.html#a97259deba3e7b8b1876e1c032f62bd08">__assign</a>(exp);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }; <span class="comment">// struct Flip</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">inline</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp<SrcExp, Device, DType, srcdim></a></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="namespacemshadow_1_1expr.html#a56b33c0b1d19921f72bf9abeee4898f2"> 67</a></span> <a class="code" href="namespacemshadow_1_1expr.html#a56b33c0b1d19921f72bf9abeee4898f2">flip</a>(<span class="keyword">const</span> <a class="code" href="structmshadow_1_1TRValue.html">TRValue<SrcExp, Device, srcdim, DType></a> &src, <span class="keywordtype">int</span> dim) {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp<SrcExp, Device, DType, srcdim></a>(src.<a class="code" href="structmshadow_1_1expr_1_1Exp.html#a99e5454eca73df87ecf8b66d3b3470f5">self</a>(), dim);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">//------------------------</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment">// engine plugin</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">//------------------------</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">// runtime shapecheck</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1ShapeCheck_3_01srcdim_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html"> 76</a></span> <span class="keyword">struct </span><a class="code" href="structmshadow_1_1expr_1_1ShapeCheck.html">ShapeCheck</a><srcdim, <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a><SrcExp, Device, DType, srcdim> >{</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1ShapeCheck_3_01srcdim_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#ac0515a7d64bbc95a4fa11fd9d09b1664"> 77</a></span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="structmshadow_1_1Shape.html">Shape<srcdim></a> <a class="code" href="structmshadow_1_1expr_1_1ShapeCheck_3_01srcdim_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#ac0515a7d64bbc95a4fa11fd9d09b1664">Check</a>(<span class="keyword">const</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a><SrcExp,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  Device, DType, srcdim> &t) {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> t.<a class="code" href="structmshadow_1_1Shape.html#a398d94165ccfbaf1ba0e8fcbedfe48c6">shape_</a>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> };</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1StreamInfo_3_01Device_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html"> 84</a></span> <span class="keyword">struct </span><a class="code" href="structmshadow_1_1expr_1_1StreamInfo.html">StreamInfo</a><Device, <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a><SrcExp, Device, DType, srcdim> >{</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="structmshadow_1_1Stream.html">Stream<Device></a> *</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1StreamInfo_3_01Device_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#a5c404aa9997cf1a92861bd31d33d8f63"> 86</a></span>  <a class="code" href="structmshadow_1_1expr_1_1StreamInfo_3_01Device_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#a5c404aa9997cf1a92861bd31d33d8f63">Get</a>(<span class="keyword">const</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp<SrcExp, Device, DType, srcdim></a> &t) {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> <a class="code" href="structmshadow_1_1expr_1_1StreamInfo.html#a36eb8a0cbef3ac2b9669e185eb292128">StreamInfo<Device, SrcExp>::Get</a>(t.<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> };</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// static typecheck</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1ExpInfo_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html"> 93</a></span> <span class="keyword">struct </span><a class="code" href="structmshadow_1_1expr_1_1ExpInfo.html">ExpInfo</a><<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a><SrcExp, Device, DType, srcdim> >{</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1ExpInfo_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#aa770509ce8bd76d6b1280b0e34fac0e3"> 94</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> kDim = <a class="code" href="structmshadow_1_1expr_1_1ExpInfo.html">ExpInfo<SrcExp>::kDim</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1ExpInfo_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#aea636b2769d3a6293d56050f23d3479f"> 95</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> kDevMask = <a class="code" href="structmshadow_1_1expr_1_1ExpInfo.html">ExpInfo<SrcExp>::kDevMask</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> };</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">//----------------------</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">// Execution plan</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">//---------------------</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">template</span><<span class="keyword">typename</span> SrcExp, <span class="keyword">typename</span> Device,</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">typename</span> DType, <span class="keywordtype">int</span> srcdim></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html"> 102</a></span> <span class="keyword">struct </span><a class="code" href="classmshadow_1_1expr_1_1Plan.html">Plan</a><<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp</a><SrcExp, Device, DType, srcdim>, DType> {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#aa2f296ee51b354f4a057d0319e1d3e10"> 104</a></span>  <span class="keyword">explicit</span> <a class="code" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#aa2f296ee51b354f4a057d0319e1d3e10">Plan</a>(<span class="keyword">const</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html">FlipExp<SrcExp, Device, DType, srcdim></a> &e)</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  : <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>(<a class="code" href="namespacemshadow_1_1expr.html#aefd008a0bf012dc8fb99d9bbcca7a078">MakePlan</a>(e.<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>)), <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>(e.<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>),</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>(e.<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>), <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>(e.<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>) {}</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a4369c7ecf06ffb225cb6ab53bf8d5ed1"> 107</a></span>  <a class="code" href="3rdparty_2mshadow_2mshadow_2base_8h.html#af205b8ab4d8733133d590df7d2639d69">MSHADOW_XINLINE</a> DType <a class="code" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a4369c7ecf06ffb225cb6ab53bf8d5ed1">Eval</a>(<a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> i, <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> j)<span class="keyword"> const </span>{</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> idx = i*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>+j;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> low = idx%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> high = idx/<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">const</span> <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> x = high%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  high /= <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  idx = (high*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>+<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>-1-x)*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>+low;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>.Eval(idx/<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>, idx%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a8dc78cd1dec7a3a0bfb17ccb5bee2e36"> 116</a></span>  <a class="code" href="3rdparty_2mshadow_2mshadow_2base_8h.html#af205b8ab4d8733133d590df7d2639d69">MSHADOW_XINLINE</a> DType &<a class="code" href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a8dc78cd1dec7a3a0bfb17ccb5bee2e36">REval</a>(<a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> i, <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> j)<span class="keyword"> const </span>{</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> idx = i*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>+j;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">const</span> <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> low = idx%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> high = idx/<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">const</span> <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> x = high%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  high /= <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  idx = (high*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>+<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>-1-x)*<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>+low;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>.REval(idx/<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>, idx%<a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="classmshadow_1_1expr_1_1Plan.html">Plan<SrcExp, DType></a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">src_</a>;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">const</span> <a class="code" href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">index_t</a> <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">stride_j_</a>, <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">trailing_</a>, <a class="code" href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">stride_</a>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> }; <span class="comment">// struct Plan</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> } <span class="comment">// namespace expr</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> } <span class="comment">// namespace mshadow</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor">#endif // MSHADOW_EXTENSION_FLIP_H_</span></div><div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_a47773a1742502387372c958b522a21c6"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#a47773a1742502387372c958b522a21c6">mshadow::expr::FlipExp::stride_</a></div><div class="ttdeci">index_t stride_</div><div class="ttdef"><b>Definition:</b> flip.h:29</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4_html_a8dc78cd1dec7a3a0bfb17ccb5bee2e36"><div class="ttname"><a href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a8dc78cd1dec7a3a0bfb17ccb5bee2e36">mshadow::expr::Plan< FlipExp< SrcExp, Device, DType, srcdim >, DType >::REval</a></div><div class="ttdeci">MSHADOW_XINLINE DType & REval(index_t i, index_t j) const </div><div class="ttdef"><b>Definition:</b> flip.h:116</div></div> |
| <div class="ttc" id="structmshadow_1_1TRValue_html"><div class="ttname"><a href="structmshadow_1_1TRValue.html">mshadow::TRValue</a></div><div class="ttdoc">Tensor RValue, this is the super type of all kinds of possible tensors. </div><div class="ttdef"><b>Definition:</b> tensor.h:391</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_ae3d6e23ddc5e0268e9ffaceeb03446a3"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#ae3d6e23ddc5e0268e9ffaceeb03446a3">mshadow::expr::FlipExp::trailing_</a></div><div class="ttdeci">index_t trailing_</div><div class="ttdef"><b>Definition:</b> flip.h:28</div></div> |
| <div class="ttc" id="classmshadow_1_1expr_1_1Plan_html"><div class="ttname"><a href="classmshadow_1_1expr_1_1Plan.html">mshadow::expr::Plan</a></div><div class="ttdef"><b>Definition:</b> expr_engine-inl.h:40</div></div> |
| <div class="ttc" id="structmshadow_1_1Shape_html"><div class="ttname"><a href="structmshadow_1_1Shape.html">mshadow::Shape< srcdim ></a></div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1StreamInfo_3_01Device_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4_html_a5c404aa9997cf1a92861bd31d33d8f63"><div class="ttname"><a href="structmshadow_1_1expr_1_1StreamInfo_3_01Device_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#a5c404aa9997cf1a92861bd31d33d8f63">mshadow::expr::StreamInfo< Device, FlipExp< SrcExp, Device, DType, srcdim > >::Get</a></div><div class="ttdeci">static Stream< Device > * Get(const FlipExp< SrcExp, Device, DType, srcdim > &t)</div><div class="ttdef"><b>Definition:</b> flip.h:86</div></div> |
| <div class="ttc" id="namespacemshadow_1_1expr_html_a56b33c0b1d19921f72bf9abeee4898f2"><div class="ttname"><a href="namespacemshadow_1_1expr.html#a56b33c0b1d19921f72bf9abeee4898f2">mshadow::expr::flip</a></div><div class="ttdeci">FlipExp< SrcExp, Device, DType, srcdim > flip(const TRValue< SrcExp, Device, srcdim, DType > &src, int dim)</div><div class="ttdoc">Flip a Tensor. </div><div class="ttdef"><b>Definition:</b> flip.h:67</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1ShapeCheck_html_af44e6a3b97cf3b245bc1b7ad4cacb306"><div class="ttname"><a href="structmshadow_1_1expr_1_1ShapeCheck.html#af44e6a3b97cf3b245bc1b7ad4cacb306">mshadow::expr::ShapeCheck::Check</a></div><div class="ttdeci">static Shape< dim > Check(const E &t)</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_ada1284755fcb51023cee49bb3225ae17"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#ada1284755fcb51023cee49bb3225ae17">mshadow::expr::FlipExp::FlipExp</a></div><div class="ttdeci">FlipExp(const SrcExp &src, int dim)</div><div class="ttdef"><b>Definition:</b> flip.h:32</div></div> |
| <div class="ttc" id="3rdparty_2mshadow_2mshadow_2base_8h_html_af205b8ab4d8733133d590df7d2639d69"><div class="ttname"><a href="3rdparty_2mshadow_2mshadow_2base_8h.html#af205b8ab4d8733133d590df7d2639d69">MSHADOW_XINLINE</a></div><div class="ttdeci">#define MSHADOW_XINLINE</div><div class="ttdef"><b>Definition:</b> base.h:204</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1ExpInfo_html"><div class="ttname"><a href="structmshadow_1_1expr_1_1ExpInfo.html">mshadow::expr::ExpInfo</a></div><div class="ttdoc">static type inference template, used to get the dimension of each expression, if ExpInfo<E>::kDim == ...</div><div class="ttdef"><b>Definition:</b> expr_engine-inl.h:244</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1StreamInfo_html"><div class="ttname"><a href="structmshadow_1_1expr_1_1StreamInfo.html">mshadow::expr::StreamInfo</a></div><div class="ttdef"><b>Definition:</b> expr_engine-inl.h:327</div></div> |
| <div class="ttc" id="namespacemshadow_html_adcbc2e1131386fccb1474b0bdf045926"><div class="ttname"><a href="namespacemshadow.html#adcbc2e1131386fccb1474b0bdf045926">mshadow::index_t</a></div><div class="ttdeci">int32_t index_t</div><div class="ttdoc">type that will be used for index </div><div class="ttdef"><b>Definition:</b> base.h:291</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4_html_a4369c7ecf06ffb225cb6ab53bf8d5ed1"><div class="ttname"><a href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#a4369c7ecf06ffb225cb6ab53bf8d5ed1">mshadow::expr::Plan< FlipExp< SrcExp, Device, DType, srcdim >, DType >::Eval</a></div><div class="ttdeci">MSHADOW_XINLINE DType Eval(index_t i, index_t j) const </div><div class="ttdef"><b>Definition:</b> flip.h:107</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_a7525a6b6e3969385e6e1447dd268cb6a"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#a7525a6b6e3969385e6e1447dd268cb6a">mshadow::expr::FlipExp::src_</a></div><div class="ttdeci">const SrcExp & src_</div><div class="ttdef"><b>Definition:</b> flip.h:27</div></div> |
| <div class="ttc" id="structmshadow_1_1Shape_html_a398d94165ccfbaf1ba0e8fcbedfe48c6"><div class="ttname"><a href="structmshadow_1_1Shape.html#a398d94165ccfbaf1ba0e8fcbedfe48c6">mshadow::Shape::shape_</a></div><div class="ttdeci">index_t shape_[kDimension]</div><div class="ttdoc">storing the dimension information </div><div class="ttdef"><b>Definition:</b> tensor.h:57</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1ShapeCheck_html"><div class="ttname"><a href="structmshadow_1_1expr_1_1ShapeCheck.html">mshadow::expr::ShapeCheck</a></div><div class="ttdoc">runtime shape checking template get the shape of an expression, report error if shape mismatch ...</div><div class="ttdef"><b>Definition:</b> expr_engine-inl.h:346</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_a1ccb67dfd79d363fefa164fd5ffe87e6"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#a1ccb67dfd79d363fefa164fd5ffe87e6">mshadow::expr::FlipExp::operator=</a></div><div class="ttdeci">void operator=(const expr::Exp< E, DType, etype > &exp)</div><div class="ttdef"><b>Definition:</b> flip.h:44</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1StreamInfo_html_a36eb8a0cbef3ac2b9669e185eb292128"><div class="ttname"><a href="structmshadow_1_1expr_1_1StreamInfo.html#a36eb8a0cbef3ac2b9669e185eb292128">mshadow::expr::StreamInfo::Get</a></div><div class="ttdeci">static Stream< Device > * Get(const E &t)</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4_html_aa2f296ee51b354f4a057d0319e1d3e10"><div class="ttname"><a href="structmshadow_1_1expr_1_1Plan_3_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_00_01DType_01_4.html#aa2f296ee51b354f4a057d0319e1d3e10">mshadow::expr::Plan< FlipExp< SrcExp, Device, DType, srcdim >, DType >::Plan</a></div><div class="ttdeci">Plan(const FlipExp< SrcExp, Device, DType, srcdim > &e)</div><div class="ttdef"><b>Definition:</b> flip.h:104</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_ade913f3da8a1b3dfe2567b705b96d73b"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#ade913f3da8a1b3dfe2567b705b96d73b">mshadow::expr::FlipExp::operator=</a></div><div class="ttdeci">void operator=(const DType &exp)</div><div class="ttdef"><b>Definition:</b> flip.h:48</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1Exp_html"><div class="ttname"><a href="structmshadow_1_1expr_1_1Exp.html">mshadow::expr::Exp</a></div><div class="ttdoc">defines how expression exp can be evaluated and stored into dst </div><div class="ttdef"><b>Definition:</b> expression.h:61</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1Exp_html_a99e5454eca73df87ecf8b66d3b3470f5"><div class="ttname"><a href="structmshadow_1_1expr_1_1Exp.html#a99e5454eca73df87ecf8b66d3b3470f5">mshadow::expr::Exp< Container, DType, type::kRValue >::self</a></div><div class="ttdeci">const Container & self(void) const</div><div class="ttdef"><b>Definition:</b> expression.h:64</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html">mshadow::expr::FlipExp</a></div><div class="ttdoc">slice expression, slice a tensor&#39;s channel </div><div class="ttdef"><b>Definition:</b> flip.h:23</div></div> |
| <div class="ttc" id="namespacemshadow_1_1expr_html_aefd008a0bf012dc8fb99d9bbcca7a078"><div class="ttname"><a href="namespacemshadow_1_1expr.html#aefd008a0bf012dc8fb99d9bbcca7a078">mshadow::expr::MakePlan</a></div><div class="ttdeci">Plan< BinaryMapExp< OP, TA, TB, DType, etype >, DType > MakePlan(const BinaryMapExp< OP, TA, TB, DType, etype > &e)</div><div class="ttdef"><b>Definition:</b> expr_engine-inl.h:221</div></div> |
| <div class="ttc" id="namespacemshadow_html"><div class="ttname"><a href="namespacemshadow.html">mshadow</a></div><div class="ttdoc">namespace for mshadow </div><div class="ttdef"><b>Definition:</b> base.h:282</div></div> |
| <div class="ttc" id="classmshadow_1_1expr_1_1RValueExp_html_a97259deba3e7b8b1876e1c032f62bd08"><div class="ttname"><a href="classmshadow_1_1expr_1_1RValueExp.html#a97259deba3e7b8b1876e1c032f62bd08">mshadow::expr::RValueExp< FlipExp< SrcExp, Device, DType, srcdim >, DType >::__assign</a></div><div class="ttdeci">FlipExp< SrcExp, Device, DType, srcdim > & __assign(DType s)</div><div class="ttdoc">operator overload </div><div class="ttdef"><b>Definition:</b> expression.h:160</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_a05f62ecb4429e44f636f67d1b008898d"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#a05f62ecb4429e44f636f67d1b008898d">mshadow::expr::FlipExp::shape_</a></div><div class="ttdeci">Shape< srcdim > shape_</div><div class="ttdef"><b>Definition:</b> flip.h:31</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1ShapeCheck_3_01srcdim_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4_html_ac0515a7d64bbc95a4fa11fd9d09b1664"><div class="ttname"><a href="structmshadow_1_1expr_1_1ShapeCheck_3_01srcdim_00_01FlipExp_3_01SrcExp_00_01Device_00_01DType_00_01srcdim_01_4_01_4.html#ac0515a7d64bbc95a4fa11fd9d09b1664">mshadow::expr::ShapeCheck< srcdim, FlipExp< SrcExp, Device, DType, srcdim > >::Check</a></div><div class="ttdeci">static Shape< srcdim > Check(const FlipExp< SrcExp, Device, DType, srcdim > &t)</div><div class="ttdef"><b>Definition:</b> flip.h:77</div></div> |
| <div class="ttc" id="structmshadow_1_1expr_1_1FlipExp_html_acb4c9df1a4e7094498b238cc5f541ee1"><div class="ttname"><a href="structmshadow_1_1expr_1_1FlipExp.html#acb4c9df1a4e7094498b238cc5f541ee1">mshadow::expr::FlipExp::stride_j_</a></div><div class="ttdeci">index_t stride_j_</div><div class="ttdef"><b>Definition:</b> flip.h:30</div></div> |
| <div class="ttc" id="structmshadow_1_1Stream_html"><div class="ttname"><a href="structmshadow_1_1Stream.html">mshadow::Stream</a></div><div class="ttdoc">computaion stream structure, used for asynchronous computations </div><div class="ttdef"><b>Definition:</b> tensor.h:365</div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Sat Mar 28 2020 00:52:29 for mxnet by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.11 |
| </small></address> |
| </body> |
| </html> |