| <!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/c_api_test.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> |
| <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="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="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef MXNET_C_API_TEST_H_</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define MXNET_C_API_TEST_H_</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif // __cplusplus</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="include_2mxnet_2c__api_8h.html">mxnet/c_api.h</a>></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a6bc6a3c7b5a7dea6acd93a98d3d293d2">MXBuildSubgraphByOpNames</a>(<a class="code" href="include_2mxnet_2c__api_8h.html#a301e9a7722b326126defdd39ccd99b37">SymbolHandle</a> sym_handle,</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name,</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">const</span> uint32_t num_ops,</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** op_names,</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="include_2mxnet_2c__api_8h.html#a301e9a7722b326126defdd39ccd99b37">SymbolHandle</a>* ret_sym_handle);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a46bef4e497c000f66704316b6a01eeba">MXSetSubgraphPropertyOpNames</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> uint32_t num_ops,</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** op_names);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a4d4fb64e7ea28aebf00dce4853e638e2">MXSetSubgraphPropertyOpNamesV2</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">const</span> uint32_t num_ops,</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** op_names);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <a class="code" href="include_2mxnet_2c__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="l00074"></a><span class="lineno"> 74</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a821637da6f223d99f7cac2daf85d1d33">MXRemoveSubgraphPropertyOpNamesV2</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* prop_name);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a692d1c71002b3b5f4ca010de0b94ddf2">MXGetEnv</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** value);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <a class="code" href="include_2mxnet_2c__api_8h.html#a5b0e47dde55f9b2f58b99fab92d1e0ac">MXNET_DLL</a> <span class="keywordtype">int</span> <a class="code" href="c__api__test_8h.html#a915070155212e60ce9f00ef896463c0d">MXSetEnv</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* value);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif // __cplusplus</span></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="preprocessor">#endif // MXNET_C_API_TEST_H_</span></div><div class="ttc" id="include_2mxnet_2c__api_8h_html_a301e9a7722b326126defdd39ccd99b37"><div class="ttname"><a href="include_2mxnet_2c__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:74</div></div> |
| <div class="ttc" id="include_2mxnet_2c__api_8h_html"><div class="ttname"><a href="include_2mxnet_2c__api_8h.html">c_api.h</a></div></div> |
| <div class="ttc" id="c__api__test_8h_html_a821637da6f223d99f7cac2daf85d1d33"><div class="ttname"><a href="c__api__test_8h.html#a821637da6f223d99f7cac2daf85d1d33">MXRemoveSubgraphPropertyOpNamesV2</a></div><div class="ttdeci">MXNET_DLL int MXRemoveSubgraphPropertyOpNamesV2(const char *prop_name)</div><div class="ttdoc">Given a subgraph property name, remove op_names attribute of the in the SubgraphBackend property...</div></div> |
| <div class="ttc" id="c__api__test_8h_html_a46bef4e497c000f66704316b6a01eeba"><div class="ttname"><a href="c__api__test_8h.html#a46bef4e497c000f66704316b6a01eeba">MXSetSubgraphPropertyOpNames</a></div><div class="ttdeci">MXNET_DLL int MXSetSubgraphPropertyOpNames(const char *prop_name, const uint32_t 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__test_8h_html_a4d4fb64e7ea28aebf00dce4853e638e2"><div class="ttname"><a href="c__api__test_8h.html#a4d4fb64e7ea28aebf00dce4853e638e2">MXSetSubgraphPropertyOpNamesV2</a></div><div class="ttdeci">MXNET_DLL int MXSetSubgraphPropertyOpNamesV2(const char *prop_name, const uint32_t 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__test_8h_html_a692d1c71002b3b5f4ca010de0b94ddf2"><div class="ttname"><a href="c__api__test_8h.html#a692d1c71002b3b5f4ca010de0b94ddf2">MXGetEnv</a></div><div class="ttdeci">MXNET_DLL int MXGetEnv(const char *name, const char **value)</div><div class="ttdoc">Get the value of an environment variable as seen by the backend. </div></div> |
| <div class="ttc" id="include_2mxnet_2c__api_8h_html_a5b0e47dde55f9b2f58b99fab92d1e0ac"><div class="ttname"><a href="include_2mxnet_2c__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:53</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 class="ttc" id="c__api__test_8h_html_a915070155212e60ce9f00ef896463c0d"><div class="ttname"><a href="c__api__test_8h.html#a915070155212e60ce9f00ef896463c0d">MXSetEnv</a></div><div class="ttdeci">MXNET_DLL int MXSetEnv(const char *name, const char *value)</div><div class="ttdoc">Set the value of an environment variable from the backend. </div></div> |
| <div class="ttc" id="c__api__test_8h_html_a6bc6a3c7b5a7dea6acd93a98d3d293d2"><div class="ttname"><a href="c__api__test_8h.html#a6bc6a3c7b5a7dea6acd93a98d3d293d2">MXBuildSubgraphByOpNames</a></div><div class="ttdeci">MXNET_DLL int MXBuildSubgraphByOpNames(SymbolHandle sym_handle, const char *prop_name, const uint32_t num_ops, const char **op_names, SymbolHandle *ret_sym_handle)</div><div class="ttdoc">Inhibit C++ name-mangling for MXNet functions. </div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Wed Jun 8 2022 23:30:29 for mxnet by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.13 |
| </small></address> |
| </body> |
| </html> |