| <!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 content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/> |
| <meta content="IE=9" http-equiv="X-UA-Compatible"/> |
| <meta content="Doxygen 1.8.11" name="generator"/> |
| <title>mxnet: include/mxnet/c_api_test.h Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script src="jquery.js" type="text/javascript"></script> |
| <script src="dynsections.js" type="text/javascript"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script src="search/searchdata.js" type="text/javascript"></script> |
| <script src="search/search.js" type="text/javascript"></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 cellpadding="0" cellspacing="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 class="tabs" id="navrow1"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</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 class="MSearchBoxInactive" id="MSearchBox"> |
| <span class="left"> |
| <img alt="" id="MSearchSelect" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()" src="search/mag_sel.png"/> |
| <input accesskey="S" id="MSearchField" onblur="searchBox.OnSearchFieldFocus(false)" onfocus="searchBox.OnSearchFieldFocus(true)" onkeyup="searchBox.OnSearchFieldChange(event)" type="text" value="Search"/> |
| </span><span class="right"> |
| <a href="javascript:searchBox.CloseResultsWindow()" id="MSearchClose"><img alt="" border="0" id="MSearchCloseImg" src="search/close.png"/></a> |
| </span> |
| </div> |
| </li> |
| </ul> |
| </div> |
| <div class="tabs2" id="navrow2"> |
| <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" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()"> |
| </div> |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)"> |
| </iframe> |
| </div> |
| <div class="navpath" id="nav-path"> |
| <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="headertitle"> |
| <div class="title">c_api_test.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="c__api__test_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> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * software distributed under the License is distributed on an</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * under the License.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#ifndef MXNET_C_API_TEST_H_</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#define MXNET_C_API_TEST_H_</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif // __cplusplus</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="c__api_8h.html">mxnet/c_api.h</a>></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <a class="code" href="c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#ae7f8d433fef54060af1c4ffd57fe0427">MXPartitionGraphByOpNames</a>(<a class="code" href="c__api_8h.html#a301e9a7722b326126defdd39ccd99b37">SymbolHandle</a> sym_handle,</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name,</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">const</span> <a class="code" href="c__api_8h.html#a796e7ef8260ef40b24af7d1082aa2d84">mx_uint</a> num_ops,</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">const</span> <span class="keywordtype">char</span>** op_names,</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <a class="code" href="c__api_8h.html#a301e9a7722b326126defdd39ccd99b37">SymbolHandle</a>* ret_sym_handle);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <a class="code" href="c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#abd1c8c72b4ff85820e8671aa49868b73">MXSetSubgraphPropertyOpNames</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name,</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">const</span> <a class="code" href="c__api_8h.html#a796e7ef8260ef40b24af7d1082aa2d84">mx_uint</a> num_ops,</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">const</span> <span class="keywordtype">char</span>** op_names);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <a class="code" href="c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a89b596297dc67b1a922afdac0aa48f35">MXRemoveSubgraphPropertyOpNames</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#endif // __cplusplus</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#endif // MXNET_C_API_TEST_H_</span></div><div class="ttc" id="c__api_8h_html"><div class="ttname"><a href="c__api_8h.html">c_api.h</a></div><div class="ttdoc">C API of mxnet. </div></div> |
| <div class="ttc" id="c__api_8h_html_a301e9a7722b326126defdd39ccd99b37"><div class="ttname"><a href="c__api_8h.html#a301e9a7722b326126defdd39ccd99b37">SymbolHandle</a></div><div class="ttdeci">void * SymbolHandle</div><div class="ttdoc">handle to a symbol that can be bind as operator </div><div class="ttdef"><b>Definition:</b> c_api.h:75</div></div> |
| <div class="ttc" id="c__api__test_8h_html_abd1c8c72b4ff85820e8671aa49868b73"><div class="ttname"><a href="c__api__test_8h.html#abd1c8c72b4ff85820e8671aa49868b73">MXSetSubgraphPropertyOpNames</a></div><div class="ttdeci">MXNET_DLL int MXSetSubgraphPropertyOpNames(const char *prop_name, const mx_uint num_ops, const char **op_names)</div><div class="ttdoc">Given a subgraph property name, use the provided op names as the op_names attribute for that subgraph...</div></div> |
| <div class="ttc" id="c__api_8h_html_a796e7ef8260ef40b24af7d1082aa2d84"><div class="ttname"><a href="c__api_8h.html#a796e7ef8260ef40b24af7d1082aa2d84">mx_uint</a></div><div class="ttdeci">unsigned int mx_uint</div><div class="ttdoc">manually define unsigned int </div><div class="ttdef"><b>Definition:</b> c_api.h:58</div></div> |
| <div class="ttc" id="c__api_8h_html_a5b0e47dde55f9b2f58b99fab92d1e0ac"><div class="ttname"><a href="c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a></div><div class="ttdeci">#define MXNET_DLL</div><div class="ttdoc">MXNET_DLL prefix for windows. </div><div class="ttdef"><b>Definition:</b> c_api.h:54</div></div> |
| <div class="ttc" id="c__api__test_8h_html_ae7f8d433fef54060af1c4ffd57fe0427"><div class="ttname"><a href="c__api__test_8h.html#ae7f8d433fef54060af1c4ffd57fe0427">MXPartitionGraphByOpNames</a></div><div class="ttdeci">MXNET_DLL int MXPartitionGraphByOpNames(SymbolHandle sym_handle, const char *prop_name, const mx_uint num_ops, const char **op_names, SymbolHandle *ret_sym_handle)</div><div class="ttdoc">Inhibit C++ name-mangling for MXNet functions. </div></div> |
| <div class="ttc" id="c__api__test_8h_html_a89b596297dc67b1a922afdac0aa48f35"><div class="ttname"><a href="c__api__test_8h.html#a89b596297dc67b1a922afdac0aa48f35">MXRemoveSubgraphPropertyOpNames</a></div><div class="ttdeci">MXNET_DLL int MXRemoveSubgraphPropertyOpNames(const char *prop_name)</div><div class="ttdoc">Given a subgraph property name, delete the op name set in the SubgraphPropertyOpNameSet. </div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Thu Sep 19 2019 12:37:33 for mxnet by <a href="http://www.doxygen.org/index.html"> |
| <img alt="doxygen" class="footer" src="doxygen.png"/> |
| </a> 1.8.11 |
| </small></address> |
| </body> |
| </html> |