mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-14 18:12:05 +00:00
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: natke <natke@users.noreply.github.com>
1750 lines
507 KiB
HTML
1750 lines
507 KiB
HTML
<!-- HTML header for doxygen -->
|
|
<!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=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.6"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>OnnxRuntime: onnxruntime_cxx_api.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>
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156955408-1"></script><script type="text/javascript">"use strict"; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-156955408-1'); </script> <script type="text/javascript" src="/assets/js/vendor/lunr.min.js"></script> <script type="text/javascript" src="/assets/js/just-the-docs.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.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="projectlogo"><img alt="Logo" src="ONNX_Runtime_logo - Docs.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OnnxRuntime
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.6 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('onnxruntime__cxx__api_8h_source.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">onnxruntime_cxx_api.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Copyright (c) Microsoft Corporation. All rights reserved.</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// Licensed under the MIT License.</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Summary: The Ort C++ API is a header only wrapper around the Ort C API.</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// The C++ API simplifies usage by returning values directly instead of error codes, throwing exceptions on errors</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">// and automatically releasing resources in the destructors. The primary purpose of C++ API is exception safety so</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">// all the resources follow RAII and do not leak memory.</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// Each of the C++ wrapper classes holds only a pointer to the C internal object. Treat them like smart pointers.</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// To create an empty object, pass 'nullptr' to the constructor (for example, Env e{nullptr};). However, you can't use them</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// until you assign an instance that actually holds an underlying object.</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">// For Ort objects only move assignment between objects is allowed, there are no copy constructors.</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">// Some objects have explicit 'Clone' methods for this purpose.</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">// ConstXXXX types are copyable since they do not own the underlying C object, so you can pass them to functions as arguments</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// by value or by reference. ConstXXXX types are restricted to const only interfaces.</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">// UnownedXXXX are similar to ConstXXXX but also allow non-const interfaces.</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">// The lifetime of the corresponding owning object must eclipse the lifetimes of the ConstXXXX/UnownedXXXX types. They exists so you do not</span></div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment">// have to fallback to C types and the API with the usual pitfalls. In general, do not use C API from your C++ code.</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include "onnxruntime_c_api.h"</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <cstddef></span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <array></span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <memory></span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include <stdexcept></span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include <string></span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <vector></span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include <unordered_map></span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include <utility></span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include <type_traits></span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#ifdef ORT_NO_EXCEPTIONS</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#include <iostream></span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="namespace_ort.html"> 44</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_ort.html">Ort</a> {</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="struct_ort_1_1_exception.html"> 50</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_exception.html">Exception</a> : std::exception {</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="struct_ort_1_1_exception.html#afed85f6b183b268ba316a06e00fe313c"> 51</a></span> <a class="code hl_function" href="struct_ort_1_1_exception.html#afed85f6b183b268ba316a06e00fe313c">Exception</a>(std::string&& <span class="keywordtype">string</span>, <a class="code hl_enumeration" href="group___global.html#gabab5349c294603a9eac437fdafd40a3d">OrtErrorCode</a> code) : message_{std::move(string)}, code_{code} {}</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="struct_ort_1_1_exception.html#ae6f688af3ca6b3f34a2b8f730cc4432d"> 53</a></span> <a class="code hl_enumeration" href="group___global.html#gabab5349c294603a9eac437fdafd40a3d">OrtErrorCode</a> <a class="code hl_function" href="struct_ort_1_1_exception.html#ae6f688af3ca6b3f34a2b8f730cc4432d">GetOrtErrorCode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> code_; }</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="struct_ort_1_1_exception.html#a03570d5990b5a35c818e6cca3e7b26e7"> 54</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="struct_ort_1_1_exception.html#a03570d5990b5a35c818e6cca3e7b26e7">what</a>() const noexcept<span class="keyword"> override </span>{ <span class="keywordflow">return</span> message_.c_str(); }</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> std::string message_;</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_enumeration" href="group___global.html#gabab5349c294603a9eac437fdafd40a3d">OrtErrorCode</a> code_;</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span>};</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="preprocessor">#ifdef ORT_NO_EXCEPTIONS</span></div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment">// The #ifndef is for the very special case where the user of this library wants to define their own way of handling errors.</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="comment">// NOTE: This header expects control flow to not continue after calling ORT_CXX_API_THROW</span></div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#ifndef ORT_CXX_API_THROW</span></div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="preprocessor">#define ORT_CXX_API_THROW(string, code) \</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="preprocessor"> do { \</span></div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor"> std::cerr << Ort::Exception(string, code) \</span></div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor"> .what() \</span></div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor"> << std::endl; \</span></div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="preprocessor"> abort(); \</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="preprocessor"> } while (false)</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="preprocessor">#else</span></div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="preprocessor">#define ORT_CXX_API_THROW(string, code) \</span></div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="preprocessor"> throw Ort::Exception(string, code)</span></div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="comment">// This is used internally by the C++ API. This class holds the global variable that points to the OrtApi,</span></div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="comment">// it's in a template so that we can define a global variable in a header and make</span></div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="comment">// it transparent to the users of the API.</span></div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="struct_ort_1_1_global.html"> 82</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_global.html">Global</a> {</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872"> 83</a></span> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>* <a class="code hl_variable" href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872">api_</a>;</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span>};</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="comment">// If macro ORT_API_MANUAL_INIT is defined, no static initialization will be performed. Instead, user must call InitApi() before using it.</span></div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="preprocessor">#ifdef ORT_API_MANUAL_INIT</span></div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span><span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>* <a class="code hl_struct" href="struct_ort_1_1_global.html">Global<T>::api_</a>{};</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="keyword">inline</span> <span class="keywordtype">void</span> InitApi() { <a class="code hl_variable" href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872">Global<void>::api_</a> = <a class="code hl_function" href="group___global.html#gaff6ff297798b9337d4c0f89a35b76aa6">OrtGetApiBase</a>()-><a class="code hl_variable" href="struct_ort_api_base.html#ae031126e31871e4ad58ba1a647a2c9f9">GetApi</a>(<a class="code hl_define" href="group___global.html#gac583aeb4640621ceb588f6300537945d">ORT_API_VERSION</a>); }</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span><span class="comment">// Used by custom operator libraries that are not linked to onnxruntime. Sets the global API object, which is</span></div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="comment">// required by C++ APIs.</span></div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment">// Example mycustomop.cc:</span></div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="comment">// #define ORT_API_MANUAL_INIT</span></div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="comment">// #include <onnxruntime_cxx_api.h></span></div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="comment">// #undef ORT_API_MANUAL_INIT</span></div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span><span class="comment">// OrtStatus* ORT_API_CALL RegisterCustomOps(OrtSessionOptions* options, const OrtApiBase* api_base) {</span></div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="comment">// Ort::InitApi(api_base->GetApi(ORT_API_VERSION));</span></div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="comment">// // ...</span></div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="comment">// }</span></div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keyword">inline</span> <span class="keywordtype">void</span> InitApi(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>* api) { <a class="code hl_variable" href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872">Global<void>::api_</a> = api; }</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="preprocessor">#else</span></div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="preprocessor">#if defined(_MSC_VER) && !defined(__clang__)</span></div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="preprocessor">#pragma warning(push)</span></div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="comment">// "Global initializer calls a non-constexpr function." Therefore you can't use ORT APIs in the other global initializers.</span></div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="comment">// Please define ORT_API_MANUAL_INIT if it conerns you.</span></div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="preprocessor">#pragma warning(disable : 26426)</span></div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span><span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>* <a class="code hl_variable" href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872">Global<T>::api_</a> = <a class="code hl_function" href="group___global.html#gaff6ff297798b9337d4c0f89a35b76aa6">OrtGetApiBase</a>()-><a class="code hl_variable" href="struct_ort_api_base.html#ae031126e31871e4ad58ba1a647a2c9f9">GetApi</a>(<a class="code hl_define" href="group___global.html#gac583aeb4640621ceb588f6300537945d">ORT_API_VERSION</a>);</div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="preprocessor">#if defined(_MSC_VER) && !defined(__clang__)</span></div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="preprocessor">#pragma warning(pop)</span></div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="namespace_ort.html#a8930fa08683b5153ee3aa4df63745ce3"> 121</a></span><span class="keyword">inline</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>& <a class="code hl_function" href="namespace_ort.html#a8930fa08683b5153ee3aa4df63745ce3">GetApi</a>() { <span class="keywordflow">return</span> *<a class="code hl_struct" href="struct_ort_1_1_global.html">Global<void>::api_</a>; }</div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="namespace_ort.html#ac2f785275bced9e6853a2f4ea6b71c04"> 128</a></span>std::vector<std::string> <a class="code hl_function" href="namespace_ort.html#ac2f785275bced9e6853a2f4ea6b71c04">GetAvailableProviders</a>();</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html"> 169</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_float16__t.html">Float16_t</a> {</div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709"> 170</a></span> uint16_t <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a>;</div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#aa6e9b056f00cd4f8536e75186a66a761"> 171</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1_float16__t.html#aa6e9b056f00cd4f8536e75186a66a761">Float16_t</a>() noexcept : <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a>(0) {}</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#a1c4bc779a26f3b76f7603ade55f8b406"> 172</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1_float16__t.html#a1c4bc779a26f3b76f7603ade55f8b406">Float16_t</a>(uint16_t v) noexcept : <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a>(v) {}</div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#a8af796b50ea5871e362c4b7920d0818f"> 173</a></span> <span class="keyword">constexpr</span> <span class="keyword">operator</span> uint16_t() const noexcept { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a>; }</div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#a7c3e6b3763cd9ade3aeb4ff9a3fa756b"> 174</a></span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_float16__t.html#a7c3e6b3763cd9ade3aeb4ff9a3fa756b">operator==</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_float16__t.html">Float16_t</a>& rhs) <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a> == rhs.value; };</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="struct_ort_1_1_float16__t.html#a075d0f6f5e3d01ee576e195fc831c077"> 175</a></span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_float16__t.html#a075d0f6f5e3d01ee576e195fc831c077">operator!=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_float16__t.html">Float16_t</a>& rhs) <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">value</a> != rhs.value; };</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span>};</div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> </div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span><span class="keyword">static_assert</span>(<span class="keyword">sizeof</span>(Float16_t) == <span class="keyword">sizeof</span>(uint16_t), <span class="stringliteral">"Sizes must match"</span>);</div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html"> 188</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_b_float16__t.html">BFloat16_t</a> {</div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f"> 189</a></span> uint16_t <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a>;</div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#abd5fd29e8aa239abf8bd0d09ad280222"> 190</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1_b_float16__t.html#abd5fd29e8aa239abf8bd0d09ad280222">BFloat16_t</a>() noexcept : <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a>(0) {}</div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#a6805de0ff7cfa6f60580dac30cbd056d"> 191</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1_b_float16__t.html#a6805de0ff7cfa6f60580dac30cbd056d">BFloat16_t</a>(uint16_t v) noexcept : <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a>(v) {}</div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#a782a127afb72ac776f8853ea1b5314ec"> 192</a></span> <span class="keyword">constexpr</span> <span class="keyword">operator</span> uint16_t() const noexcept { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a>; }</div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#ab0db76a01b78a335e317c31d9cc96ffd"> 193</a></span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_b_float16__t.html#ab0db76a01b78a335e317c31d9cc96ffd">operator==</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_b_float16__t.html">BFloat16_t</a>& rhs) <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a> == rhs.value; };</div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="struct_ort_1_1_b_float16__t.html#a346ce22f7bd22dece2a426c3826b05b4"> 194</a></span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_b_float16__t.html#a346ce22f7bd22dece2a426c3826b05b4">operator!=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_b_float16__t.html">BFloat16_t</a>& rhs) <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">value</a> != rhs.value; };</div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span>};</div>
|
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
|
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span><span class="keyword">static_assert</span>(<span class="keyword">sizeof</span>(BFloat16_t) == <span class="keyword">sizeof</span>(uint16_t), <span class="stringliteral">"Sizes must match"</span>);</div>
|
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> </div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html"> 199</a></span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span><span class="comment">// This is used internally by the C++ API. This macro is to make it easy to generate overloaded methods for all of the various OrtRelease* functions for every Ort* type</span></div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="comment">// This can't be done in the C API since C doesn't have function overloading.</span></div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="preprocessor">#define ORT_DEFINE_RELEASE(NAME) \</span></div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span><span class="preprocessor"> inline void OrtRelease(Ort##NAME* ptr) { GetApi().Release##NAME(ptr); }</span></div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ae9a30b99be95656943cc324faca4230b"> 205</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_allocator.html">Allocator</a>);</div>
|
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a0af61e38cde67e82a0e0be41d87d80bf"> 206</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_memory_info.html">MemoryInfo</a>);</div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ae15bb0afb9b2faff00a0858139a8db99"> 207</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_custom_op_domain.html">CustomOpDomain</a>);</div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a1c85b62f9f79a44c8afd483eff010628"> 208</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>);</div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#af6f851a295f457f5071857b8d4f59dde"> 209</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>);</div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#abd216fab63b70de2a39047f960c1980b"> 210</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>);</div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ac40deb01cd5ec4ffc553bda79fdac3e2"> 211</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_session.html">Session</a>);</div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ae9f0cda6dfd27baf09570f4802b95791"> 212</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>);</div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a1f3ed76933d1c71b7ae7d84998bc0d3d"> 213</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_tensor_type_and_shape_info.html">TensorTypeAndShapeInfo</a>);</div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a53847829d7dd1a785b47aeb61a65e7c5"> 214</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_sequence_type_info.html">SequenceTypeInfo</a>);</div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#aef66ced37e7f501c957b63cb44951af6"> 215</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_map_type_info.html">MapTypeInfo</a>);</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ac3ced2e015fc13a3aea9674463409c6d"> 216</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a>);</div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a5230162f55ce184e814754be94f34895"> 217</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>);</div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a2bdc7596dd2f042ec839aded8b6a5211"> 218</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_model_metadata.html">ModelMetadata</a>);</div>
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a62054cba079817de3894fcc77d065274"> 219</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_io_binding.html">IoBinding</a>);</div>
|
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a1c964b60a75b87b448c96a8f9011e8f6"> 220</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_arena_cfg.html">ArenaCfg</a>);</div>
|
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ae81b6f6db68572f66fb855de999a420e"> 221</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_status.html">Status</a>);</div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a60d80ebee741bde3115652c2733af695"> 222</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_op_attr.html">OpAttr</a>);</div>
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#ab54c4971d2e58f1a2c3eb85d0ff85c29"> 223</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_op.html">Op</a>);</div>
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#a0ab175217f9b2c826ea4dbd7d19cf247"> 224</a></span>ORT_DEFINE_RELEASE(<a class="code hl_struct" href="struct_ort_1_1_kernel_info.html">KernelInfo</a>);</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="preprocessor">#undef ORT_DEFINE_RELEASE</span></div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
|
|
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_unowned.html"> 232</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_unowned.html">Unowned</a> {</div>
|
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_unowned.html#a2a5c5636bc5a20983a3aa64f7a7638ce"> 233</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="struct_ort_1_1detail_1_1_unowned.html#a2a5c5636bc5a20983a3aa64f7a7638ce">Type</a> = T;</div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span>};</div>
|
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
|
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html"> 256</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a> {</div>
|
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74"> 257</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">contained_type</a> = T;</div>
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a4e1e8b70ad961418f80b41a4c37429f6"> 259</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a4e1e8b70ad961418f80b41a4c37429f6">Base</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a8072f7970ea1835bddf9aa5038d972b4"> 260</a></span> <span class="keyword">constexpr</span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a8072f7970ea1835bddf9aa5038d972b4">Base</a>(<a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">contained_type</a>* p) noexcept : <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{p} {}</div>
|
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#acd548d8facd5ee95fb8f4f4383fb8bf6"> 261</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#acd548d8facd5ee95fb8f4f4383fb8bf6">~Base</a>() { <a class="code hl_function" href="namespace_ort_1_1detail.html#ae9a30b99be95656943cc324faca4230b">OrtRelease</a>(<a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>); }</div>
|
|
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
|
|
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a7f40aacd24f0ba79db2dae8165930498"> 263</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a7f40aacd24f0ba79db2dae8165930498">Base</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a8f197409cc84018ee2fe04844f188959"> 264</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a8f197409cc84018ee2fe04844f188959">operator=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> </div>
|
|
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a36ed2c8723bd744b585c65e214156665"> 266</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a36ed2c8723bd744b585c65e214156665">Base</a>(<a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&& v) noexcept : <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{v.p_} { v.p_ = <span class="keyword">nullptr</span>; }</div>
|
|
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#ab10471dad43b6c80043d0714ae6544c9"> 267</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#ab10471dad43b6c80043d0714ae6544c9">operator=</a>(<a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&& v) <span class="keyword">noexcept</span> {</div>
|
|
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <a class="code hl_function" href="namespace_ort_1_1detail.html#ae9a30b99be95656943cc324faca4230b">OrtRelease</a>(<a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>);</div>
|
|
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a> = v.release();</div>
|
|
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> }</div>
|
|
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> </div>
|
|
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#aa04e81c6255e5907c49afc2324b80211"> 273</a></span> <span class="keyword">constexpr</span> <span class="keyword">operator</span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">contained_type</a>*() <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>; }</div>
|
|
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
|
|
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#a77e438d539c77870789686c70b031802"> 277</a></span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">contained_type</a>* <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a77e438d539c77870789686c70b031802">release</a>() {</div>
|
|
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> T* p = <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>;</div>
|
|
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keywordflow">return</span> p;</div>
|
|
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> }</div>
|
|
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> </div>
|
|
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65"> 284</a></span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">contained_type</a>* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{};</div>
|
|
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span>};</div>
|
|
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> </div>
|
|
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="comment">// Undefined. For const types use Base<Unowned<const T>></span></div>
|
|
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span><span class="keyword">struct </span>Base<const T>;</div>
|
|
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> </div>
|
|
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html"> 299</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><<a class="code hl_struct" href="struct_ort_1_1detail_1_1_unowned.html">Unowned</a><T>> {</div>
|
|
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762"> 300</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762">contained_type</a> = <span class="keyword">typename</span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_unowned.html#a2a5c5636bc5a20983a3aa64f7a7638ce">Unowned<T>::Type</a>;</div>
|
|
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> </div>
|
|
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8069cd0a1a556751eb16606536103c69"> 302</a></span> <span class="keyword">constexpr</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8069cd0a1a556751eb16606536103c69">Base</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#adfbf2eaf491db06e6add240c8402d85b"> 303</a></span> <span class="keyword">constexpr</span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#adfbf2eaf491db06e6add240c8402d85b">Base</a>(<a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762">contained_type</a>* p) noexcept : <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{p} {}</div>
|
|
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> </div>
|
|
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a0ed74cd628bb4391542b393bfb8041b7"> 305</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a0ed74cd628bb4391542b393bfb8041b7">~Base</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> </div>
|
|
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#acd7f0c54195ca38727e9da53a93df414"> 307</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#acd7f0c54195ca38727e9da53a93df414">Base</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#aef876b7a264bf7d88125fdeaff1240ea"> 308</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#aef876b7a264bf7d88125fdeaff1240ea">operator=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> </div>
|
|
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8f36cdeacfabc869763676f001c94624"> 310</a></span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8f36cdeacfabc869763676f001c94624">Base</a>(<a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&& v) noexcept : <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{v.p_} { v.p_ = <span class="keyword">nullptr</span>; }</div>
|
|
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a11457087109a36487d2c19825d93c2ea"> 311</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a11457087109a36487d2c19825d93c2ea">operator=</a>(<a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a>&& v) <span class="keyword">noexcept</span> {</div>
|
|
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> std::swap(<a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>, v.p_);</div>
|
|
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> }</div>
|
|
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> </div>
|
|
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a20bd5163e7a79318716405c5ff14bce4"> 317</a></span> <span class="keyword">constexpr</span> <span class="keyword">operator</span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762">contained_type</a>*() <span class="keyword">const</span> <span class="keyword">noexcept</span> { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>; }</div>
|
|
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> </div>
|
|
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a63d243f34090b6b730852081bffb7a16"> 320</a></span> <a class="code hl_typedef" href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762">contained_type</a>* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>{};</div>
|
|
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span>};</div>
|
|
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> </div>
|
|
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span><span class="comment">// Light functor to release memory with OrtAllocator</span></div>
|
|
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocated_free.html"> 324</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_allocated_free.html">AllocatedFree</a> {</div>
|
|
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44"> 325</a></span> <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44">allocator_</a>;</div>
|
|
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocated_free.html#a3ce72fb83b326279166c7fa82b536b8d"> 326</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocated_free.html#a3ce72fb83b326279166c7fa82b536b8d">AllocatedFree</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator)</div>
|
|
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> : <a class="code hl_variable" href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44">allocator_</a>(allocator) {}</div>
|
|
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocated_free.html#aba9f229dd4d1d5a5099b17ff1e7cd957"> 328</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocated_free.html#aba9f229dd4d1d5a5099b17ff1e7cd957">operator()</a>(<span class="keywordtype">void</span>* ptr)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> <span class="keywordflow">if</span> (ptr) <a class="code hl_variable" href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44">allocator_</a>-><a class="code hl_variable" href="struct_ort_allocator.html#a18d7888327537d09c7d3411dff4ac86a">Free</a>(<a class="code hl_variable" href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44">allocator_</a>, ptr);</div>
|
|
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> }</div>
|
|
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span>};</div>
|
|
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> </div>
|
|
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
|
|
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span><span class="keyword">struct </span>AllocatorWithDefaultOptions;</div>
|
|
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span><span class="keyword">struct </span>Env;</div>
|
|
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span><span class="keyword">struct </span>TypeInfo;</div>
|
|
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="keyword">struct </span>Value;</div>
|
|
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span><span class="keyword">struct </span>ModelMetadata;</div>
|
|
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
|
|
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0"> 345</a></span><span class="keyword">using </span><a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> = std::unique_ptr<char, detail::AllocatedFree>;</div>
|
|
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> </div>
|
|
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html"> 351</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_status.html">Status</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtStatus> {</div>
|
|
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#ae9363fb31f4c4ead22518a5c3bcb22f3"> 352</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_status.html#ae9363fb31f4c4ead22518a5c3bcb22f3">Status</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#a5bbce3efbc0a030c9fccc94853e0e7a5"> 353</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_status.html#a5bbce3efbc0a030c9fccc94853e0e7a5">Status</a>(<a class="code hl_typedef" href="group___global.html#gabbdf49d59489efef1b125d8e0d59adc6">OrtStatus</a>* status); </div>
|
|
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#a1dfd7c16d4b3a93ff2fa0ca9645bd651"> 354</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_status.html#a1dfd7c16d4b3a93ff2fa0ca9645bd651">Status</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_exception.html">Exception</a>&); </div>
|
|
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#abc941f81c0f872602bcfe6f0d28842fc"> 355</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_status.html#abc941f81c0f872602bcfe6f0d28842fc">Status</a>(<span class="keyword">const</span> std::exception&); </div>
|
|
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#a82e24c127b4b791a9075708a7b784f49"> 356</a></span> std::string <a class="code hl_function" href="struct_ort_1_1_status.html#a82e24c127b4b791a9075708a7b784f49">GetErrorMessage</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="struct_ort_1_1_status.html#a19a0d483b009e0188971ddc9823922b2"> 357</a></span> <a class="code hl_enumeration" href="group___global.html#gabab5349c294603a9eac437fdafd40a3d">OrtErrorCode</a> <a class="code hl_function" href="struct_ort_1_1_status.html#a19a0d483b009e0188971ddc9823922b2">GetErrorCode</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span>};</div>
|
|
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> </div>
|
|
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html"> 364</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtThreadingOptions> {</div>
|
|
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#a555eafa4ddfa92b004bedf02989b765b"> 366</a></span> <a class="code hl_function" href="struct_ort_1_1_threading_options.html#a555eafa4ddfa92b004bedf02989b765b">ThreadingOptions</a>();</div>
|
|
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> </div>
|
|
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#af5c944c636290e98f14048f5bd8c9fb1"> 369</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#af5c944c636290e98f14048f5bd8c9fb1">SetGlobalIntraOpNumThreads</a>(<span class="keywordtype">int</span> intra_op_num_threads);</div>
|
|
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
|
|
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#a5eb3cd4dc7981d8490dc094bddd7d74b"> 372</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#a5eb3cd4dc7981d8490dc094bddd7d74b">SetGlobalInterOpNumThreads</a>(<span class="keywordtype">int</span> inter_op_num_threads);</div>
|
|
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> </div>
|
|
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#aa0b6da698af3eb33badf3c54b0a416a7"> 375</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#aa0b6da698af3eb33badf3c54b0a416a7">SetGlobalSpinControl</a>(<span class="keywordtype">int</span> allow_spinning);</div>
|
|
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> </div>
|
|
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#aac6387494fe8fef215f8b294d0026b06"> 378</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#aac6387494fe8fef215f8b294d0026b06">SetGlobalDenormalAsZero</a>();</div>
|
|
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> </div>
|
|
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#a613727010af9186734e0820a1d7c962c"> 381</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#a613727010af9186734e0820a1d7c962c">SetGlobalCustomCreateThreadFn</a>(<a class="code hl_typedef" href="group___global.html#gae0957b6ccebab677893b6155dcb744e5">OrtCustomCreateThreadFn</a> ort_custom_create_thread_fn);</div>
|
|
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> </div>
|
|
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#a087310108e2a32c678ce23aeaf31a07b"> 384</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#a087310108e2a32c678ce23aeaf31a07b">SetGlobalCustomThreadCreationOptions</a>(<span class="keywordtype">void</span>* ort_custom_thread_creation_options);</div>
|
|
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> </div>
|
|
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"><a class="line" href="struct_ort_1_1_threading_options.html#a94de02aacf2828da5ae1fa17513365f7"> 387</a></span> <a class="code hl_struct" href="struct_ort_1_1_threading_options.html">ThreadingOptions</a>& <a class="code hl_function" href="struct_ort_1_1_threading_options.html#a94de02aacf2828da5ae1fa17513365f7">SetGlobalCustomJoinThreadFn</a>(<a class="code hl_typedef" href="group___global.html#ga2d123bc5dd929c1cb520e7b872fbfd0e">OrtCustomJoinThreadFn</a> ort_custom_join_thread_fn);</div>
|
|
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span>};</div>
|
|
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> </div>
|
|
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html"> 395</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtEnv> {</div>
|
|
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a48bab6a5fcbe8f6d6c0ceb27afae810a"> 396</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_env.html#a48bab6a5fcbe8f6d6c0ceb27afae810a">Env</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> </div>
|
|
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a6d594538c1c9fd9da1a3fb0ce532fddc"> 399</a></span> <a class="code hl_function" href="struct_ort_1_1_env.html#a6d594538c1c9fd9da1a3fb0ce532fddc">Env</a>(<a class="code hl_enumeration" href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a> logging_level = <a class="code hl_enumvalue" href="group___global.html#gga1c0fbcf614dbd0e2c272ae1cc04c629cab150db726e3f481f0e67ae654307b1c6">ORT_LOGGING_LEVEL_WARNING</a>, _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* logid = <span class="stringliteral">""</span>);</div>
|
|
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> </div>
|
|
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#aacb1c1fec39c545a180c5c9b8fe37fb5"> 402</a></span> <a class="code hl_function" href="struct_ort_1_1_env.html#aacb1c1fec39c545a180c5c9b8fe37fb5">Env</a>(<a class="code hl_enumeration" href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a> logging_level, <span class="keyword">const</span> <span class="keywordtype">char</span>* logid, <a class="code hl_typedef" href="group___global.html#ga2a61c1134f2f604095f32d2560630e94">OrtLoggingFunction</a> logging_function, <span class="keywordtype">void</span>* logger_param);</div>
|
|
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> </div>
|
|
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a8406145b6539cd0676a29a56c1efe6be"> 405</a></span> <a class="code hl_function" href="struct_ort_1_1_env.html#a8406145b6539cd0676a29a56c1efe6be">Env</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga3a8151bc1daecaae2411fb9a54c01ee9">OrtThreadingOptions</a>* tp_options, <a class="code hl_enumeration" href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a> logging_level = <a class="code hl_enumvalue" href="group___global.html#gga1c0fbcf614dbd0e2c272ae1cc04c629cab150db726e3f481f0e67ae654307b1c6">ORT_LOGGING_LEVEL_WARNING</a>, _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* logid = <span class="stringliteral">""</span>);</div>
|
|
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> </div>
|
|
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a8b41eadfdbb6998e5d4307318bca8033"> 408</a></span> <a class="code hl_function" href="struct_ort_1_1_env.html#a8b41eadfdbb6998e5d4307318bca8033">Env</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga3a8151bc1daecaae2411fb9a54c01ee9">OrtThreadingOptions</a>* tp_options, <a class="code hl_typedef" href="group___global.html#ga2a61c1134f2f604095f32d2560630e94">OrtLoggingFunction</a> logging_function, <span class="keywordtype">void</span>* logger_param,</div>
|
|
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <a class="code hl_enumeration" href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a> logging_level = <a class="code hl_enumvalue" href="group___global.html#gga1c0fbcf614dbd0e2c272ae1cc04c629cab150db726e3f481f0e67ae654307b1c6">ORT_LOGGING_LEVEL_WARNING</a>, _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* logid = <span class="stringliteral">""</span>);</div>
|
|
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> </div>
|
|
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a25b49a5a089206ead63150b4e246bdbe"> 412</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_env.html#a25b49a5a089206ead63150b4e246bdbe">Env</a>(<a class="code hl_typedef" href="group___global.html#gaba9072a64b5081cd4d36cca5ef92bd08">OrtEnv</a>* p) : <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a4e1e8b70ad961418f80b41a4c37429f6">Base</a><<a class="code hl_typedef" href="group___global.html#gaba9072a64b5081cd4d36cca5ef92bd08">OrtEnv</a>>{p} {}</div>
|
|
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> </div>
|
|
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#a251b84b1a06a0d5f3f1cfa0d2591c033"> 414</a></span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& <a class="code hl_function" href="struct_ort_1_1_env.html#a251b84b1a06a0d5f3f1cfa0d2591c033">EnableTelemetryEvents</a>(); </div>
|
|
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#afc9b2d44c9db7812787904d5e3018f24"> 415</a></span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& <a class="code hl_function" href="struct_ort_1_1_env.html#afc9b2d44c9db7812787904d5e3018f24">DisableTelemetryEvents</a>(); </div>
|
|
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> </div>
|
|
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#ae86a59c3a431a31081bf62e46aa29425"> 417</a></span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& <a class="code hl_function" href="struct_ort_1_1_env.html#ae86a59c3a431a31081bf62e46aa29425">UpdateEnvWithCustomLogLevel</a>(<a class="code hl_enumeration" href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a> log_severity_level); </div>
|
|
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> </div>
|
|
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="struct_ort_1_1_env.html#ace62e9a1fe461a42a0b1cc79ee40f421"> 419</a></span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& <a class="code hl_function" href="struct_ort_1_1_env.html#ace62e9a1fe461a42a0b1cc79ee40f421">CreateAndRegisterAllocator</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* mem_info, <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gacd8d2ea2ab8f4063d8d85dc0edc461e7">OrtArenaCfg</a>* arena_cfg); </div>
|
|
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span>};</div>
|
|
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> </div>
|
|
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_domain.html"> 425</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_custom_op_domain.html">CustomOpDomain</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtCustomOpDomain> {</div>
|
|
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_domain.html#a4718bfa2cc736c54c4da4cc828ba8899"> 426</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_domain.html#a4718bfa2cc736c54c4da4cc828ba8899">CustomOpDomain</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> </div>
|
|
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_domain.html#a71fe5d662c516259a8e9816abc48eecb"> 429</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_domain.html#a71fe5d662c516259a8e9816abc48eecb">CustomOpDomain</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* domain);</div>
|
|
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> </div>
|
|
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> <span class="comment">// This does not take ownership of the op, simply registers it.</span></div>
|
|
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_domain.html#ac6aa6df0bc9a87247eddabc3087e99c0"> 432</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_domain.html#ac6aa6df0bc9a87247eddabc3087e99c0">Add</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* op); </div>
|
|
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span>};</div>
|
|
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> </div>
|
|
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html"> 438</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtRunOptions> {</div>
|
|
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a89e09783a59b61dfb61bcfa052f7f4bc"> 439</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_run_options.html#a89e09783a59b61dfb61bcfa052f7f4bc">RunOptions</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#aecca727dda56bbefb1d339ed3b714168"> 440</a></span> <a class="code hl_function" href="struct_ort_1_1_run_options.html#aecca727dda56bbefb1d339ed3b714168">RunOptions</a>(); </div>
|
|
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> </div>
|
|
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a933438fc8e24ff6d30470b4f54856783"> 442</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#a933438fc8e24ff6d30470b4f54856783">SetRunLogVerbosityLevel</a>(<span class="keywordtype">int</span>); </div>
|
|
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a7ed22746c1f54eb112d4e5efc23ea2cd"> 443</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="struct_ort_1_1_run_options.html#a7ed22746c1f54eb112d4e5efc23ea2cd">GetRunLogVerbosityLevel</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> </div>
|
|
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a9ab00f70c1e5387247170e407b43005e"> 445</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#a9ab00f70c1e5387247170e407b43005e">SetRunLogSeverityLevel</a>(<span class="keywordtype">int</span>); </div>
|
|
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a159fd9dcb41fa9d44fa4e1d55af7c1dd"> 446</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="struct_ort_1_1_run_options.html#a159fd9dcb41fa9d44fa4e1d55af7c1dd">GetRunLogSeverityLevel</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
|
|
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a71a86d105bcd6c57cdf1c6e3c05a092b"> 448</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#a71a86d105bcd6c57cdf1c6e3c05a092b">SetRunTag</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* run_tag); </div>
|
|
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#ad033e3d5d7758e082d2a4b725b157b53"> 449</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="struct_ort_1_1_run_options.html#ad033e3d5d7758e082d2a4b725b157b53">GetRunTag</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> </div>
|
|
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#ac752cfb944b9aa2621f626d3997b90d2"> 451</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#ac752cfb944b9aa2621f626d3997b90d2">AddConfigEntry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* config_key, <span class="keyword">const</span> <span class="keywordtype">char</span>* config_value); </div>
|
|
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> </div>
|
|
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a15a8e02b1349d35a095c0314743b84d6"> 458</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#a15a8e02b1349d35a095c0314743b84d6">SetTerminate</a>();</div>
|
|
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> </div>
|
|
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="struct_ort_1_1_run_options.html#a7ec93ca85331023091fb9f9696bfbdf0"> 464</a></span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& <a class="code hl_function" href="struct_ort_1_1_run_options.html#a7ec93ca85331023091fb9f9696bfbdf0">UnsetTerminate</a>();</div>
|
|
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span>};</div>
|
|
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> </div>
|
|
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> </div>
|
|
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span><span class="comment">// Utility function that returns a SessionOption config entry key for a specific custom operator.</span></div>
|
|
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span><span class="comment">// Ex: custom_op.[custom_op_name].[config]</span></div>
|
|
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail.html#af0cdae3ed8b2232264ce152d01a0adc6"> 471</a></span>std::string <a class="code hl_function" href="namespace_ort_1_1detail.html#af0cdae3ed8b2232264ce152d01a0adc6">MakeCustomOpConfigEntryKey</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* custom_op_name, <span class="keyword">const</span> <span class="keywordtype">char</span>* config);</div>
|
|
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> </div>
|
|
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html"> 483</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a> {</div>
|
|
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#aaada0b77a254031b1bf299cb26db71f4"> 484</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#aaada0b77a254031b1bf299cb26db71f4">CustomOpConfigs</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#a07d54701a0290a749d94a1a296ddfa76"> 485</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#a07d54701a0290a749d94a1a296ddfa76">~CustomOpConfigs</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#acb53b3f4027cf22611c4f90098c9980d"> 486</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#acb53b3f4027cf22611c4f90098c9980d">CustomOpConfigs</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#acc58e5f0e6a3e10fedb93beda91adcab"> 487</a></span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>& <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#acc58e5f0e6a3e10fedb93beda91adcab">operator=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#a96e12c7a48728d7f551e8c683837b5b9"> 488</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#a96e12c7a48728d7f551e8c683837b5b9">CustomOpConfigs</a>(<a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>&& o) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#a57d2195c6dca14d991dd3df4dc390c05"> 489</a></span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>& <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#a57d2195c6dca14d991dd3df4dc390c05">operator=</a>(<a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>&& o) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> </div>
|
|
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#a0ec1549d6406f21dce82292df1b9fbeb"> 499</a></span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>& <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#a0ec1549d6406f21dce82292df1b9fbeb">AddConfig</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* custom_op_name, <span class="keyword">const</span> <span class="keywordtype">char</span>* config_key, <span class="keyword">const</span> <span class="keywordtype">char</span>* config_value);</div>
|
|
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> </div>
|
|
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_configs.html#ab19dd38318f6bd88b8cbf507ba5d52f0"> 509</a></span> <span class="keyword">const</span> std::unordered_map<std::string, std::string>& <a class="code hl_function" href="struct_ort_1_1_custom_op_configs.html#ab19dd38318f6bd88b8cbf507ba5d52f0">GetFlattenedConfigs</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> </div>
|
|
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span> std::unordered_map<std::string, std::string> flat_configs_;</div>
|
|
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span>};</div>
|
|
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> </div>
|
|
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>;</div>
|
|
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> </div>
|
|
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span><span class="comment">// we separate const-only methods because passing const ptr to non-const methods</span></div>
|
|
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span><span class="comment">// is only discovered when inline methods are compiled which is counter-intuitive</span></div>
|
|
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html"> 526</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptionsImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a3310d3279f426db9a8fa2cc94b1ed650"> 527</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> </div>
|
|
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#aa79925dc7a494e88a42b018ffa1f305c"> 530</a></span> <a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#aa79925dc7a494e88a42b018ffa1f305c">Clone</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> </div>
|
|
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a2dc3010442b717e17648b09ed7b95e85"> 532</a></span> std::string <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a2dc3010442b717e17648b09ed7b95e85">GetConfigEntry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* config_key) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#acc17d6821ec06e6040c5d640553bc912"> 533</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#acc17d6821ec06e6040c5d640553bc912">HasConfigEntry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* config_key) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a84310957c29d756fc540fc0f15c5907a"> 534</a></span> std::string <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a84310957c29d756fc540fc0f15c5907a">GetConfigEntryOrDefault</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* config_key, <span class="keyword">const</span> std::string& def);</div>
|
|
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span>};</div>
|
|
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> </div>
|
|
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html"> 538</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptionsImpl</a><T> {</div>
|
|
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a07b40a791660656bc462ba56733e432a"> 539</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptionsImpl<T></a>;</div>
|
|
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a3310d3279f426db9a8fa2cc94b1ed650"> 540</a></span> <span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_base.html">B::B</a>;</div>
|
|
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> </div>
|
|
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#abda4765e9add8a3e536ca49b40ffbe7e"> 542</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#abda4765e9add8a3e536ca49b40ffbe7e">SetIntraOpNumThreads</a>(<span class="keywordtype">int</span> intra_op_num_threads); </div>
|
|
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8e2843bee1ddc2432eba9483ebd1a67"> 543</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8e2843bee1ddc2432eba9483ebd1a67">SetInterOpNumThreads</a>(<span class="keywordtype">int</span> inter_op_num_threads); </div>
|
|
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a535eed51af6595eee7ad3e0e7878aa74"> 544</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a535eed51af6595eee7ad3e0e7878aa74">SetGraphOptimizationLevel</a>(<a class="code hl_enumeration" href="group___global.html#gab086a52ca2f3a883cd1f7561eadd8ec9">GraphOptimizationLevel</a> graph_optimization_level); </div>
|
|
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> </div>
|
|
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae38a097a041e17b828da74524a6afa19"> 546</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae38a097a041e17b828da74524a6afa19">EnableCpuMemArena</a>(); </div>
|
|
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a625fbb272bffb1279e6ed251b6035526"> 547</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a625fbb272bffb1279e6ed251b6035526">DisableCpuMemArena</a>(); </div>
|
|
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> </div>
|
|
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#af2221c3d556809e321eb2d237a268a2c"> 549</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#af2221c3d556809e321eb2d237a268a2c">SetOptimizedModelFilePath</a>(<span class="keyword">const</span> ORTCHAR_T* optimized_model_file); </div>
|
|
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> </div>
|
|
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#aef073a38fc45f25fd814eef092428bfb"> 551</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#aef073a38fc45f25fd814eef092428bfb">EnableProfiling</a>(<span class="keyword">const</span> ORTCHAR_T* profile_file_prefix); </div>
|
|
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9ffa1e1360b2cb188ec94ea4dea327"> 552</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9ffa1e1360b2cb188ec94ea4dea327">DisableProfiling</a>(); </div>
|
|
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> </div>
|
|
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a3a7ee0dd4cddab7bcfe4bfb2e94f91fd"> 554</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a3a7ee0dd4cddab7bcfe4bfb2e94f91fd">EnableOrtCustomOps</a>(); </div>
|
|
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span> </div>
|
|
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a7086b889d8c12a76ebac01b6dcf6a0b8"> 556</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a7086b889d8c12a76ebac01b6dcf6a0b8">EnableMemPattern</a>(); </div>
|
|
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a19afcd549653f6992c105207131c5632"> 557</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a19afcd549653f6992c105207131c5632">DisableMemPattern</a>(); </div>
|
|
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> </div>
|
|
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#aab236ae9930510be5b46d3ba2a397f86"> 559</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#aab236ae9930510be5b46d3ba2a397f86">SetExecutionMode</a>(<a class="code hl_enumeration" href="group___global.html#gad14b0c6d4ed8fcadff6dcf39c5cf17fd">ExecutionMode</a> execution_mode); </div>
|
|
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> </div>
|
|
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a94a11cbe7a4a9d10ced2ff07252f4a74"> 561</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a94a11cbe7a4a9d10ced2ff07252f4a74">SetLogId</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* logid); </div>
|
|
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a2e7baf7d74a3b15b37955823e915114b"> 562</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a2e7baf7d74a3b15b37955823e915114b">SetLogSeverityLevel</a>(<span class="keywordtype">int</span> level); </div>
|
|
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> </div>
|
|
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a704250e4d0b524f82a6107bd704b8388"> 564</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a704250e4d0b524f82a6107bd704b8388">Add</a>(<a class="code hl_typedef" href="group___global.html#ga571f649a16d7052d4465ceabfdd26161">OrtCustomOpDomain</a>* custom_op_domain); </div>
|
|
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> </div>
|
|
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#aac3b59acd9f24e67e155a4bf1aeb04d7"> 566</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#aac3b59acd9f24e67e155a4bf1aeb04d7">DisablePerSessionThreads</a>(); </div>
|
|
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> </div>
|
|
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a706f662da2803a1fa0d78afe4c110ebd"> 568</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a706f662da2803a1fa0d78afe4c110ebd">AddConfigEntry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* config_key, <span class="keyword">const</span> <span class="keywordtype">char</span>* config_value); </div>
|
|
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> </div>
|
|
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8b9b90c881f091957a5e565ca5c2285"> 570</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8b9b90c881f091957a5e565ca5c2285">AddInitializer</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* ort_val); </div>
|
|
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a8438860a82fd70437ffab1e2b21720a7"> 571</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a8438860a82fd70437ffab1e2b21720a7">AddExternalInitializers</a>(<span class="keyword">const</span> std::vector<std::string>& names, <span class="keyword">const</span> std::vector<Value>& ort_values); </div>
|
|
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span> </div>
|
|
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#af89d3007795801fbc311689488404ee5"> 573</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#af89d3007795801fbc311689488404ee5">AppendExecutionProvider_CUDA</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_c_u_d_a_provider_options.html">OrtCUDAProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#aa699a1ee37d11b164abcc9990c24f9d6"> 574</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#aa699a1ee37d11b164abcc9990c24f9d6">AppendExecutionProvider_CUDA_V2</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6b319b3ba435fb46c3808d7957c4684f">OrtCUDAProviderOptionsV2</a>& provider_options); </div>
|
|
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ad5b77199a417dc2a944b72e6a09e3cf1"> 575</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ad5b77199a417dc2a944b72e6a09e3cf1">AppendExecutionProvider_ROCM</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_r_o_c_m_provider_options.html">OrtROCMProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#adadfc610598fae28673148c6bbb839a9"> 576</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#adadfc610598fae28673148c6bbb839a9">AppendExecutionProvider_OpenVINO</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_open_v_i_n_o_provider_options.html">OrtOpenVINOProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#af30e5a51ea4bd20c2cf00702240e4d48"> 577</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#af30e5a51ea4bd20c2cf00702240e4d48">AppendExecutionProvider_TensorRT</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_tensor_r_t_provider_options.html">OrtTensorRTProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ab46f7c9324880ad07a04d73b0592d6ac"> 578</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ab46f7c9324880ad07a04d73b0592d6ac">AppendExecutionProvider_TensorRT_V2</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga331177427bd78a813d46a78f78f159a2">OrtTensorRTProviderOptionsV2</a>& provider_options); </div>
|
|
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a5e580662ec9817f0e114efc85ba7f115"> 579</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a5e580662ec9817f0e114efc85ba7f115">AppendExecutionProvider_MIGraphX</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_m_i_graph_x_provider_options.html">OrtMIGraphXProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a4718776b4ed20f5a0a0f310065e6f6dd"> 581</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a4718776b4ed20f5a0a0f310065e6f6dd">AppendExecutionProvider_CANN</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga8c583d44d04b39c4328fa754994f7730">OrtCANNProviderOptions</a>& provider_options);</div>
|
|
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a71a074664705549fa2f0f86ee2e8003b"> 583</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a71a074664705549fa2f0f86ee2e8003b">AppendExecutionProvider_Dnnl</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga49569269349ce14f35dcf27b03b82252">OrtDnnlProviderOptions</a>& provider_options); </div>
|
|
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a3615ed90d476807d45560c013f2f249d"> 585</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a3615ed90d476807d45560c013f2f249d">AppendExecutionProvider</a>(<span class="keyword">const</span> std::string& provider_name,</div>
|
|
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <span class="keyword">const</span> std::unordered_map<std::string, std::string>& provider_options = {});</div>
|
|
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> </div>
|
|
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a428f112a11d6f0240fb32217e682685e"> 588</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a428f112a11d6f0240fb32217e682685e">SetCustomCreateThreadFn</a>(<a class="code hl_typedef" href="group___global.html#gae0957b6ccebab677893b6155dcb744e5">OrtCustomCreateThreadFn</a> ort_custom_create_thread_fn); </div>
|
|
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a775f1f1e8ea41716f71305ff89899cd6"> 589</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a775f1f1e8ea41716f71305ff89899cd6">SetCustomThreadCreationOptions</a>(<span class="keywordtype">void</span>* ort_custom_thread_creation_options); </div>
|
|
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#a2988ffb2ec6a4856da129cf98638a918"> 590</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#a2988ffb2ec6a4856da129cf98638a918">SetCustomJoinThreadFn</a>(<a class="code hl_typedef" href="group___global.html#ga2d123bc5dd929c1cb520e7b872fbfd0e">OrtCustomJoinThreadFn</a> ort_custom_join_thread_fn); </div>
|
|
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> </div>
|
|
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#ab298dbffc20b2acb67a91ec81d6b0843"> 595</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#ab298dbffc20b2acb67a91ec81d6b0843">RegisterCustomOpsLibrary</a>(<span class="keyword">const</span> ORTCHAR_T* library_name, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_custom_op_configs.html">CustomOpConfigs</a>& custom_op_configs = {});</div>
|
|
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> </div>
|
|
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9fdc6432272b32842813dfd2beaee0"> 597</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">SessionOptionsImpl</a>& <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9fdc6432272b32842813dfd2beaee0">RegisterCustomOpsUsingFunction</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* function_name); </div>
|
|
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span>};</div>
|
|
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span> </div>
|
|
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="namespace_ort.html#a6b177171c592d5d1e5bb1a43e6c4f1e0"> 601</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">UnownedSessionOptions</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">detail::SessionOptionsImpl<detail::Unowned<OrtSessionOptions></a>>;</div>
|
|
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"><a class="line" href="namespace_ort.html#a0f2f11ade8a14f04f4f07b55f15f6139"> 602</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptions</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">detail::ConstSessionOptionsImpl<detail::Unowned<const OrtSessionOptions></a>>;</div>
|
|
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> </div>
|
|
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html"> 607</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">detail::SessionOptionsImpl</a><OrtSessionOptions> {</div>
|
|
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html#a49e3a72e68b9ab75cdc7a6227a0c9a81"> 608</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_session_options.html#a49e3a72e68b9ab75cdc7a6227a0c9a81">SessionOptions</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html#a635fd17cce38833b2aff64d9409187f2"> 609</a></span> <a class="code hl_function" href="struct_ort_1_1_session_options.html#a635fd17cce38833b2aff64d9409187f2">SessionOptions</a>(); </div>
|
|
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html#ae15251c52983461ccd5e2f204fe1259c"> 610</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_session_options.html#ae15251c52983461ccd5e2f204fe1259c">SessionOptions</a>(<a class="code hl_typedef" href="group___global.html#gaa6c56bcb36e39611481a17065d3ce620">OrtSessionOptions</a>* p) : SessionOptionsImpl<<a class="code hl_typedef" href="group___global.html#gaa6c56bcb36e39611481a17065d3ce620">OrtSessionOptions</a>>{p} {} </div>
|
|
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html#a536441ea5bb3c2f63d57ff7a935f4e04"> 611</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">UnownedSessionOptions</a> <a class="code hl_function" href="struct_ort_1_1_session_options.html#a536441ea5bb3c2f63d57ff7a935f4e04">GetUnowned</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_options_impl.html">UnownedSessionOptions</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session_options.html#ade28bc84a75e3657bd8e1786558ea231"> 612</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptions</a> <a class="code hl_function" href="struct_ort_1_1_session_options.html#ade28bc84a75e3657bd8e1786558ea231">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptions</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span>};</div>
|
|
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> </div>
|
|
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html"> 618</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_model_metadata.html">ModelMetadata</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtModelMetadata> {</div>
|
|
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#a396ffe03318e70e231632c84627ffd37"> 619</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#a396ffe03318e70e231632c84627ffd37">ModelMetadata</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#ae3e92380b90266d5a18e3ca9b3d632a3"> 620</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#ae3e92380b90266d5a18e3ca9b3d632a3">ModelMetadata</a>(<a class="code hl_typedef" href="group___global.html#ga60c3d77af832d0d7fa5e14636009b408">OrtModelMetadata</a>* p) : <a class="code hl_function" href="struct_ort_1_1detail_1_1_base.html#a4e1e8b70ad961418f80b41a4c37429f6">Base</a><<a class="code hl_typedef" href="group___global.html#ga60c3d77af832d0d7fa5e14636009b408">OrtModelMetadata</a>>{p} {} </div>
|
|
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> </div>
|
|
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#aa5f02d2668c72b7712504292b7ce6aad"> 628</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#aa5f02d2668c72b7712504292b7ce6aad">GetProducerNameAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"> 629</span> </div>
|
|
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#aa9856e1248bcb5ad0d5b2ec56ac6a623"> 636</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#aa9856e1248bcb5ad0d5b2ec56ac6a623">GetGraphNameAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span> </div>
|
|
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#aedaed58809aa7c08cbe1b9a565393f36"> 644</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#aedaed58809aa7c08cbe1b9a565393f36">GetDomainAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> </div>
|
|
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#a19adaa9f0a26c655cb8cfbc303140fb5"> 652</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#a19adaa9f0a26c655cb8cfbc303140fb5">GetDescriptionAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> </div>
|
|
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#a5679e4546c4567c00e8de7a073383408"> 660</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#a5679e4546c4567c00e8de7a073383408">GetGraphDescriptionAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> </div>
|
|
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#a3084be03eb8306b91a397e1c278e4e10"> 668</a></span> std::vector<AllocatedStringPtr> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#a3084be03eb8306b91a397e1c278e4e10">GetCustomMetadataMapKeysAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span> </div>
|
|
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#ad8f15e37fe32292dde2def2af8e13721"> 679</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#ad8f15e37fe32292dde2def2af8e13721">LookupCustomMetadataMapAllocated</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* key, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> </div>
|
|
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"><a class="line" href="struct_ort_1_1_model_metadata.html#af2dbdfcca90df0d532b60ab7b354a4ea"> 681</a></span> int64_t <a class="code hl_function" href="struct_ort_1_1_model_metadata.html#af2dbdfcca90df0d532b60ab7b354a4ea">GetVersion</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span>};</div>
|
|
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> </div>
|
|
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_io_binding.html">IoBinding</a>;</div>
|
|
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> </div>
|
|
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> </div>
|
|
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span><span class="comment">// we separate const-only methods because passing const ptr to non-const methods</span></div>
|
|
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span><span class="comment">// is only discovered when inline methods are compiled which is counter-intuitive</span></div>
|
|
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html"> 691</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSessionImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#adb55fd0cac7394b4f0a51e1e14535188"> 692</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span> </div>
|
|
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a47dee56e19d6a7682a2be08fc2f60c1b"> 695</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a47dee56e19d6a7682a2be08fc2f60c1b">GetInputCount</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a0ca73399d7ac7942728a06318e3bd37e"> 696</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a0ca73399d7ac7942728a06318e3bd37e">GetOutputCount</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a9459fc101a72b85552abadbc30d55b8e"> 697</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a9459fc101a72b85552abadbc30d55b8e">GetOverridableInitializerCount</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span> </div>
|
|
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#aa3b00d8290d25a61506d58635b08b773"> 706</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#aa3b00d8290d25a61506d58635b08b773">GetInputNameAllocated</a>(<span class="keywordtype">size_t</span> index, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno"> 707</span> </div>
|
|
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a77cbf0e3613543bb83f5008e326730b7"> 715</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a77cbf0e3613543bb83f5008e326730b7">GetOutputNameAllocated</a>(<span class="keywordtype">size_t</span> index, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span> </div>
|
|
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a59c701729c91b390e2f9ff8c358d8033"> 724</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a59c701729c91b390e2f9ff8c358d8033">GetOverridableInitializerNameAllocated</a>(<span class="keywordtype">size_t</span> index, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> </div>
|
|
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a271b1974acd07360663bfc6765a5d5d8"> 726</a></span> uint64_t <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a271b1974acd07360663bfc6765a5d5d8">GetProfilingStartTimeNs</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a4646cd76bdc874c526fcbf8b0551fb6a"> 727</a></span> <a class="code hl_struct" href="struct_ort_1_1_model_metadata.html">ModelMetadata</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a4646cd76bdc874c526fcbf8b0551fb6a">GetModelMetadata</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"> 728</span> </div>
|
|
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a0a863a0ed3831b3d6a7f16f6fcb80c97"> 729</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a0a863a0ed3831b3d6a7f16f6fcb80c97">GetInputTypeInfo</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#a4e469907de5ca6b252d99cda8100fd0d"> 730</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#a4e469907de5ca6b252d99cda8100fd0d">GetOutputTypeInfo</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_session_impl.html#adfadbad50b787506d754dd8e851264e9"> 731</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_session_impl.html#adfadbad50b787506d754dd8e851264e9">GetOverridableInitializerTypeInfo</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"> 732</span>};</div>
|
|
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"> 733</span> </div>
|
|
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html"> 735</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">SessionImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSessionImpl</a><T> {</div>
|
|
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#a6d328b36df2ca466fd7d275a86b104f2"> 736</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSessionImpl<T></a>;</div>
|
|
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#adb55fd0cac7394b4f0a51e1e14535188"> 737</a></span> <span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_base.html">B::B</a>;</div>
|
|
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"> 738</span> </div>
|
|
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#af3f7d273f5e468ef21ef0d56d48c32fd"> 756</a></span> std::vector<Value> <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_impl.html#af3f7d273f5e468ef21ef0d56d48c32fd">Run</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& run_options, <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* input_names, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>* input_values, <span class="keywordtype">size_t</span> input_count,</div>
|
|
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"> 757</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* output_names, <span class="keywordtype">size_t</span> output_count);</div>
|
|
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"> 758</span> </div>
|
|
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#af5c930bdd9aadf1c9ed154d59fe63a66"> 762</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_impl.html#af5c930bdd9aadf1c9ed154d59fe63a66">Run</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& run_options, <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* input_names, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>* input_values, <span class="keywordtype">size_t</span> input_count,</div>
|
|
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* output_names, <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>* output_values, <span class="keywordtype">size_t</span> output_count);</div>
|
|
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"> 764</span> </div>
|
|
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#aba18502e41f8dd46038e3de1efa363b5"> 765</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_impl.html#aba18502e41f8dd46038e3de1efa363b5">Run</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_run_options.html">RunOptions</a>& run_options, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_io_binding.html">IoBinding</a>&); </div>
|
|
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno"> 766</span> </div>
|
|
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_session_impl.html#a562e086b82b3b756a2b60ca8930cf98a"> 773</a></span> <a class="code hl_typedef" href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">AllocatedStringPtr</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_session_impl.html#a562e086b82b3b756a2b60ca8930cf98a">EndProfilingAllocated</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator); </div>
|
|
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno"> 774</span>};</div>
|
|
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno"> 775</span> </div>
|
|
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno"> 776</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno"> 777</span> </div>
|
|
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno"><a class="line" href="namespace_ort.html#ac63da339e467ad363d1412024c3aed16"> 778</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSession</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">detail::ConstSessionImpl<detail::Unowned<const OrtSession></a>>;</div>
|
|
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"><a class="line" href="namespace_ort.html#aa4ef47c5e510bbdc78e6cbc95b9d6319"> 779</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">UnownedSession</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">detail::SessionImpl<detail::Unowned<OrtSession></a>>;</div>
|
|
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"> 780</span> </div>
|
|
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html"> 784</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_session.html">Session</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">detail::SessionImpl</a><OrtSession> {</div>
|
|
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#a333dc25d8897861ed3f0221c21b9b4dc"> 785</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_session.html#a333dc25d8897861ed3f0221c21b9b4dc">Session</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#abbd0e8c3984775ed7e29f22c9fd27767"> 786</a></span> <a class="code hl_function" href="struct_ort_1_1_session.html#abbd0e8c3984775ed7e29f22c9fd27767">Session</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& env, <span class="keyword">const</span> ORTCHAR_T* model_path, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>& options); </div>
|
|
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#a76831d318c6f6569326c2aa0a1dbdfb7"> 787</a></span> <a class="code hl_function" href="struct_ort_1_1_session.html#a76831d318c6f6569326c2aa0a1dbdfb7">Session</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& env, <span class="keyword">const</span> ORTCHAR_T* model_path, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>& options,</div>
|
|
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</span> <a class="code hl_typedef" href="group___global.html#ga4b0ed31cf137ed2f763dddd2da40c2cf">OrtPrepackedWeightsContainer</a>* prepacked_weights_container); </div>
|
|
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#ac657d96c0ea760e0f8712f23a28aaa08"> 789</a></span> <a class="code hl_function" href="struct_ort_1_1_session.html#ac657d96c0ea760e0f8712f23a28aaa08">Session</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& env, <span class="keyword">const</span> <span class="keywordtype">void</span>* model_data, <span class="keywordtype">size_t</span> model_data_length, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>& options); </div>
|
|
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#a8c02ae6e3f70a4e65e86f67c27114a12"> 790</a></span> <a class="code hl_function" href="struct_ort_1_1_session.html#a8c02ae6e3f70a4e65e86f67c27114a12">Session</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_env.html">Env</a>& env, <span class="keyword">const</span> <span class="keywordtype">void</span>* model_data, <span class="keywordtype">size_t</span> model_data_length, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_session_options.html">SessionOptions</a>& options,</div>
|
|
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno"> 791</span> <a class="code hl_typedef" href="group___global.html#ga4b0ed31cf137ed2f763dddd2da40c2cf">OrtPrepackedWeightsContainer</a>* prepacked_weights_container); </div>
|
|
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno"> 792</span> </div>
|
|
<div class="line"><a id="l00793" name="l00793"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#abcc905689ca65a47739f181a845f297c"> 793</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSession</a> <a class="code hl_function" href="struct_ort_1_1_session.html#abcc905689ca65a47739f181a845f297c">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_impl.html">ConstSession</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"><a class="line" href="struct_ort_1_1_session.html#a6b40a8f155c1d920876b08d716fcfbfa"> 794</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">UnownedSession</a> <a class="code hl_function" href="struct_ort_1_1_session.html#a6b40a8f155c1d920876b08d716fcfbfa">GetUnowned</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_session_impl.html">UnownedSession</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"> 795</span>};</div>
|
|
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"> 796</span> </div>
|
|
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"> 797</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno"> 798</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html"> 799</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">MemoryInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a2d86393d083256eb87bef2a350d51c7c"> 800</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno"> 801</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno"> 802</span> </div>
|
|
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a0132e1cebee88bef416cdc9f0361f4a4"> 803</a></span> std::string <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a0132e1cebee88bef416cdc9f0361f4a4">GetAllocatorName</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#acce24280288d4078d4de1034a62e0122"> 804</a></span> <a class="code hl_enumeration" href="group___global.html#ga5b765504a386db304d59e999de9bd1d6">OrtAllocatorType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#acce24280288d4078d4de1034a62e0122">GetAllocatorType</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a1d07e265933ca4d857de6273afc08d83"> 805</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a1d07e265933ca4d857de6273afc08d83">GetDeviceId</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#aac20249370fddd479b98b5372cb03040"> 806</a></span> <a class="code hl_enumeration" href="group___global.html#ga1e39271d4a47f765694d86e5a7d27565">OrtMemoryInfoDeviceType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#aac20249370fddd479b98b5372cb03040">GetDeviceType</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a35590badbb0368397f672c2b27ed4a3b"> 807</a></span> <a class="code hl_enumeration" href="group___global.html#gab7805016f4b26871e899a3cf4114ee0d">OrtMemType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#a35590badbb0368397f672c2b27ed4a3b">GetMemoryType</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"> 808</span> </div>
|
|
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"> 809</span> <span class="keyword">template</span> <<span class="keyword">typename</span> U></div>
|
|
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_memory_info_impl.html#ae715835021edaa2847ff72de85884cdc"> 810</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_memory_info_impl.html#ae715835021edaa2847ff72de85884cdc">operator==</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">MemoryInfoImpl<U></a>& o) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno"> 811</span>};</div>
|
|
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno"> 812</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"> 813</span> </div>
|
|
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span><span class="comment">// Const object holder that does not own the underlying object</span></div>
|
|
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno"><a class="line" href="namespace_ort.html#a07ba56d21401a0ccb036dc08a21a904f"> 815</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">ConstMemoryInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">detail::MemoryInfoImpl<detail::Unowned<const OrtMemoryInfo></a>>;</div>
|
|
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno"> 816</span> </div>
|
|
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html"> 820</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_memory_info.html">MemoryInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">detail::MemoryInfoImpl</a><OrtMemoryInfo> {</div>
|
|
<div class="line"><a id="l00821" name="l00821"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html#a6aba847b75d4d939b825d8a8d291f1e7"> 821</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_memory_info.html">MemoryInfo</a> <a class="code hl_function" href="struct_ort_1_1_memory_info.html#a6aba847b75d4d939b825d8a8d291f1e7">CreateCpu</a>(<a class="code hl_enumeration" href="group___global.html#ga5b765504a386db304d59e999de9bd1d6">OrtAllocatorType</a> type, <a class="code hl_enumeration" href="group___global.html#gab7805016f4b26871e899a3cf4114ee0d">OrtMemType</a> mem_type1);</div>
|
|
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html#a4f517caf94801d72a8a0dc306e78747b"> 822</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_memory_info.html#a4f517caf94801d72a8a0dc306e78747b">MemoryInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html#a64f805cacefdefa63148156e816f1c0d"> 823</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_memory_info.html#a64f805cacefdefa63148156e816f1c0d">MemoryInfo</a>(<a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* p) : MemoryInfoImpl<<a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>>{p} {} </div>
|
|
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html#a3ace49fabf70f845f9f9747d913a8aff"> 824</a></span> <a class="code hl_function" href="struct_ort_1_1_memory_info.html#a3ace49fabf70f845f9f9747d913a8aff">MemoryInfo</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code hl_enumeration" href="group___global.html#ga5b765504a386db304d59e999de9bd1d6">OrtAllocatorType</a> type, <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <a class="code hl_enumeration" href="group___global.html#gab7805016f4b26871e899a3cf4114ee0d">OrtMemType</a> mem_type);</div>
|
|
<div class="line"><a id="l00825" name="l00825"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_info.html#a8eb2db734e7a277d131f10143a4a89c6"> 825</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">ConstMemoryInfo</a> <a class="code hl_function" href="struct_ort_1_1_memory_info.html#a8eb2db734e7a277d131f10143a4a89c6">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">ConstMemoryInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno"> 826</span>};</div>
|
|
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno"> 827</span> </div>
|
|
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno"> 828</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno"> 829</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html"> 830</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">TensorTypeAndShapeInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a6c9e0ea5743ff56e09334f58dbb2fb3f"> 831</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"> 832</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"> 833</span> </div>
|
|
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#ad38e0ee012301ec3fdfb680c3f26f4cf"> 834</a></span> <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#ad38e0ee012301ec3fdfb680c3f26f4cf">GetElementType</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00835" name="l00835"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a147b9d073f3f28d5ad4ea4edc3d8d1ca"> 835</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a147b9d073f3f28d5ad4ea4edc3d8d1ca">GetElementCount</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno"> 836</span> </div>
|
|
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a93e0ba7d39a37a62613c945e6c6ace60"> 837</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a93e0ba7d39a37a62613c945e6c6ace60">GetDimensionsCount</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno"> 838</span> </div>
|
|
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a2ee1c58378c53d42ea1c023513ab3a6c"> 843</a></span> [[deprecated(<span class="stringliteral">"use GetShape()"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a2ee1c58378c53d42ea1c023513ab3a6c">GetDimensions</a>(int64_t* values, <span class="keywordtype">size_t</span> values_count) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno"> 844</span> </div>
|
|
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a7fbf363e618d614e85b99bb8becf90b1"> 845</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a7fbf363e618d614e85b99bb8becf90b1">GetSymbolicDimensions</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>** values, <span class="keywordtype">size_t</span> values_count) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno"> 846</span> </div>
|
|
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a553b1d07adab289060c143086b1be32d"> 847</a></span> std::vector<int64_t> <a class="code hl_function" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a553b1d07adab289060c143086b1be32d">GetShape</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"> 848</span>};</div>
|
|
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno"> 849</span> </div>
|
|
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno"> 850</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno"> 851</span> </div>
|
|
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno"><a class="line" href="namespace_ort.html#a2514fd7bbc520a8dda8043349bac93ff"> 852</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">ConstTensorTypeAndShapeInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">detail::TensorTypeAndShapeInfoImpl<detail::Unowned<const OrtTensorTypeAndShapeInfo></a>>;</div>
|
|
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno"> 853</span> </div>
|
|
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"><a class="line" href="struct_ort_1_1_tensor_type_and_shape_info.html"> 857</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_tensor_type_and_shape_info.html">TensorTypeAndShapeInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">detail::TensorTypeAndShapeInfoImpl</a><OrtTensorTypeAndShapeInfo> {</div>
|
|
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno"><a class="line" href="struct_ort_1_1_tensor_type_and_shape_info.html#a2b3a98e53f2e2164b939ed222f4ad8fb"> 858</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_tensor_type_and_shape_info.html#a2b3a98e53f2e2164b939ed222f4ad8fb">TensorTypeAndShapeInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno"><a class="line" href="struct_ort_1_1_tensor_type_and_shape_info.html#a3d8e30e6f410d181be73a7f9d9f24297"> 859</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_tensor_type_and_shape_info.html#a3d8e30e6f410d181be73a7f9d9f24297">TensorTypeAndShapeInfo</a>(<a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* p) : TensorTypeAndShapeInfoImpl{p} {} </div>
|
|
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno"><a class="line" href="struct_ort_1_1_tensor_type_and_shape_info.html#a3692d5eca3b1d5426cd709df40a6519b"> 860</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">ConstTensorTypeAndShapeInfo</a> <a class="code hl_function" href="struct_ort_1_1_tensor_type_and_shape_info.html#a3692d5eca3b1d5426cd709df40a6519b">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">ConstTensorTypeAndShapeInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno"> 861</span>};</div>
|
|
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"> 862</span> </div>
|
|
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno"> 863</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html"> 865</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">SequenceTypeInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html#ac0477fbeb418871f3ce1d6cbe76b731e"> 866</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"> 867</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html#ac94d99187050fa262b23d0272ebd265d"> 868</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html#ac94d99187050fa262b23d0272ebd265d">GetSequenceElementType</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00869" name="l00869"></a><span class="lineno"> 869</span>};</div>
|
|
<div class="line"><a id="l00870" name="l00870"></a><span class="lineno"> 870</span> </div>
|
|
<div class="line"><a id="l00871" name="l00871"></a><span class="lineno"> 871</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00872" name="l00872"></a><span class="lineno"> 872</span> </div>
|
|
<div class="line"><a id="l00873" name="l00873"></a><span class="lineno"><a class="line" href="namespace_ort.html#aef91a2b529be6bc671543e2b46ce7946"> 873</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">ConstSequenceTypeInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">detail::SequenceTypeInfoImpl<detail::Unowned<const OrtSequenceTypeInfo></a>>;</div>
|
|
<div class="line"><a id="l00874" name="l00874"></a><span class="lineno"> 874</span> </div>
|
|
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno"><a class="line" href="struct_ort_1_1_sequence_type_info.html"> 878</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_sequence_type_info.html">SequenceTypeInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">detail::SequenceTypeInfoImpl</a><OrtSequenceTypeInfo> {</div>
|
|
<div class="line"><a id="l00879" name="l00879"></a><span class="lineno"><a class="line" href="struct_ort_1_1_sequence_type_info.html#a803fe74cd83e82bb1d5529c9e320dd14"> 879</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_sequence_type_info.html#a803fe74cd83e82bb1d5529c9e320dd14">SequenceTypeInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno"><a class="line" href="struct_ort_1_1_sequence_type_info.html#aa255aec0a6272cafec6dcc7c2f2ed411"> 880</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_sequence_type_info.html#aa255aec0a6272cafec6dcc7c2f2ed411">SequenceTypeInfo</a>(<a class="code hl_typedef" href="group___global.html#ga3cf68e3a575b0330628f7955c4ec3388">OrtSequenceTypeInfo</a>* p) : SequenceTypeInfoImpl<<a class="code hl_typedef" href="group___global.html#ga3cf68e3a575b0330628f7955c4ec3388">OrtSequenceTypeInfo</a>>{p} {} </div>
|
|
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno"><a class="line" href="struct_ort_1_1_sequence_type_info.html#a8ae9c70442d7548519de79525f4c97b4"> 881</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">ConstSequenceTypeInfo</a> <a class="code hl_function" href="struct_ort_1_1_sequence_type_info.html#a8ae9c70442d7548519de79525f4c97b4">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">ConstSequenceTypeInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00882" name="l00882"></a><span class="lineno"> 882</span>};</div>
|
|
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"> 883</span> </div>
|
|
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"> 885</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_map_type_info_impl.html"> 886</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">MapTypeInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><T> {</div>
|
|
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_map_type_info_impl.html#a23f5e19c8793d20135c2db9fdfb08c45"> 887</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_map_type_info_impl.html#a4080eb7b08601a867abf5e12b31248bd"> 889</a></span> <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_map_type_info_impl.html#a4080eb7b08601a867abf5e12b31248bd">GetMapKeyType</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_map_type_info_impl.html#af13ed9acc87f3c143d0a1a64909db116"> 890</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_map_type_info_impl.html#af13ed9acc87f3c143d0a1a64909db116">GetMapValueType</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"> 891</span>};</div>
|
|
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> </div>
|
|
<div class="line"><a id="l00893" name="l00893"></a><span class="lineno"> 893</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00894" name="l00894"></a><span class="lineno"> 894</span> </div>
|
|
<div class="line"><a id="l00895" name="l00895"></a><span class="lineno"><a class="line" href="namespace_ort.html#aedb284d6a0389ae3ed6ed75401314c3d"> 895</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">ConstMapTypeInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">detail::MapTypeInfoImpl<detail::Unowned<const OrtMapTypeInfo></a>>;</div>
|
|
<div class="line"><a id="l00896" name="l00896"></a><span class="lineno"> 896</span> </div>
|
|
<div class="line"><a id="l00900" name="l00900"></a><span class="lineno"><a class="line" href="struct_ort_1_1_map_type_info.html"> 900</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_map_type_info.html">MapTypeInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">detail::MapTypeInfoImpl</a><OrtMapTypeInfo> {</div>
|
|
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno"><a class="line" href="struct_ort_1_1_map_type_info.html#ac8b21422b2cfb8bc127aed99082f1602"> 901</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_map_type_info.html#ac8b21422b2cfb8bc127aed99082f1602">MapTypeInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno"><a class="line" href="struct_ort_1_1_map_type_info.html#ac3fbee650e27172698ed4ee135b495ca"> 902</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_map_type_info.html#ac3fbee650e27172698ed4ee135b495ca">MapTypeInfo</a>(<a class="code hl_typedef" href="group___global.html#gac87280b8593f74df62181b124d9a790d">OrtMapTypeInfo</a>* p) : MapTypeInfoImpl<<a class="code hl_typedef" href="group___global.html#gac87280b8593f74df62181b124d9a790d">OrtMapTypeInfo</a>>{p} {} </div>
|
|
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno"><a class="line" href="struct_ort_1_1_map_type_info.html#a026c4958c7ca7501d762a8b8ee53c519"> 903</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">ConstMapTypeInfo</a> <a class="code hl_function" href="struct_ort_1_1_map_type_info.html#a026c4958c7ca7501d762a8b8ee53c519">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">ConstMapTypeInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno"> 904</span>};</div>
|
|
<div class="line"><a id="l00905" name="l00905"></a><span class="lineno"> 905</span> </div>
|
|
<div class="line"><a id="l00906" name="l00906"></a><span class="lineno"> 906</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00907" name="l00907"></a><span class="lineno"> 907</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html"> 908</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">TypeInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><T> {</div>
|
|
<div class="line"><a id="l00909" name="l00909"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html#ad3e8160865a0181733b5fc7a03031c7c"> 909</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00910" name="l00910"></a><span class="lineno"> 910</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00911" name="l00911"></a><span class="lineno"> 911</span> </div>
|
|
<div class="line"><a id="l00912" name="l00912"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html#ae8a04cbdf738ff1760f48c4d4936630b"> 912</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">ConstTensorTypeAndShapeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_type_info_impl.html#ae8a04cbdf738ff1760f48c4d4936630b">GetTensorTypeAndShapeInfo</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html#a7379ced5d9630d56c7bb16bac787a2df"> 913</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">ConstSequenceTypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_type_info_impl.html#a7379ced5d9630d56c7bb16bac787a2df">GetSequenceTypeInfo</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html#adb868f98b531c397a0efc5eef7575767"> 914</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_map_type_info_impl.html">ConstMapTypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_type_info_impl.html#adb868f98b531c397a0efc5eef7575767">GetMapTypeInfo</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno"> 915</span> </div>
|
|
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_type_info_impl.html#a4567504274044ce5cb18744d15a315f5"> 916</a></span> <a class="code hl_enumeration" href="group___global.html#gaba5b3718087699f596432d5649b9a28d">ONNXType</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_type_info_impl.html#a4567504274044ce5cb18744d15a315f5">GetONNXType</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno"> 917</span>};</div>
|
|
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"> 918</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"> 919</span> </div>
|
|
<div class="line"><a id="l00924" name="l00924"></a><span class="lineno"><a class="line" href="namespace_ort.html#a5fb8782dedb2ed4baaeec32697c7848f"> 924</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">ConstTypeInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">detail::TypeInfoImpl<detail::Unowned<const OrtTypeInfo></a>>;</div>
|
|
<div class="line"><a id="l00925" name="l00925"></a><span class="lineno"> 925</span> </div>
|
|
<div class="line"><a id="l00930" name="l00930"></a><span class="lineno"><a class="line" href="struct_ort_1_1_type_info.html"> 930</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">detail::TypeInfoImpl</a><OrtTypeInfo> {</div>
|
|
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno"><a class="line" href="struct_ort_1_1_type_info.html#aa6787301bc9889578cf63fea55a8841a"> 931</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_type_info.html#aa6787301bc9889578cf63fea55a8841a">TypeInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno"><a class="line" href="struct_ort_1_1_type_info.html#aecea6a3091f45864acb1e0ad13d0a8d6"> 932</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_type_info.html#aecea6a3091f45864acb1e0ad13d0a8d6">TypeInfo</a>(<a class="code hl_typedef" href="group___global.html#ga651ed4317ee24a2fb83ae63dd03687b2">OrtTypeInfo</a>* p) : TypeInfoImpl<<a class="code hl_typedef" href="group___global.html#ga651ed4317ee24a2fb83ae63dd03687b2">OrtTypeInfo</a>>{p} {} </div>
|
|
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno"> 933</span> </div>
|
|
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno"><a class="line" href="struct_ort_1_1_type_info.html#abfc6604b6bdf3a6a3f1407009628f2d9"> 934</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">ConstTypeInfo</a> <a class="code hl_function" href="struct_ort_1_1_type_info.html#abfc6604b6bdf3a6a3f1407009628f2d9">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_type_info_impl.html">ConstTypeInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l00935" name="l00935"></a><span class="lineno"> 935</span>};</div>
|
|
<div class="line"><a id="l00936" name="l00936"></a><span class="lineno"> 936</span> </div>
|
|
<div class="line"><a id="l00937" name="l00937"></a><span class="lineno"> 937</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l00938" name="l00938"></a><span class="lineno"> 938</span><span class="comment">// This structure is used to feed sparse tensor values</span></div>
|
|
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno"> 939</span><span class="comment">// information for use with FillSparseTensor<Format>() API</span></div>
|
|
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span><span class="comment">// if the data type for the sparse tensor values is numeric</span></div>
|
|
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span><span class="comment">// use data.p_data, otherwise, use data.str pointer to feed</span></div>
|
|
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span><span class="comment">// values. data.str is an array of const char* that are zero terminated.</span></div>
|
|
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span><span class="comment">// number of strings in the array must match shape size.</span></div>
|
|
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"> 944</span><span class="comment">// For fully sparse tensors use shape {0} and set p_data/str</span></div>
|
|
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno"> 945</span><span class="comment">// to nullptr.</span></div>
|
|
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html"> 946</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">OrtSparseValuesParam</a> {</div>
|
|
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ad5f2e196a14df5f251d4d0fd2ad4462b"> 947</a></span> <span class="keyword">const</span> int64_t* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ad5f2e196a14df5f251d4d0fd2ad4462b">values_shape</a>;</div>
|
|
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae18fe9ff4aea263844b73c703d50dc1b"> 948</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae18fe9ff4aea263844b73c703d50dc1b">values_shape_len</a>;</div>
|
|
<div class="line"><a id="l00949" name="l00949"></a><span class="lineno"> 949</span> <span class="keyword">union </span>{</div>
|
|
<div class="line"><a id="l00950" name="l00950"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae86f906d545b67d072073ae469dfeea0"> 950</a></span> <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae86f906d545b67d072073ae469dfeea0">p_data</a>;</div>
|
|
<div class="line"><a id="l00951" name="l00951"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ac83e32e9c6a77a982bb8364487d6ab8f"> 951</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>** <a class="code hl_variable" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ac83e32e9c6a77a982bb8364487d6ab8f">str</a>;</div>
|
|
<div class="line"><a id="l00952" name="l00952"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ab7cb559305ca6fed7817ca35b05a1341"> 952</a></span> } <a class="code hl_variable" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ab7cb559305ca6fed7817ca35b05a1341">data</a>;</div>
|
|
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno"> 953</span>};</div>
|
|
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno"> 954</span> </div>
|
|
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno"> 955</span><span class="comment">// Provides a way to pass shape in a single</span></div>
|
|
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno"> 956</span><span class="comment">// argument</span></div>
|
|
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_shape.html"> 957</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a> {</div>
|
|
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_shape.html#a248d4b0e3b85a557abe5e3a531efe8c2"> 958</a></span> <span class="keyword">const</span> int64_t* <a class="code hl_variable" href="struct_ort_1_1detail_1_1_shape.html#a248d4b0e3b85a557abe5e3a531efe8c2">shape</a>;</div>
|
|
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_shape.html#ab4ae6ecd1dc85291c1a96a6dfb4dde62"> 959</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="struct_ort_1_1detail_1_1_shape.html#ab4ae6ecd1dc85291c1a96a6dfb4dde62">shape_len</a>;</div>
|
|
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno"> 960</span>};</div>
|
|
<div class="line"><a id="l00961" name="l00961"></a><span class="lineno"> 961</span> </div>
|
|
<div class="line"><a id="l00962" name="l00962"></a><span class="lineno"> 962</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html"> 963</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValueImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab80f19abb74be8f5a489ae95eaa13905"> 964</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno"> 965</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno"> 966</span> </div>
|
|
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno"> 970</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab541b268a2aad607ceec3a3da7be8ba0"> 971</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab541b268a2aad607ceec3a3da7be8ba0">GetOpaqueData</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* domain, <span class="keyword">const</span> <span class="keywordtype">char</span>* type_name, R&) <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"> 972</span> </div>
|
|
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a64c428d4e7a1134f806fcf7b15dc35e7"> 973</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a64c428d4e7a1134f806fcf7b15dc35e7">IsTensor</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#aa2656357fbdb63bcaa3b319191e4e37a"> 974</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#aa2656357fbdb63bcaa3b319191e4e37a">HasValue</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"> 975</span> </div>
|
|
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab0589e1f752d7b18a850699be24c8c84"> 976</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab0589e1f752d7b18a850699be24c8c84">GetCount</a>() <span class="keyword">const</span>; <span class="comment">// If a non tensor, returns 2 for map and N for sequence, where N is the number of elements</span></div>
|
|
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#aafc98d55540fa407b10b06ee4e6a2849"> 977</a></span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#aafc98d55540fa407b10b06ee4e6a2849">GetValue</a>(<span class="keywordtype">int</span> index, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno"> 978</span> </div>
|
|
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a2700d2f2a5d9a7922c81419cc9fed664"> 985</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a2700d2f2a5d9a7922c81419cc9fed664">GetStringTensorDataLength</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"> 986</span> </div>
|
|
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a00830aa9d8da4892472df573b3bb1656"> 1001</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a00830aa9d8da4892472df573b3bb1656">GetStringTensorContent</a>(<span class="keywordtype">void</span>* buffer, <span class="keywordtype">size_t</span> buffer_length, <span class="keywordtype">size_t</span>* offsets, <span class="keywordtype">size_t</span> offsets_count) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01002" name="l01002"></a><span class="lineno"> 1002</span> </div>
|
|
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#aed947feb6d46847d3d6cc0289b377fe6"> 1010</a></span> <span class="keyword">const</span> R* <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#aed947feb6d46847d3d6cc0289b377fe6">GetTensorData</a>() <span class="keyword">const</span>; </div>
|
|
<div class="line"><a id="l01011" name="l01011"></a><span class="lineno"> 1011</span> </div>
|
|
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a183c3ebf0e4d24698a782674fb9cced0"> 1016</a></span> <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a183c3ebf0e4d24698a782674fb9cced0">GetTensorRawData</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span> </div>
|
|
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a5ff868faaa0f476137844f1fe6053e42"> 1024</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a5ff868faaa0f476137844f1fe6053e42">GetTypeInfo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span> </div>
|
|
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a9f945911eac6ee23534ce527488a6d5e"> 1032</a></span> <a class="code hl_struct" href="struct_ort_1_1_tensor_type_and_shape_info.html">TensorTypeAndShapeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a9f945911eac6ee23534ce527488a6d5e">GetTensorTypeAndShapeInfo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span> </div>
|
|
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a7342c33f055407202f6b0e4ed209ead0"> 1038</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">ConstMemoryInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a7342c33f055407202f6b0e4ed209ead0">GetTensorMemoryInfo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"> 1039</span> </div>
|
|
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a11173caf6ac2fdc03fb1c3981fec9b3d"> 1048</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a11173caf6ac2fdc03fb1c3981fec9b3d">GetStringTensorElement</a>(<span class="keywordtype">size_t</span> buffer_length, <span class="keywordtype">size_t</span> element_index, <span class="keywordtype">void</span>* buffer) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"> 1049</span> </div>
|
|
<div class="line"><a id="l01056" name="l01056"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a21460daeba8be912b5d21ef9aa6dd717"> 1056</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a21460daeba8be912b5d21ef9aa6dd717">GetStringTensorElementLength</a>(<span class="keywordtype">size_t</span> element_index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span> </div>
|
|
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"> 1058</span><span class="preprocessor">#if !defined(DISABLE_SPARSE_TENSORS)</span></div>
|
|
<div class="line"><a id="l01065" name="l01065"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#afc36132cb6a308a8beaa5ebaaf1aea58"> 1065</a></span> <a class="code hl_enumeration" href="group___global.html#gaba2697542109e4ab6b24a8fbb847812d">OrtSparseFormat</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#afc36132cb6a308a8beaa5ebaaf1aea58">GetSparseFormat</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01066" name="l01066"></a><span class="lineno"> 1066</span> </div>
|
|
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab986f32751dc04d125b310fb91b05ab7"> 1072</a></span> <a class="code hl_struct" href="struct_ort_1_1_tensor_type_and_shape_info.html">TensorTypeAndShapeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#ab986f32751dc04d125b310fb91b05ab7">GetSparseTensorValuesTypeAndShapeInfo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01073" name="l01073"></a><span class="lineno"> 1073</span> </div>
|
|
<div class="line"><a id="l01081" name="l01081"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a14f83505e75304b45d70c8e41e65a070"> 1081</a></span> <a class="code hl_struct" href="struct_ort_1_1_tensor_type_and_shape_info.html">TensorTypeAndShapeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a14f83505e75304b45d70c8e41e65a070">GetSparseTensorIndicesTypeShapeInfo</a>(<a class="code hl_enumeration" href="group___global.html#ga497c04502f658b896b265233fc890787">OrtSparseIndicesFormat</a> format) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span> </div>
|
|
<div class="line"><a id="l01092" name="l01092"></a><span class="lineno"> 1092</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l01093" name="l01093"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a6100cd63b21154bf72baf191c52631cd"> 1093</a></span> <span class="keyword">const</span> R* <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a6100cd63b21154bf72baf191c52631cd">GetSparseTensorIndicesData</a>(<a class="code hl_enumeration" href="group___global.html#ga497c04502f658b896b265233fc890787">OrtSparseIndicesFormat</a> indices_format, <span class="keywordtype">size_t</span>& num_indices) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01094" name="l01094"></a><span class="lineno"> 1094</span> </div>
|
|
<div class="line"><a id="l01099" name="l01099"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a446256778924195baf3e340711a6ef44"> 1099</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a446256778924195baf3e340711a6ef44">IsSparseTensor</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01100" name="l01100"></a><span class="lineno"> 1100</span> </div>
|
|
<div class="line"><a id="l01109" name="l01109"></a><span class="lineno"> 1109</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l01110" name="l01110"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_value_impl.html#a98ed067e5d11dde40386232f0ed33211"> 1110</a></span> <span class="keyword">const</span> R* <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_value_impl.html#a98ed067e5d11dde40386232f0ed33211">GetSparseTensorValues</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"> 1111</span> </div>
|
|
<div class="line"><a id="l01112" name="l01112"></a><span class="lineno"> 1112</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l01113" name="l01113"></a><span class="lineno"> 1113</span>};</div>
|
|
<div class="line"><a id="l01114" name="l01114"></a><span class="lineno"> 1114</span> </div>
|
|
<div class="line"><a id="l01115" name="l01115"></a><span class="lineno"> 1115</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html"> 1116</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">ValueImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValueImpl</a><T> {</div>
|
|
<div class="line"><a id="l01117" name="l01117"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#aa56bd5e28c57ca24311ce48792326d6e"> 1117</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValueImpl<T></a>;</div>
|
|
<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#ab80f19abb74be8f5a489ae95eaa13905"> 1118</a></span> <span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_base.html">B::B</a>;</div>
|
|
<div class="line"><a id="l01119" name="l01119"></a><span class="lineno"> 1119</span> </div>
|
|
<div class="line"><a id="l01125" name="l01125"></a><span class="lineno"> 1125</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l01126" name="l01126"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a28317ae875d9c8b35f0cbed64f776c5a"> 1126</a></span> R* <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a28317ae875d9c8b35f0cbed64f776c5a">GetTensorMutableData</a>();</div>
|
|
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"> 1127</span> </div>
|
|
<div class="line"><a id="l01132" name="l01132"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a8b55de64b5457b5fd0538ec8225a0507"> 1132</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a8b55de64b5457b5fd0538ec8225a0507">GetTensorMutableRawData</a>();</div>
|
|
<div class="line"><a id="l01133" name="l01133"></a><span class="lineno"> 1133</span> </div>
|
|
<div class="line"><a id="l01135" name="l01135"></a><span class="lineno"> 1135</span> <span class="comment">// Obtain a reference to an element of data at the location specified</span></div>
|
|
<div class="line"><a id="l01141" name="l01141"></a><span class="lineno"> 1141</span><span class="comment"></span> <span class="keyword">template</span> <<span class="keyword">typename</span> R></div>
|
|
<div class="line"><a id="l01142" name="l01142"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a657fe9ca6bd6e2dc09c0beb95ee3e1eb"> 1142</a></span> R& <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a657fe9ca6bd6e2dc09c0beb95ee3e1eb">At</a>(<span class="keyword">const</span> std::vector<int64_t>& location);</div>
|
|
<div class="line"><a id="l01143" name="l01143"></a><span class="lineno"> 1143</span> </div>
|
|
<div class="line"><a id="l01149" name="l01149"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#ac98717a93e02f4b91ebabaf3c4ab891c"> 1149</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#ac98717a93e02f4b91ebabaf3c4ab891c">FillStringTensor</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* s, <span class="keywordtype">size_t</span> s_len);</div>
|
|
<div class="line"><a id="l01150" name="l01150"></a><span class="lineno"> 1150</span> </div>
|
|
<div class="line"><a id="l01156" name="l01156"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a0a59534f82ccf9ff55b8a692270e4503"> 1156</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a0a59534f82ccf9ff55b8a692270e4503">FillStringTensorElement</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s, <span class="keywordtype">size_t</span> index);</div>
|
|
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"> 1157</span> </div>
|
|
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"> 1158</span><span class="preprocessor">#if !defined(DISABLE_SPARSE_TENSORS)</span></div>
|
|
<div class="line"><a id="l01167" name="l01167"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a8b80e2a725f45cdeceb06bcba643e978"> 1167</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a8b80e2a725f45cdeceb06bcba643e978">UseCooIndices</a>(int64_t* indices_data, <span class="keywordtype">size_t</span> indices_num);</div>
|
|
<div class="line"><a id="l01168" name="l01168"></a><span class="lineno"> 1168</span> </div>
|
|
<div class="line"><a id="l01179" name="l01179"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#adc53699ae881046ccf26527fb0e0d7d2"> 1179</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#adc53699ae881046ccf26527fb0e0d7d2">UseCsrIndices</a>(int64_t* inner_data, <span class="keywordtype">size_t</span> inner_num, int64_t* outer_data, <span class="keywordtype">size_t</span> outer_num);</div>
|
|
<div class="line"><a id="l01180" name="l01180"></a><span class="lineno"> 1180</span> </div>
|
|
<div class="line"><a id="l01189" name="l01189"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a68ba9e6d44e6a1141c04d1fefaa3b6c6"> 1189</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a68ba9e6d44e6a1141c04d1fefaa3b6c6">UseBlockSparseIndices</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& indices_shape, int32_t* indices_data);</div>
|
|
<div class="line"><a id="l01190" name="l01190"></a><span class="lineno"> 1190</span> </div>
|
|
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#ab30c08c17ce26d0c89e8c7dea62f9a75"> 1200</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#ab30c08c17ce26d0c89e8c7dea62f9a75">FillSparseTensorCoo</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* data_mem_info, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">OrtSparseValuesParam</a>& values_param,</div>
|
|
<div class="line"><a id="l01201" name="l01201"></a><span class="lineno"> 1201</span> <span class="keyword">const</span> int64_t* indices_data, <span class="keywordtype">size_t</span> indices_num);</div>
|
|
<div class="line"><a id="l01202" name="l01202"></a><span class="lineno"> 1202</span> </div>
|
|
<div class="line"><a id="l01214" name="l01214"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#af67cc830bdf35e40717b06ca70b22ead"> 1214</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#af67cc830bdf35e40717b06ca70b22ead">FillSparseTensorCsr</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* data_mem_info,</div>
|
|
<div class="line"><a id="l01215" name="l01215"></a><span class="lineno"> 1215</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">OrtSparseValuesParam</a>& values,</div>
|
|
<div class="line"><a id="l01216" name="l01216"></a><span class="lineno"> 1216</span> <span class="keyword">const</span> int64_t* inner_indices_data, <span class="keywordtype">size_t</span> inner_indices_num,</div>
|
|
<div class="line"><a id="l01217" name="l01217"></a><span class="lineno"> 1217</span> <span class="keyword">const</span> int64_t* outer_indices_data, <span class="keywordtype">size_t</span> outer_indices_num);</div>
|
|
<div class="line"><a id="l01218" name="l01218"></a><span class="lineno"> 1218</span> </div>
|
|
<div class="line"><a id="l01228" name="l01228"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_value_impl.html#a7a57d606a608abda7df7b9b23a301a3e"> 1228</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_value_impl.html#a7a57d606a608abda7df7b9b23a301a3e">FillSparseTensorBlockSparse</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* data_mem_info,</div>
|
|
<div class="line"><a id="l01229" name="l01229"></a><span class="lineno"> 1229</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">OrtSparseValuesParam</a>& values,</div>
|
|
<div class="line"><a id="l01230" name="l01230"></a><span class="lineno"> 1230</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& indices_shape,</div>
|
|
<div class="line"><a id="l01231" name="l01231"></a><span class="lineno"> 1231</span> <span class="keyword">const</span> int32_t* indices_data);</div>
|
|
<div class="line"><a id="l01232" name="l01232"></a><span class="lineno"> 1232</span> </div>
|
|
<div class="line"><a id="l01233" name="l01233"></a><span class="lineno"> 1233</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l01234" name="l01234"></a><span class="lineno"> 1234</span>};</div>
|
|
<div class="line"><a id="l01235" name="l01235"></a><span class="lineno"> 1235</span> </div>
|
|
<div class="line"><a id="l01236" name="l01236"></a><span class="lineno"> 1236</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l01237" name="l01237"></a><span class="lineno"> 1237</span> </div>
|
|
<div class="line"><a id="l01238" name="l01238"></a><span class="lineno"><a class="line" href="namespace_ort.html#afe583bdd408314ab9216f27997fe3cfe"> 1238</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValue</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">detail::ConstValueImpl<detail::Unowned<const OrtValue></a>>;</div>
|
|
<div class="line"><a id="l01239" name="l01239"></a><span class="lineno"><a class="line" href="namespace_ort.html#ae76d2b32827c348b72fbe4091ee40f92"> 1239</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">UnownedValue</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">detail::ValueImpl<detail::Unowned<OrtValue></a>>;</div>
|
|
<div class="line"><a id="l01240" name="l01240"></a><span class="lineno"> 1240</span> </div>
|
|
<div class="line"><a id="l01244" name="l01244"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html"> 1244</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">detail::ValueImpl</a><OrtValue> {</div>
|
|
<div class="line"><a id="l01245" name="l01245"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#acaa37dd471180adc7e0feba8bee065c9"> 1245</a></span> <span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_value_impl.html">Base</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">detail::ValueImpl<OrtValue></a>;</div>
|
|
<div class="line"><a id="l01246" name="l01246"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a488c55bbedb38c3f505a4fe6accc36bf"> 1246</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">OrtSparseValuesParam</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">detail::OrtSparseValuesParam</a>;</div>
|
|
<div class="line"><a id="l01247" name="l01247"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#aa887af73b5a841819423295063c10836"> 1247</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">detail::Shape</a>;</div>
|
|
<div class="line"><a id="l01248" name="l01248"></a><span class="lineno"> 1248</span> </div>
|
|
<div class="line"><a id="l01249" name="l01249"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a233d9a9878a69295ad504ea2b22b4d1f"> 1249</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_value.html#a233d9a9878a69295ad504ea2b22b4d1f">Value</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01250" name="l01250"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a4e744a54c1fe6c477cccbe33b580fe3b"> 1250</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_value.html#a4e744a54c1fe6c477cccbe33b580fe3b">Value</a>(<a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* p) : <a class="code hl_class" href="struct_ort_1_1detail_1_1_value_impl.html">Base</a>{p} {} </div>
|
|
<div class="line"><a id="l01251" name="l01251"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a1b7884f57758a06ca3b1203fcff98a08"> 1251</a></span> <a class="code hl_function" href="struct_ort_1_1_value.html#a1b7884f57758a06ca3b1203fcff98a08">Value</a>(<a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>&&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l01252" name="l01252"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a14ce9c0a1b41a61eb0f94bc9070539eb"> 1252</a></span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>& <a class="code hl_function" href="struct_ort_1_1_value.html#a14ce9c0a1b41a61eb0f94bc9070539eb">operator=</a>(<a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>&&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l01253" name="l01253"></a><span class="lineno"> 1253</span> </div>
|
|
<div class="line"><a id="l01254" name="l01254"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#ae7df58aec9512b5744e9869b0360ee77"> 1254</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValue</a> <a class="code hl_function" href="struct_ort_1_1_value.html#ae7df58aec9512b5744e9869b0360ee77">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValue</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l01255" name="l01255"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a5def834adf6750b31b7fdead89b67a07"> 1255</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">UnownedValue</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a5def834adf6750b31b7fdead89b67a07">GetUnowned</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">UnownedValue</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l01256" name="l01256"></a><span class="lineno"> 1256</span> </div>
|
|
<div class="line"><a id="l01265" name="l01265"></a><span class="lineno"> 1265</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01266" name="l01266"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a3898146b5fc35b838bd48db807dd6c8e"> 1266</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a3898146b5fc35b838bd48db807dd6c8e">CreateTensor</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* info, T* p_data, <span class="keywordtype">size_t</span> p_data_element_count, <span class="keyword">const</span> int64_t* shape, <span class="keywordtype">size_t</span> shape_len);</div>
|
|
<div class="line"><a id="l01267" name="l01267"></a><span class="lineno"> 1267</span> </div>
|
|
<div class="line"><a id="l01276" name="l01276"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#ab19ff01babfb77660ed022c4057046ef"> 1276</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#ab19ff01babfb77660ed022c4057046ef">CreateTensor</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* info, <span class="keywordtype">void</span>* p_data, <span class="keywordtype">size_t</span> p_data_byte_count, <span class="keyword">const</span> int64_t* shape, <span class="keywordtype">size_t</span> shape_len,</div>
|
|
<div class="line"><a id="l01277" name="l01277"></a><span class="lineno"> 1277</span> <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> type);</div>
|
|
<div class="line"><a id="l01278" name="l01278"></a><span class="lineno"> 1278</span> </div>
|
|
<div class="line"><a id="l01285" name="l01285"></a><span class="lineno"> 1285</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01286" name="l01286"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#acacfe668acf9b55ffcd9d375c7f32053"> 1286</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#acacfe668acf9b55ffcd9d375c7f32053">CreateTensor</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator, <span class="keyword">const</span> int64_t* shape, <span class="keywordtype">size_t</span> shape_len);</div>
|
|
<div class="line"><a id="l01287" name="l01287"></a><span class="lineno"> 1287</span> </div>
|
|
<div class="line"><a id="l01294" name="l01294"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a5d35080239ae47cdbc9e505666dc32ec"> 1294</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a5d35080239ae47cdbc9e505666dc32ec">CreateTensor</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator, <span class="keyword">const</span> int64_t* shape, <span class="keywordtype">size_t</span> shape_len, <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> type);</div>
|
|
<div class="line"><a id="l01295" name="l01295"></a><span class="lineno"> 1295</span> </div>
|
|
<div class="line"><a id="l01296" name="l01296"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a028498f12d19f373b7479abe8a4a8b75"> 1296</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a028498f12d19f373b7479abe8a4a8b75">CreateMap</a>(<a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>& keys, <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>& values); </div>
|
|
<div class="line"><a id="l01297" name="l01297"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#ad4ca9c86f4996e9490e7e9de960f7afc"> 1297</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#ad4ca9c86f4996e9490e7e9de960f7afc">CreateSequence</a>(std::vector<Value>& values); </div>
|
|
<div class="line"><a id="l01298" name="l01298"></a><span class="lineno"> 1298</span> </div>
|
|
<div class="line"><a id="l01299" name="l01299"></a><span class="lineno"> 1299</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01300" name="l01300"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#aba8bad055b8cdaa1fb57f9aba9e6773e"> 1300</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#aba8bad055b8cdaa1fb57f9aba9e6773e">CreateOpaque</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* domain, <span class="keyword">const</span> <span class="keywordtype">char</span>* type_name, <span class="keyword">const</span> T&); </div>
|
|
<div class="line"><a id="l01301" name="l01301"></a><span class="lineno"> 1301</span> </div>
|
|
<div class="line"><a id="l01302" name="l01302"></a><span class="lineno"> 1302</span><span class="preprocessor">#if !defined(DISABLE_SPARSE_TENSORS)</span></div>
|
|
<div class="line"><a id="l01313" name="l01313"></a><span class="lineno"> 1313</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01314" name="l01314"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a07bd3c4da603a8fc23ea6e1f86482f6b"> 1314</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a07bd3c4da603a8fc23ea6e1f86482f6b">CreateSparseTensor</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* info, T* p_data, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& dense_shape,</div>
|
|
<div class="line"><a id="l01315" name="l01315"></a><span class="lineno"> 1315</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& values_shape);</div>
|
|
<div class="line"><a id="l01316" name="l01316"></a><span class="lineno"> 1316</span> </div>
|
|
<div class="line"><a id="l01333" name="l01333"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a059315bd22476066e30a2d6034bfb9d3"> 1333</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a059315bd22476066e30a2d6034bfb9d3">CreateSparseTensor</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* info, <span class="keywordtype">void</span>* p_data, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& dense_shape,</div>
|
|
<div class="line"><a id="l01334" name="l01334"></a><span class="lineno"> 1334</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& values_shape, <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> type);</div>
|
|
<div class="line"><a id="l01335" name="l01335"></a><span class="lineno"> 1335</span> </div>
|
|
<div class="line"><a id="l01345" name="l01345"></a><span class="lineno"> 1345</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01346" name="l01346"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a560452c9940a9756089e42d767932e46"> 1346</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a560452c9940a9756089e42d767932e46">CreateSparseTensor</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& dense_shape);</div>
|
|
<div class="line"><a id="l01347" name="l01347"></a><span class="lineno"> 1347</span> </div>
|
|
<div class="line"><a id="l01359" name="l01359"></a><span class="lineno"><a class="line" href="struct_ort_1_1_value.html#a15ae05c786194af9ba2e541a91233b2f"> 1359</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1_value.html#a15ae05c786194af9ba2e541a91233b2f">CreateSparseTensor</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_shape.html">Shape</a>& dense_shape, <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> type);</div>
|
|
<div class="line"><a id="l01360" name="l01360"></a><span class="lineno"> 1360</span> </div>
|
|
<div class="line"><a id="l01361" name="l01361"></a><span class="lineno"> 1361</span><span class="preprocessor">#endif </span><span class="comment">// !defined(DISABLE_SPARSE_TENSORS)</span></div>
|
|
<div class="line"><a id="l01362" name="l01362"></a><span class="lineno"> 1362</span>};</div>
|
|
<div class="line"><a id="l01363" name="l01363"></a><span class="lineno"> 1363</span> </div>
|
|
<div class="line"><a id="l01370" name="l01370"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html"> 1370</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a> {</div>
|
|
<div class="line"><a id="l01371" name="l01371"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#ad452330302589764f470e18d50ea99cc"> 1371</a></span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#ad452330302589764f470e18d50ea99cc">MemoryAllocation</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#aedec2ec4928b1a6c7dbfd0d33dc87caf">size</a>);</div>
|
|
<div class="line"><a id="l01372" name="l01372"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#a668c96690c510873dd2a66b3d2819405"> 1372</a></span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#a668c96690c510873dd2a66b3d2819405">~MemoryAllocation</a>();</div>
|
|
<div class="line"><a id="l01373" name="l01373"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#a9f1fccffe728b743aaf5de046f45b3ae"> 1373</a></span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#a9f1fccffe728b743aaf5de046f45b3ae">MemoryAllocation</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l01374" name="l01374"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#a0ab8a17a34f5db87320088c4ad0081f4"> 1374</a></span> <a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>& <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#a0ab8a17a34f5db87320088c4ad0081f4">operator=</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l01375" name="l01375"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#a07e6b48d0ceba7fd7498c1e441ec87a9"> 1375</a></span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#a07e6b48d0ceba7fd7498c1e441ec87a9">MemoryAllocation</a>(<a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>&&) noexcept;</div>
|
|
<div class="line"><a id="l01376" name="l01376"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#aef9695cd978aa505546ef46c98e32894"> 1376</a></span> <a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>& operator=(<a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a>&&) noexcept;</div>
|
|
<div class="line"><a id="l01377" name="l01377"></a><span class="lineno"> 1377</span> </div>
|
|
<div class="line"><a id="l01378" name="l01378"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#a42a142a6fb7abd3fa8ca04332cf924d6"> 1378</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#a42a142a6fb7abd3fa8ca04332cf924d6">get</a>() { <span class="keywordflow">return</span> p_; }</div>
|
|
<div class="line"><a id="l01379" name="l01379"></a><span class="lineno"><a class="line" href="struct_ort_1_1_memory_allocation.html#aedec2ec4928b1a6c7dbfd0d33dc87caf"> 1379</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_memory_allocation.html#aedec2ec4928b1a6c7dbfd0d33dc87caf">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_; }</div>
|
|
<div class="line"><a id="l01380" name="l01380"></a><span class="lineno"> 1380</span> </div>
|
|
<div class="line"><a id="l01381" name="l01381"></a><span class="lineno"> 1381</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l01382" name="l01382"></a><span class="lineno"> 1382</span> <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator_;</div>
|
|
<div class="line"><a id="l01383" name="l01383"></a><span class="lineno"> 1383</span> <span class="keywordtype">void</span>* p_;</div>
|
|
<div class="line"><a id="l01384" name="l01384"></a><span class="lineno"> 1384</span> <span class="keywordtype">size_t</span> size_;</div>
|
|
<div class="line"><a id="l01385" name="l01385"></a><span class="lineno"> 1385</span>};</div>
|
|
<div class="line"><a id="l01386" name="l01386"></a><span class="lineno"> 1386</span> </div>
|
|
<div class="line"><a id="l01387" name="l01387"></a><span class="lineno"> 1387</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l01388" name="l01388"></a><span class="lineno"> 1388</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01389" name="l01389"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html"> 1389</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_allocator_impl.html">AllocatorImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l01390" name="l01390"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html#a9aee979a8fba064e3c4936868cec3fa1"> 1390</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l01391" name="l01391"></a><span class="lineno"> 1391</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l01392" name="l01392"></a><span class="lineno"> 1392</span> </div>
|
|
<div class="line"><a id="l01393" name="l01393"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html#a8f7c3025aec82a5938abbbb0ae0e5a62"> 1393</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocator_impl.html#a8f7c3025aec82a5938abbbb0ae0e5a62">Alloc</a>(<span class="keywordtype">size_t</span> size);</div>
|
|
<div class="line"><a id="l01394" name="l01394"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html#ad8f9ba9142ce9e23c272a7000c6294d9"> 1394</a></span> <a class="code hl_struct" href="struct_ort_1_1_memory_allocation.html">MemoryAllocation</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocator_impl.html#ad8f9ba9142ce9e23c272a7000c6294d9">GetAllocation</a>(<span class="keywordtype">size_t</span> size);</div>
|
|
<div class="line"><a id="l01395" name="l01395"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html#a9745fe1bd18d3be8000357540feeae02"> 1395</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocator_impl.html#a9745fe1bd18d3be8000357540feeae02">Free</a>(<span class="keywordtype">void</span>* p);</div>
|
|
<div class="line"><a id="l01396" name="l01396"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_allocator_impl.html#a464e2685283b16d0770e987373c3449f"> 1396</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_memory_info_impl.html">ConstMemoryInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_allocator_impl.html#a464e2685283b16d0770e987373c3449f">GetInfo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01397" name="l01397"></a><span class="lineno"> 1397</span>};</div>
|
|
<div class="line"><a id="l01398" name="l01398"></a><span class="lineno"> 1398</span> </div>
|
|
<div class="line"><a id="l01399" name="l01399"></a><span class="lineno"> 1399</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l01400" name="l01400"></a><span class="lineno"> 1400</span> </div>
|
|
<div class="line"><a id="l01404" name="l01404"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator_with_default_options.html"> 1404</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_allocator_with_default_options.html">AllocatorWithDefaultOptions</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_allocator_impl.html">detail::AllocatorImpl</a><detail::Unowned<OrtAllocator>> {</div>
|
|
<div class="line"><a id="l01405" name="l01405"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator_with_default_options.html#ab1f5ef8a6907aae2fec5331afa708529"> 1405</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_allocator_with_default_options.html#ab1f5ef8a6907aae2fec5331afa708529">AllocatorWithDefaultOptions</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01406" name="l01406"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator_with_default_options.html#ad25e08123ae46e2202996d121e7d29e7"> 1406</a></span> <a class="code hl_function" href="struct_ort_1_1_allocator_with_default_options.html#ad25e08123ae46e2202996d121e7d29e7">AllocatorWithDefaultOptions</a>();</div>
|
|
<div class="line"><a id="l01407" name="l01407"></a><span class="lineno"> 1407</span>};</div>
|
|
<div class="line"><a id="l01408" name="l01408"></a><span class="lineno"> 1408</span> </div>
|
|
<div class="line"><a id="l01412" name="l01412"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator.html"> 1412</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_allocator.html">Allocator</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_allocator_impl.html">detail::AllocatorImpl</a><OrtAllocator> {</div>
|
|
<div class="line"><a id="l01413" name="l01413"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator.html#aeaf5b8cd9b23bcd4205759121bc97b34"> 1413</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_allocator.html#aeaf5b8cd9b23bcd4205759121bc97b34">Allocator</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01414" name="l01414"></a><span class="lineno"><a class="line" href="struct_ort_1_1_allocator.html#a53b0673e46add5d2cd4c171a4e87ac7c"> 1414</a></span> <a class="code hl_function" href="struct_ort_1_1_allocator.html#a53b0673e46add5d2cd4c171a4e87ac7c">Allocator</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_session.html">Session</a>& session, <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>*);</div>
|
|
<div class="line"><a id="l01415" name="l01415"></a><span class="lineno"> 1415</span>};</div>
|
|
<div class="line"><a id="l01416" name="l01416"></a><span class="lineno"> 1416</span> </div>
|
|
<div class="line"><a id="l01417" name="l01417"></a><span class="lineno"><a class="line" href="namespace_ort.html#a5ad71ff12df224ed66848b0cbac253e2"> 1417</a></span><span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_allocator_impl.html">UnownedAllocator</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_allocator_impl.html">detail::AllocatorImpl<detail::Unowned<OrtAllocator></a>>;</div>
|
|
<div class="line"><a id="l01418" name="l01418"></a><span class="lineno"> 1418</span> </div>
|
|
<div class="line"><a id="l01419" name="l01419"></a><span class="lineno"> 1419</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l01420" name="l01420"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1binding__utils.html"> 1420</a></span><span class="keyword">namespace </span>binding_utils {</div>
|
|
<div class="line"><a id="l01421" name="l01421"></a><span class="lineno"> 1421</span><span class="comment">// Bring these out of template</span></div>
|
|
<div class="line"><a id="l01422" name="l01422"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1binding__utils.html#a9339c079af35b8bb9f2e206ceb229cfa"> 1422</a></span>std::vector<std::string> <a class="code hl_function" href="namespace_ort_1_1detail_1_1binding__utils.html#a9339c079af35b8bb9f2e206ceb229cfa">GetOutputNamesHelper</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga58e534aaa9cdcee02d79ffddced86c93">OrtIoBinding</a>* binding, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>*);</div>
|
|
<div class="line"><a id="l01423" name="l01423"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1binding__utils.html#a5970970dc97596c682af2b3a54596077"> 1423</a></span>std::vector<Value> <a class="code hl_function" href="namespace_ort_1_1detail_1_1binding__utils.html#a5970970dc97596c682af2b3a54596077">GetOutputValuesHelper</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga58e534aaa9cdcee02d79ffddced86c93">OrtIoBinding</a>* binding, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>*);</div>
|
|
<div class="line"><a id="l01424" name="l01424"></a><span class="lineno"> 1424</span>} <span class="comment">// namespace binding_utils</span></div>
|
|
<div class="line"><a id="l01425" name="l01425"></a><span class="lineno"> 1425</span> </div>
|
|
<div class="line"><a id="l01426" name="l01426"></a><span class="lineno"> 1426</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01427" name="l01427"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html"> 1427</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBindingImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a937a0cf0a42523e4a3113725b2dca021"> 1428</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l01429" name="l01429"></a><span class="lineno"> 1429</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l01430" name="l01430"></a><span class="lineno"> 1430</span> </div>
|
|
<div class="line"><a id="l01431" name="l01431"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#ae6fb69978855e2516c26c8a863bff423"> 1431</a></span> std::vector<std::string> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#ae6fb69978855e2516c26c8a863bff423">GetOutputNames</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01432" name="l01432"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a5c0b14cb495aaf9d7efdbab616303083"> 1432</a></span> std::vector<std::string> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a5c0b14cb495aaf9d7efdbab616303083">GetOutputNames</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>*) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01433" name="l01433"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a8f761bbfea27b9498fc5be73779ec99b"> 1433</a></span> std::vector<Value> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a8f761bbfea27b9498fc5be73779ec99b">GetOutputValues</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01434" name="l01434"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a47809f05a78204318eba95cf36c1d14e"> 1434</a></span> std::vector<Value> <a class="code hl_function" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a47809f05a78204318eba95cf36c1d14e">GetOutputValues</a>(<a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>*) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01435" name="l01435"></a><span class="lineno"> 1435</span>};</div>
|
|
<div class="line"><a id="l01436" name="l01436"></a><span class="lineno"> 1436</span> </div>
|
|
<div class="line"><a id="l01437" name="l01437"></a><span class="lineno"> 1437</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01438" name="l01438"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html"> 1438</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">IoBindingImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBindingImpl</a><T> {</div>
|
|
<div class="line"><a id="l01439" name="l01439"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#aa321e23752b347007bbff3330b58e6b0"> 1439</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBindingImpl<T></a>;</div>
|
|
<div class="line"><a id="l01440" name="l01440"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a937a0cf0a42523e4a3113725b2dca021"> 1440</a></span> <span class="keyword">using </span><a class="code hl_class" href="struct_ort_1_1detail_1_1_base.html">B::B</a>;</div>
|
|
<div class="line"><a id="l01441" name="l01441"></a><span class="lineno"> 1441</span> </div>
|
|
<div class="line"><a id="l01442" name="l01442"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a2b865926b84147174ec138161f54fc32"> 1442</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a2b865926b84147174ec138161f54fc32">BindInput</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>&);</div>
|
|
<div class="line"><a id="l01443" name="l01443"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a004f59687c421698e52732a669cbd69c"> 1443</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a004f59687c421698e52732a669cbd69c">BindOutput</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>&);</div>
|
|
<div class="line"><a id="l01444" name="l01444"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#aceaf8f2a11b43d17ec45deaeb7b1db9d"> 1444</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#aceaf8f2a11b43d17ec45deaeb7b1db9d">BindOutput</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>*);</div>
|
|
<div class="line"><a id="l01445" name="l01445"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a224718bcbf27ab048988588001b80027"> 1445</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a224718bcbf27ab048988588001b80027">ClearBoundInputs</a>();</div>
|
|
<div class="line"><a id="l01446" name="l01446"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#aab42e1313e913a8ebfb27620dbadd998"> 1446</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#aab42e1313e913a8ebfb27620dbadd998">ClearBoundOutputs</a>();</div>
|
|
<div class="line"><a id="l01447" name="l01447"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a0f181f754a46af20b3583654bf0e9a94"> 1447</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#a0f181f754a46af20b3583654bf0e9a94">SynchronizeInputs</a>();</div>
|
|
<div class="line"><a id="l01448" name="l01448"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_io_binding_impl.html#ac51e35ad743c61a9351d17e669e1d673"> 1448</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_io_binding_impl.html#ac51e35ad743c61a9351d17e669e1d673">SynchronizeOutputs</a>();</div>
|
|
<div class="line"><a id="l01449" name="l01449"></a><span class="lineno"> 1449</span>};</div>
|
|
<div class="line"><a id="l01450" name="l01450"></a><span class="lineno"> 1450</span> </div>
|
|
<div class="line"><a id="l01451" name="l01451"></a><span class="lineno"> 1451</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l01452" name="l01452"></a><span class="lineno"> 1452</span> </div>
|
|
<div class="line"><a id="l01453" name="l01453"></a><span class="lineno"><a class="line" href="namespace_ort.html#a3011d9e36da80b801845ac0a66a691ed"> 1453</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBinding</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">detail::ConstIoBindingImpl<detail::Unowned<const OrtIoBinding></a>>;</div>
|
|
<div class="line"><a id="l01454" name="l01454"></a><span class="lineno"><a class="line" href="namespace_ort.html#ad26af08ba1810863bce56f723709fedf"> 1454</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">UnownedIoBinding</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">detail::IoBindingImpl<detail::Unowned<OrtIoBinding></a>>;</div>
|
|
<div class="line"><a id="l01455" name="l01455"></a><span class="lineno"> 1455</span> </div>
|
|
<div class="line"><a id="l01459" name="l01459"></a><span class="lineno"><a class="line" href="struct_ort_1_1_io_binding.html"> 1459</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_io_binding.html">IoBinding</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">detail::IoBindingImpl</a><OrtIoBinding> {</div>
|
|
<div class="line"><a id="l01460" name="l01460"></a><span class="lineno"><a class="line" href="struct_ort_1_1_io_binding.html#af002b4befdc734d992039108ae7013a7"> 1460</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_io_binding.html#af002b4befdc734d992039108ae7013a7">IoBinding</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01461" name="l01461"></a><span class="lineno"><a class="line" href="struct_ort_1_1_io_binding.html#aeae142c9f100a5f34c29fbdecde58cf4"> 1461</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_io_binding.html#aeae142c9f100a5f34c29fbdecde58cf4">IoBinding</a>(<a class="code hl_struct" href="struct_ort_1_1_session.html">Session</a>& session);</div>
|
|
<div class="line"><a id="l01462" name="l01462"></a><span class="lineno"><a class="line" href="struct_ort_1_1_io_binding.html#ab4bc709150357bf917039d1f9328c06e"> 1462</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBinding</a> <a class="code hl_function" href="struct_ort_1_1_io_binding.html#ab4bc709150357bf917039d1f9328c06e">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">ConstIoBinding</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l01463" name="l01463"></a><span class="lineno"><a class="line" href="struct_ort_1_1_io_binding.html#a8798f1b0b4f24262ad96016541d8f8a3"> 1463</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">UnownedIoBinding</a> <a class="code hl_function" href="struct_ort_1_1_io_binding.html#a8798f1b0b4f24262ad96016541d8f8a3">GetUnowned</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_io_binding_impl.html">UnownedIoBinding</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l01464" name="l01464"></a><span class="lineno"> 1464</span>};</div>
|
|
<div class="line"><a id="l01465" name="l01465"></a><span class="lineno"> 1465</span> </div>
|
|
<div class="line"><a id="l01470" name="l01470"></a><span class="lineno"><a class="line" href="struct_ort_1_1_arena_cfg.html"> 1470</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_arena_cfg.html">ArenaCfg</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtArenaCfg> {</div>
|
|
<div class="line"><a id="l01471" name="l01471"></a><span class="lineno"><a class="line" href="struct_ort_1_1_arena_cfg.html#a1c6f844ba4da1cbdaf64978c18883390"> 1471</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_arena_cfg.html#a1c6f844ba4da1cbdaf64978c18883390">ArenaCfg</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01480" name="l01480"></a><span class="lineno"><a class="line" href="struct_ort_1_1_arena_cfg.html#af5984643b2ec4748e45df6e50b9f2720"> 1480</a></span> <a class="code hl_function" href="struct_ort_1_1_arena_cfg.html#af5984643b2ec4748e45df6e50b9f2720">ArenaCfg</a>(<span class="keywordtype">size_t</span> max_mem, <span class="keywordtype">int</span> arena_extend_strategy, <span class="keywordtype">int</span> initial_chunk_size_bytes, <span class="keywordtype">int</span> max_dead_bytes_per_chunk);</div>
|
|
<div class="line"><a id="l01481" name="l01481"></a><span class="lineno"> 1481</span>};</div>
|
|
<div class="line"><a id="l01482" name="l01482"></a><span class="lineno"> 1482</span> </div>
|
|
<div class="line"><a id="l01483" name="l01483"></a><span class="lineno"> 1483</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l01484" name="l01484"></a><span class="lineno"> 1484</span><span class="comment">// Custom OPs (only needed to implement custom OPs)</span></div>
|
|
<div class="line"><a id="l01485" name="l01485"></a><span class="lineno"> 1485</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l01486" name="l01486"></a><span class="lineno"> 1486</span> </div>
|
|
<div class="line"><a id="l01490" name="l01490"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op_attr.html"> 1490</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_op_attr.html">OpAttr</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtOpAttr> {</div>
|
|
<div class="line"><a id="l01491" name="l01491"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op_attr.html#aaeb83ec334cc3b89ac27400cdea3f4da"> 1491</a></span> <a class="code hl_function" href="struct_ort_1_1_op_attr.html#aaeb83ec334cc3b89ac27400cdea3f4da">OpAttr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">void</span>* data, <span class="keywordtype">int</span> len, <a class="code hl_enumeration" href="group___global.html#gad2d78682b8468cfbfbbc20563a2424cc">OrtOpAttrType</a> type);</div>
|
|
<div class="line"><a id="l01492" name="l01492"></a><span class="lineno"> 1492</span>};</div>
|
|
<div class="line"><a id="l01493" name="l01493"></a><span class="lineno"> 1493</span> </div>
|
|
<div class="line"><a id="l01500" name="l01500"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html"> 1500</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_kernel_context.html">KernelContext</a> {</div>
|
|
<div class="line"><a id="l01501" name="l01501"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#a22793f8d1c8395a0645be07d368edfe7"> 1501</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#a22793f8d1c8395a0645be07d368edfe7">KernelContext</a>(<a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context);</div>
|
|
<div class="line"><a id="l01502" name="l01502"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#a9b6d52cd982f7684db27f97905e3871e"> 1502</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#a9b6d52cd982f7684db27f97905e3871e">GetInputCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01503" name="l01503"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#aac4e8ec24fb1f67147ffed82f973fd30"> 1503</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#aac4e8ec24fb1f67147ffed82f973fd30">GetOutputCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01504" name="l01504"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#a35f4a366b022bfa6d4dd3d3837d87e3a"> 1504</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_value_impl.html">ConstValue</a> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#a35f4a366b022bfa6d4dd3d3837d87e3a">GetInput</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01505" name="l01505"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#ac0aefe2c01dc8b2c3ec8f12458707003"> 1505</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">UnownedValue</a> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#ac0aefe2c01dc8b2c3ec8f12458707003">GetOutput</a>(<span class="keywordtype">size_t</span> index, <span class="keyword">const</span> int64_t* dim_values, <span class="keywordtype">size_t</span> dim_count) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01506" name="l01506"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#ab4665cbe0b89fda81e15d798ecaf1f07"> 1506</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_value_impl.html">UnownedValue</a> <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#ab4665cbe0b89fda81e15d798ecaf1f07">GetOutput</a>(<span class="keywordtype">size_t</span> index, <span class="keyword">const</span> std::vector<int64_t>& dims) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01507" name="l01507"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_context.html#a9a43f9088473124a4d62a0815761650e"> 1507</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1_kernel_context.html#a9a43f9088473124a4d62a0815761650e">GetGPUComputeStream</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01508" name="l01508"></a><span class="lineno"> 1508</span> </div>
|
|
<div class="line"><a id="l01509" name="l01509"></a><span class="lineno"> 1509</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l01510" name="l01510"></a><span class="lineno"> 1510</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* ctx_;</div>
|
|
<div class="line"><a id="l01511" name="l01511"></a><span class="lineno"> 1511</span>};</div>
|
|
<div class="line"><a id="l01512" name="l01512"></a><span class="lineno"> 1512</span> </div>
|
|
<div class="line"><a id="l01513" name="l01513"></a><span class="lineno"> 1513</span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_kernel_info.html">KernelInfo</a>;</div>
|
|
<div class="line"><a id="l01514" name="l01514"></a><span class="lineno"> 1514</span> </div>
|
|
<div class="line"><a id="l01515" name="l01515"></a><span class="lineno"> 1515</span><span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a id="l01516" name="l01516"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html"> 1516</a></span><span class="keyword">namespace </span>attr_utils {</div>
|
|
<div class="line"><a id="l01517" name="l01517"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac"> 1517</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac">GetAttr</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">float</span>&);</div>
|
|
<div class="line"><a id="l01518" name="l01518"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html#a98490076306a4ee5c761084839da19cc"> 1518</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac">GetAttr</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, int64_t&);</div>
|
|
<div class="line"><a id="l01519" name="l01519"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html#a77c647a6bd09f82bbe50c32cffe7c17a"> 1519</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac">GetAttr</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, std::string&);</div>
|
|
<div class="line"><a id="l01520" name="l01520"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html#ab53af7eab59f26dc5cb5de6ee11eb9be"> 1520</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#ab53af7eab59f26dc5cb5de6ee11eb9be">GetAttrs</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, std::vector<float>&);</div>
|
|
<div class="line"><a id="l01521" name="l01521"></a><span class="lineno"><a class="line" href="namespace_ort_1_1detail_1_1attr__utils.html#ad02ec80191581bcd7a4fdcd84270bb10"> 1521</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#ab53af7eab59f26dc5cb5de6ee11eb9be">GetAttrs</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, std::vector<int64_t>&);</div>
|
|
<div class="line"><a id="l01522" name="l01522"></a><span class="lineno"> 1522</span>} <span class="comment">// namespace attr_utils</span></div>
|
|
<div class="line"><a id="l01523" name="l01523"></a><span class="lineno"> 1523</span> </div>
|
|
<div class="line"><a id="l01524" name="l01524"></a><span class="lineno"> 1524</span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01525" name="l01525"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html"> 1525</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">KernelInfoImpl</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base</a><T> {</div>
|
|
<div class="line"><a id="l01526" name="l01526"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a766015fd8308d1ffbe6e6a434fab811f"> 1526</a></span> <span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">B</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">Base<T></a>;</div>
|
|
<div class="line"><a id="l01527" name="l01527"></a><span class="lineno"> 1527</span> <span class="keyword">using </span>B::B;</div>
|
|
<div class="line"><a id="l01528" name="l01528"></a><span class="lineno"> 1528</span> </div>
|
|
<div class="line"><a id="l01529" name="l01529"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a481ea24d380e077ba3bbaf6431467b5f"> 1529</a></span> <a class="code hl_struct" href="struct_ort_1_1_kernel_info.html">KernelInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a481ea24d380e077ba3bbaf6431467b5f">Copy</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01530" name="l01530"></a><span class="lineno"> 1530</span> </div>
|
|
<div class="line"><a id="l01531" name="l01531"></a><span class="lineno"> 1531</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R> <span class="comment">// R is only implemented for float, int64_t, and string</span></div>
|
|
<div class="line"><a id="l01532" name="l01532"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a263d7310be1deffc5de0e1a501749c86"> 1532</a></span> R <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a263d7310be1deffc5de0e1a501749c86">GetAttribute</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01533" name="l01533"></a><span class="lineno"> 1533</span> R val;</div>
|
|
<div class="line"><a id="l01534" name="l01534"></a><span class="lineno"> 1534</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac">attr_utils::GetAttr</a>(this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>, name, val);</div>
|
|
<div class="line"><a id="l01535" name="l01535"></a><span class="lineno"> 1535</span> <span class="keywordflow">return</span> val;</div>
|
|
<div class="line"><a id="l01536" name="l01536"></a><span class="lineno"> 1536</span> }</div>
|
|
<div class="line"><a id="l01537" name="l01537"></a><span class="lineno"> 1537</span> </div>
|
|
<div class="line"><a id="l01538" name="l01538"></a><span class="lineno"> 1538</span> <span class="keyword">template</span> <<span class="keyword">typename</span> R> <span class="comment">// R is only implemented for std::vector<float>, std::vector<int64_t></span></div>
|
|
<div class="line"><a id="l01539" name="l01539"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a1f1e21cc73f40ff75ff13d023ad6bf1f"> 1539</a></span> std::vector<R> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a1f1e21cc73f40ff75ff13d023ad6bf1f">GetAttributes</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01540" name="l01540"></a><span class="lineno"> 1540</span> std::vector<R> result;</div>
|
|
<div class="line"><a id="l01541" name="l01541"></a><span class="lineno"> 1541</span> <a class="code hl_function" href="namespace_ort_1_1detail_1_1attr__utils.html#ab53af7eab59f26dc5cb5de6ee11eb9be">attr_utils::GetAttrs</a>(this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>, name, result);</div>
|
|
<div class="line"><a id="l01542" name="l01542"></a><span class="lineno"> 1542</span> <span class="keywordflow">return</span> result;</div>
|
|
<div class="line"><a id="l01543" name="l01543"></a><span class="lineno"> 1543</span> }</div>
|
|
<div class="line"><a id="l01544" name="l01544"></a><span class="lineno"> 1544</span> </div>
|
|
<div class="line"><a id="l01545" name="l01545"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a01deb1c8b1bb632249000444d1a82a27"> 1545</a></span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a01deb1c8b1bb632249000444d1a82a27">GetTensorAttribute</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code hl_struct" href="struct_ort_allocator.html">OrtAllocator</a>* allocator) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01546" name="l01546"></a><span class="lineno"> 1546</span> </div>
|
|
<div class="line"><a id="l01547" name="l01547"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ada66e2980e8d0206abd5ef8edcae6925"> 1547</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ada66e2980e8d0206abd5ef8edcae6925">GetInputCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01548" name="l01548"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ad2d3555b38da8d6fd75913c524e6c9b4"> 1548</a></span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ad2d3555b38da8d6fd75913c524e6c9b4">GetOutputCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01549" name="l01549"></a><span class="lineno"> 1549</span> </div>
|
|
<div class="line"><a id="l01550" name="l01550"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a72498d830f529887b23def50a45ae9df"> 1550</a></span> std::string <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a72498d830f529887b23def50a45ae9df">GetInputName</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01551" name="l01551"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ae8e49523380dcec8e83174c101ac4b05"> 1551</a></span> std::string <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ae8e49523380dcec8e83174c101ac4b05">GetOutputName</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01552" name="l01552"></a><span class="lineno"> 1552</span> </div>
|
|
<div class="line"><a id="l01553" name="l01553"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a07ebba08deb83ec1fb0abff60394914a"> 1553</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a07ebba08deb83ec1fb0abff60394914a">GetInputTypeInfo</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01554" name="l01554"></a><span class="lineno"><a class="line" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a42eb5d6343f461f6a37844c0f507b2a2"> 1554</a></span> <a class="code hl_struct" href="struct_ort_1_1_type_info.html">TypeInfo</a> <a class="code hl_function" href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a42eb5d6343f461f6a37844c0f507b2a2">GetOutputTypeInfo</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01555" name="l01555"></a><span class="lineno"> 1555</span>};</div>
|
|
<div class="line"><a id="l01556" name="l01556"></a><span class="lineno"> 1556</span> </div>
|
|
<div class="line"><a id="l01557" name="l01557"></a><span class="lineno"> 1557</span>} <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a id="l01558" name="l01558"></a><span class="lineno"> 1558</span> </div>
|
|
<div class="line"><a id="l01559" name="l01559"></a><span class="lineno"><a class="line" href="namespace_ort.html#a1782d0ab53f6d587d8d8fb9bb1f2d3c6"> 1559</a></span><span class="keyword">using </span><a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">ConstKernelInfo</a> = <a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">detail::KernelInfoImpl<detail::Unowned<const OrtKernelInfo></a>>;</div>
|
|
<div class="line"><a id="l01560" name="l01560"></a><span class="lineno"> 1560</span> </div>
|
|
<div class="line"><a id="l01567" name="l01567"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_info.html"> 1567</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_kernel_info.html">KernelInfo</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">detail::KernelInfoImpl</a><OrtKernelInfo> {</div>
|
|
<div class="line"><a id="l01568" name="l01568"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_info.html#aace8ba8f11047c2ec727e7f847c3474d"> 1568</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_kernel_info.html#aace8ba8f11047c2ec727e7f847c3474d">KernelInfo</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01569" name="l01569"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_info.html#a67833ca9abb24c19f244d17c1de551f2"> 1569</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_kernel_info.html#a67833ca9abb24c19f244d17c1de551f2">KernelInfo</a>(<a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info); </div>
|
|
<div class="line"><a id="l01570" name="l01570"></a><span class="lineno"><a class="line" href="struct_ort_1_1_kernel_info.html#a9034dc6f3b75e1e0f9474d22199bee0a"> 1570</a></span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">ConstKernelInfo</a> <a class="code hl_function" href="struct_ort_1_1_kernel_info.html#a9034dc6f3b75e1e0f9474d22199bee0a">GetConst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_ort_1_1detail_1_1_kernel_info_impl.html">ConstKernelInfo</a>{this-><a class="code hl_variable" href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">p_</a>}; }</div>
|
|
<div class="line"><a id="l01571" name="l01571"></a><span class="lineno"> 1571</span>};</div>
|
|
<div class="line"><a id="l01572" name="l01572"></a><span class="lineno"> 1572</span> </div>
|
|
<div class="line"><a id="l01576" name="l01576"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html"> 1576</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_op.html">Op</a> : <a class="code hl_struct" href="struct_ort_1_1detail_1_1_base.html">detail::Base</a><OrtOp> {</div>
|
|
<div class="line"><a id="l01577" name="l01577"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html#a74c019228508f094c5d589427deab010"> 1577</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_op.html#a74c019228508f094c5d589427deab010">Op</a>(std::nullptr_t) {} </div>
|
|
<div class="line"><a id="l01578" name="l01578"></a><span class="lineno"> 1578</span> </div>
|
|
<div class="line"><a id="l01579" name="l01579"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html#a0394228ead0d6061f0f8a01e025d895b"> 1579</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_ort_1_1_op.html#a0394228ead0d6061f0f8a01e025d895b">Op</a>(<a class="code hl_typedef" href="group___global.html#ga5f2a4b6be620e970f5c401795034c416">OrtOp</a>*); </div>
|
|
<div class="line"><a id="l01580" name="l01580"></a><span class="lineno"> 1580</span> </div>
|
|
<div class="line"><a id="l01581" name="l01581"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html#a0e85533349203792d4565419bfec5a67"> 1581</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_ort_1_1_op.html">Op</a> <a class="code hl_function" href="struct_ort_1_1_op.html#a0e85533349203792d4565419bfec5a67">Create</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info, <span class="keyword">const</span> <span class="keywordtype">char</span>* op_name, <span class="keyword">const</span> <span class="keywordtype">char</span>* domain,</div>
|
|
<div class="line"><a id="l01582" name="l01582"></a><span class="lineno"> 1582</span> <span class="keywordtype">int</span> version, <span class="keyword">const</span> <span class="keywordtype">char</span>** type_constraint_names,</div>
|
|
<div class="line"><a id="l01583" name="l01583"></a><span class="lineno"> 1583</span> <span class="keyword">const</span> <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a>* type_constraint_values,</div>
|
|
<div class="line"><a id="l01584" name="l01584"></a><span class="lineno"> 1584</span> <span class="keywordtype">size_t</span> type_constraint_count,</div>
|
|
<div class="line"><a id="l01585" name="l01585"></a><span class="lineno"> 1585</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_op_attr.html">OpAttr</a>* attr_values,</div>
|
|
<div class="line"><a id="l01586" name="l01586"></a><span class="lineno"> 1586</span> <span class="keywordtype">size_t</span> attr_count,</div>
|
|
<div class="line"><a id="l01587" name="l01587"></a><span class="lineno"> 1587</span> <span class="keywordtype">size_t</span> input_count, <span class="keywordtype">size_t</span> output_count);</div>
|
|
<div class="line"><a id="l01588" name="l01588"></a><span class="lineno"> 1588</span> </div>
|
|
<div class="line"><a id="l01589" name="l01589"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html#adb82cf8dbb13a397bab27505595576fb"> 1589</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_op.html#adb82cf8dbb13a397bab27505595576fb">Invoke</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context,</div>
|
|
<div class="line"><a id="l01590" name="l01590"></a><span class="lineno"> 1590</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>* input_values,</div>
|
|
<div class="line"><a id="l01591" name="l01591"></a><span class="lineno"> 1591</span> <span class="keywordtype">size_t</span> input_count,</div>
|
|
<div class="line"><a id="l01592" name="l01592"></a><span class="lineno"> 1592</span> <a class="code hl_struct" href="struct_ort_1_1_value.html">Value</a>* output_values,</div>
|
|
<div class="line"><a id="l01593" name="l01593"></a><span class="lineno"> 1593</span> <span class="keywordtype">size_t</span> output_count);</div>
|
|
<div class="line"><a id="l01594" name="l01594"></a><span class="lineno"> 1594</span> </div>
|
|
<div class="line"><a id="l01595" name="l01595"></a><span class="lineno"> 1595</span> <span class="comment">// For easier refactoring</span></div>
|
|
<div class="line"><a id="l01596" name="l01596"></a><span class="lineno"><a class="line" href="struct_ort_1_1_op.html#aa65b1d6cf3b2d54f99a00522a076d24f"> 1596</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_op.html#aa65b1d6cf3b2d54f99a00522a076d24f">Invoke</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context,</div>
|
|
<div class="line"><a id="l01597" name="l01597"></a><span class="lineno"> 1597</span> <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <span class="keyword">const</span>* input_values,</div>
|
|
<div class="line"><a id="l01598" name="l01598"></a><span class="lineno"> 1598</span> <span class="keywordtype">size_t</span> input_count,</div>
|
|
<div class="line"><a id="l01599" name="l01599"></a><span class="lineno"> 1599</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <span class="keyword">const</span>* output_values,</div>
|
|
<div class="line"><a id="l01600" name="l01600"></a><span class="lineno"> 1600</span> <span class="keywordtype">size_t</span> output_count);</div>
|
|
<div class="line"><a id="l01601" name="l01601"></a><span class="lineno"> 1601</span>};</div>
|
|
<div class="line"><a id="l01602" name="l01602"></a><span class="lineno"> 1602</span> </div>
|
|
<div class="line"><a id="l01607" name="l01607"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html"> 1607</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_custom_op_api.html">CustomOpApi</a> {</div>
|
|
<div class="line"><a id="l01608" name="l01608"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#abf028f27de7ac28bf78d89917dfe56b9"> 1608</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#abf028f27de7ac28bf78d89917dfe56b9">CustomOpApi</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>& api) : api_(api) {}</div>
|
|
<div class="line"><a id="l01609" name="l01609"></a><span class="lineno"> 1609</span> </div>
|
|
<div class="line"><a id="l01614" name="l01614"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a4bac2252005fbe045acb35090a545a3d"> 1614</a></span> [[deprecated(<span class="stringliteral">"use Ort::Value::GetTensorTypeAndShape()"</span>)]] <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a4bac2252005fbe045acb35090a545a3d">GetTensorTypeAndShape</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* value);</div>
|
|
<div class="line"><a id="l01615" name="l01615"></a><span class="lineno"> 1615</span> </div>
|
|
<div class="line"><a id="l01620" name="l01620"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a769b23926ee250807eda73df88746bc9"> 1620</a></span> [[deprecated(<span class="stringliteral">"use Ort::TensorTypeAndShapeInfo::GetElementCount()"</span>)]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a769b23926ee250807eda73df88746bc9">GetTensorShapeElementCount</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info);</div>
|
|
<div class="line"><a id="l01621" name="l01621"></a><span class="lineno"> 1621</span> </div>
|
|
<div class="line"><a id="l01626" name="l01626"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a880d0346b32ddada9c42dad22898ee20"> 1626</a></span> [[deprecated(<span class="stringliteral">"use Ort::TensorTypeAndShapeInfo::GetElementType()"</span>)]] <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a880d0346b32ddada9c42dad22898ee20">GetTensorElementType</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info);</div>
|
|
<div class="line"><a id="l01627" name="l01627"></a><span class="lineno"> 1627</span> </div>
|
|
<div class="line"><a id="l01632" name="l01632"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a09e1878a345d126e64b59e193fc06050"> 1632</a></span> [[deprecated(<span class="stringliteral">"use Ort::TensorTypeAndShapeInfo::GetDimensionsCount()"</span>)]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a09e1878a345d126e64b59e193fc06050">GetDimensionsCount</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info);</div>
|
|
<div class="line"><a id="l01633" name="l01633"></a><span class="lineno"> 1633</span> </div>
|
|
<div class="line"><a id="l01638" name="l01638"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a53dbeeb8fba97a7c5c1e5a97a8f1978a"> 1638</a></span> [[deprecated(<span class="stringliteral">"use Ort::TensorTypeAndShapeInfo::GetShape()"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a53dbeeb8fba97a7c5c1e5a97a8f1978a">GetDimensions</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info, _Out_ int64_t* dim_values, <span class="keywordtype">size_t</span> dim_values_length);</div>
|
|
<div class="line"><a id="l01639" name="l01639"></a><span class="lineno"> 1639</span> </div>
|
|
<div class="line"><a id="l01644" name="l01644"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#ad5fd03a24b54f6a42dc1660499d789e1"> 1644</a></span> [[deprecated(<span class="stringliteral">"Do not use"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#ad5fd03a24b54f6a42dc1660499d789e1">SetDimensions</a>(<a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info, _In_ <span class="keyword">const</span> int64_t* dim_values, <span class="keywordtype">size_t</span> dim_count);</div>
|
|
<div class="line"><a id="l01645" name="l01645"></a><span class="lineno"> 1645</span> </div>
|
|
<div class="line"><a id="l01650" name="l01650"></a><span class="lineno"> 1650</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01651" name="l01651"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#af9e61c4eb4c8f906b0e82671913e1980"> 1651</a></span> [[deprecated(<span class="stringliteral">"use Ort::Value::GetTensorMutableData()"</span>)]] T* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#af9e61c4eb4c8f906b0e82671913e1980">GetTensorMutableData</a>(_Inout_ <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* value);</div>
|
|
<div class="line"><a id="l01652" name="l01652"></a><span class="lineno"> 1652</span> </div>
|
|
<div class="line"><a id="l01657" name="l01657"></a><span class="lineno"> 1657</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a id="l01658" name="l01658"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#afd1a695491b0cd72147170e6ff28ef61"> 1658</a></span> [[deprecated(<span class="stringliteral">"use Ort::Value::GetTensorData()"</span>)]] <span class="keyword">const</span> T* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#afd1a695491b0cd72147170e6ff28ef61">GetTensorData</a>(_Inout_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* value);</div>
|
|
<div class="line"><a id="l01659" name="l01659"></a><span class="lineno"> 1659</span> </div>
|
|
<div class="line"><a id="l01664" name="l01664"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#afb1a70a3d307af25e828b35bcf5f04b8"> 1664</a></span> [[deprecated(<span class="stringliteral">"use Ort::Value::GetTensorMemoryInfo()"</span>)]] <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#afb1a70a3d307af25e828b35bcf5f04b8">GetTensorMemoryInfo</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* value);</div>
|
|
<div class="line"><a id="l01665" name="l01665"></a><span class="lineno"> 1665</span> </div>
|
|
<div class="line"><a id="l01670" name="l01670"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a4c60b4f47540791b366228dd6f790a7c"> 1670</a></span> [[deprecated(<span class="stringliteral">"use Ort::TensorTypeAndShapeInfo::GetShape()"</span>)]] std::vector<int64_t> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a4c60b4f47540791b366228dd6f790a7c">GetTensorShape</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* info);</div>
|
|
<div class="line"><a id="l01671" name="l01671"></a><span class="lineno"> 1671</span> </div>
|
|
<div class="line"><a id="l01676" name="l01676"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a42981ee288830f4b60683bbd4a21627d"> 1676</a></span> [[deprecated(<span class="stringliteral">"use TensorTypeAndShapeInfo"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a42981ee288830f4b60683bbd4a21627d">ReleaseTensorTypeAndShapeInfo</a>(<a class="code hl_typedef" href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a>* input);</div>
|
|
<div class="line"><a id="l01677" name="l01677"></a><span class="lineno"> 1677</span> </div>
|
|
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a17348789cfde3e1a93bf1e2af67c183e"> 1682</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelContext::GetInputCount"</span>)]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a17348789cfde3e1a93bf1e2af67c183e">KernelContext_GetInputCount</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context);</div>
|
|
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"> 1683</span> </div>
|
|
<div class="line"><a id="l01688" name="l01688"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#afa21769ea0c1dca10da330d4d4544baa"> 1688</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelContext::GetInput"</span>)]] <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#afa21769ea0c1dca10da330d4d4544baa">KernelContext_GetInput</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context, _In_ <span class="keywordtype">size_t</span> index);</div>
|
|
<div class="line"><a id="l01689" name="l01689"></a><span class="lineno"> 1689</span> </div>
|
|
<div class="line"><a id="l01694" name="l01694"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a015cb844d1127a400228c2756892d453"> 1694</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelContext::GetOutputCount"</span>)]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a015cb844d1127a400228c2756892d453">KernelContext_GetOutputCount</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context);</div>
|
|
<div class="line"><a id="l01695" name="l01695"></a><span class="lineno"> 1695</span> </div>
|
|
<div class="line"><a id="l01700" name="l01700"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a3ee901b1e84cc4c47221dc230d357b66"> 1700</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelContext::GetOutput"</span>)]] <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a3ee901b1e84cc4c47221dc230d357b66">KernelContext_GetOutput</a>(<a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context, _In_ <span class="keywordtype">size_t</span> index, _In_ <span class="keyword">const</span> int64_t* dim_values, <span class="keywordtype">size_t</span> dim_count);</div>
|
|
<div class="line"><a id="l01701" name="l01701"></a><span class="lineno"> 1701</span> </div>
|
|
<div class="line"><a id="l01706" name="l01706"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a0bb133692d307824f5da57019963d4a2"> 1706</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelContext::GetGPUComputeStream"</span>)]] <span class="keywordtype">void</span>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a0bb133692d307824f5da57019963d4a2">KernelContext_GetGPUComputeStream</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context);</div>
|
|
<div class="line"><a id="l01707" name="l01707"></a><span class="lineno"> 1707</span> </div>
|
|
<div class="line"><a id="l01712" name="l01712"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a5e6b792b3e87a2c4fcf79d9e8bf3773c"> 1712</a></span> [[deprecated(<span class="stringliteral">"use Ort::ThrowOnError()"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a5e6b792b3e87a2c4fcf79d9e8bf3773c">ThrowOnError</a>(<a class="code hl_typedef" href="group___global.html#gabbdf49d59489efef1b125d8e0d59adc6">OrtStatus</a>* result);</div>
|
|
<div class="line"><a id="l01713" name="l01713"></a><span class="lineno"> 1713</span> </div>
|
|
<div class="line"><a id="l01718" name="l01718"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a2740576ee3310312e198533bd9f0fddb"> 1718</a></span> [[deprecated(<span class="stringliteral">"use Ort::OpAttr"</span>)]] <a class="code hl_typedef" href="group___global.html#ga35c9298b30685c4e68e4830697a6a171">OrtOpAttr</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a2740576ee3310312e198533bd9f0fddb">CreateOpAttr</a>(_In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* name,</div>
|
|
<div class="line"><a id="l01719" name="l01719"></a><span class="lineno"> 1719</span> _In_ <span class="keyword">const</span> <span class="keywordtype">void</span>* data,</div>
|
|
<div class="line"><a id="l01720" name="l01720"></a><span class="lineno"> 1720</span> _In_ <span class="keywordtype">int</span> len,</div>
|
|
<div class="line"><a id="l01721" name="l01721"></a><span class="lineno"> 1721</span> _In_ <a class="code hl_enumeration" href="group___global.html#gad2d78682b8468cfbfbbc20563a2424cc">OrtOpAttrType</a> type);</div>
|
|
<div class="line"><a id="l01722" name="l01722"></a><span class="lineno"> 1722</span> </div>
|
|
<div class="line"><a id="l01727" name="l01727"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a5c929d4036f582b452ce4bc9b8633c86"> 1727</a></span> [[deprecated(<span class="stringliteral">"use Ort::OpAttr"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a5c929d4036f582b452ce4bc9b8633c86">ReleaseOpAttr</a>(_Frees_ptr_opt_ <a class="code hl_typedef" href="group___global.html#ga35c9298b30685c4e68e4830697a6a171">OrtOpAttr</a>* op_attr);</div>
|
|
<div class="line"><a id="l01728" name="l01728"></a><span class="lineno"> 1728</span> </div>
|
|
<div class="line"><a id="l01733" name="l01733"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a8c66daa44131353c1ba93ed41078f320"> 1733</a></span> [[deprecated(<span class="stringliteral">"use Ort::Op"</span>)]] <a class="code hl_typedef" href="group___global.html#ga5f2a4b6be620e970f5c401795034c416">OrtOp</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a8c66daa44131353c1ba93ed41078f320">CreateOp</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info,</div>
|
|
<div class="line"><a id="l01734" name="l01734"></a><span class="lineno"> 1734</span> _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* op_name,</div>
|
|
<div class="line"><a id="l01735" name="l01735"></a><span class="lineno"> 1735</span> _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* domain,</div>
|
|
<div class="line"><a id="l01736" name="l01736"></a><span class="lineno"> 1736</span> _In_ <span class="keywordtype">int</span> version,</div>
|
|
<div class="line"><a id="l01737" name="l01737"></a><span class="lineno"> 1737</span> _In_opt_ <span class="keyword">const</span> <span class="keywordtype">char</span>** type_constraint_names,</div>
|
|
<div class="line"><a id="l01738" name="l01738"></a><span class="lineno"> 1738</span> _In_opt_ <span class="keyword">const</span> <a class="code hl_enumeration" href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a>* type_constraint_values,</div>
|
|
<div class="line"><a id="l01739" name="l01739"></a><span class="lineno"> 1739</span> _In_opt_ <span class="keywordtype">int</span> type_constraint_count,</div>
|
|
<div class="line"><a id="l01740" name="l01740"></a><span class="lineno"> 1740</span> _In_opt_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga35c9298b30685c4e68e4830697a6a171">OrtOpAttr</a>* <span class="keyword">const</span>* attr_values,</div>
|
|
<div class="line"><a id="l01741" name="l01741"></a><span class="lineno"> 1741</span> _In_opt_ <span class="keywordtype">int</span> attr_count,</div>
|
|
<div class="line"><a id="l01742" name="l01742"></a><span class="lineno"> 1742</span> _In_ <span class="keywordtype">int</span> input_count,</div>
|
|
<div class="line"><a id="l01743" name="l01743"></a><span class="lineno"> 1743</span> _In_ <span class="keywordtype">int</span> output_count);</div>
|
|
<div class="line"><a id="l01744" name="l01744"></a><span class="lineno"> 1744</span> </div>
|
|
<div class="line"><a id="l01749" name="l01749"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a17cae29d7ef679bae9b9b0857b188b45"> 1749</a></span> [[deprecated(<span class="stringliteral">"use Ort::Op::Invoke"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a17cae29d7ef679bae9b9b0857b188b45">InvokeOp</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context,</div>
|
|
<div class="line"><a id="l01750" name="l01750"></a><span class="lineno"> 1750</span> _In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga5f2a4b6be620e970f5c401795034c416">OrtOp</a>* ort_op,</div>
|
|
<div class="line"><a id="l01751" name="l01751"></a><span class="lineno"> 1751</span> _In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <span class="keyword">const</span>* input_values,</div>
|
|
<div class="line"><a id="l01752" name="l01752"></a><span class="lineno"> 1752</span> _In_ <span class="keywordtype">int</span> input_count,</div>
|
|
<div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span> _Inout_ <a class="code hl_typedef" href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a>* <span class="keyword">const</span>* output_values,</div>
|
|
<div class="line"><a id="l01754" name="l01754"></a><span class="lineno"> 1754</span> _In_ <span class="keywordtype">int</span> output_count);</div>
|
|
<div class="line"><a id="l01755" name="l01755"></a><span class="lineno"> 1755</span> </div>
|
|
<div class="line"><a id="l01760" name="l01760"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a31dc7e04f29cfa16413f22198ecd824e"> 1760</a></span> [[deprecated(<span class="stringliteral">"use Ort::Op"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a31dc7e04f29cfa16413f22198ecd824e">ReleaseOp</a>(_Frees_ptr_opt_ <a class="code hl_typedef" href="group___global.html#ga5f2a4b6be620e970f5c401795034c416">OrtOp</a>* ort_op);</div>
|
|
<div class="line"><a id="l01761" name="l01761"></a><span class="lineno"> 1761</span> </div>
|
|
<div class="line"><a id="l01767" name="l01767"></a><span class="lineno"> 1767</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="comment">// T is only implemented for std::vector<float>, std::vector<int64_t>, float, int64_t, and string</span></div>
|
|
<div class="line"><a id="l01768" name="l01768"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#a47632080bea3d198cc8036e6c57a9288"> 1768</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelInfo::GetAttribute"</span>)]] T <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#a47632080bea3d198cc8036e6c57a9288">KernelInfoGetAttribute</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info, _In_ <span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
|
|
<div class="line"><a id="l01769" name="l01769"></a><span class="lineno"> 1769</span> </div>
|
|
<div class="line"><a id="l01775" name="l01775"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#ae39a4bb631faea94364121264fb0c7d3"> 1775</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelInfo::Copy"</span>)]] <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#ae39a4bb631faea94364121264fb0c7d3">CopyKernelInfo</a>(_In_ <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info);</div>
|
|
<div class="line"><a id="l01776" name="l01776"></a><span class="lineno"> 1776</span> </div>
|
|
<div class="line"><a id="l01782" name="l01782"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_api.html#af74d63c508411150a9c905824e9ee95b"> 1782</a></span> [[deprecated(<span class="stringliteral">"use Ort::KernelInfo"</span>)]] <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_api.html#af74d63c508411150a9c905824e9ee95b">ReleaseKernelInfo</a>(_Frees_ptr_opt_ <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info_copy);</div>
|
|
<div class="line"><a id="l01783" name="l01783"></a><span class="lineno"> 1783</span> </div>
|
|
<div class="line"><a id="l01784" name="l01784"></a><span class="lineno"> 1784</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l01785" name="l01785"></a><span class="lineno"> 1785</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>& api_;</div>
|
|
<div class="line"><a id="l01786" name="l01786"></a><span class="lineno"> 1786</span>};</div>
|
|
<div class="line"><a id="l01787" name="l01787"></a><span class="lineno"> 1787</span> </div>
|
|
<div class="line"><a id="l01788" name="l01788"></a><span class="lineno"> 1788</span><span class="keyword">template</span> <<span class="keyword">typename</span> TOp, <span class="keyword">typename</span> TKernel></div>
|
|
<div class="line"><a id="l01789" name="l01789"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html"> 1789</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_ort_1_1_custom_op_base.html">CustomOpBase</a> : <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a> {</div>
|
|
<div class="line"><a id="l01790" name="l01790"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a341d9bd1288f0a0629c4c4dbf53d2b05"> 1790</a></span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a341d9bd1288f0a0629c4c4dbf53d2b05">CustomOpBase</a>() {</div>
|
|
<div class="line"><a id="l01791" name="l01791"></a><span class="lineno"> 1791</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a87aa73158aaaf1290a794c38469872e2">OrtCustomOp::version</a> = <a class="code hl_define" href="group___global.html#gac583aeb4640621ceb588f6300537945d">ORT_API_VERSION</a>;</div>
|
|
<div class="line"><a id="l01792" name="l01792"></a><span class="lineno"> 1792</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a82ec6e8d3225b82e7f62fec857f374ba">OrtCustomOp::CreateKernel</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_api.html">OrtApi</a>* api, <span class="keyword">const</span> <a class="code hl_typedef" href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a>* info) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a82ec6e8d3225b82e7f62fec857f374ba">CreateKernel</a>(*api, info); };</div>
|
|
<div class="line"><a id="l01793" name="l01793"></a><span class="lineno"> 1793</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a2f82bab65faa080fed2dbcdf36d5e96a">OrtCustomOp::GetName</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a2f82bab65faa080fed2dbcdf36d5e96a">GetName</a>(); };</div>
|
|
<div class="line"><a id="l01794" name="l01794"></a><span class="lineno"> 1794</span> </div>
|
|
<div class="line"><a id="l01795" name="l01795"></a><span class="lineno"> 1795</span> <a class="code hl_variable" href="struct_ort_custom_op.html#ab9cb073ec683a08643bac6ca50bbf2e2">OrtCustomOp::GetExecutionProviderType</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a858ecd6400a9e8e4ee8781fb2d25d64d">GetExecutionProviderType</a>(); };</div>
|
|
<div class="line"><a id="l01796" name="l01796"></a><span class="lineno"> 1796</span> </div>
|
|
<div class="line"><a id="l01797" name="l01797"></a><span class="lineno"> 1797</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a105312afe4270e2a1f15594e50f2b752">OrtCustomOp::GetInputTypeCount</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a105312afe4270e2a1f15594e50f2b752">GetInputTypeCount</a>(); };</div>
|
|
<div class="line"><a id="l01798" name="l01798"></a><span class="lineno"> 1798</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a8f5af15c496358ddc8e75a77811f5983">OrtCustomOp::GetInputType</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keywordtype">size_t</span> index) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a8f5af15c496358ddc8e75a77811f5983">GetInputType</a>(index); };</div>
|
|
<div class="line"><a id="l01799" name="l01799"></a><span class="lineno"> 1799</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a7dcbfde88eefbb30ed0b99f9a74c959a">OrtCustomOp::GetInputMemoryType</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keywordtype">size_t</span> index) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a7dcbfde88eefbb30ed0b99f9a74c959a">GetInputMemoryType</a>(index); };</div>
|
|
<div class="line"><a id="l01800" name="l01800"></a><span class="lineno"> 1800</span> </div>
|
|
<div class="line"><a id="l01801" name="l01801"></a><span class="lineno"> 1801</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a33fb94532f6eebe323b48cf2a63c2eb4">OrtCustomOp::GetOutputTypeCount</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a33fb94532f6eebe323b48cf2a63c2eb4">GetOutputTypeCount</a>(); };</div>
|
|
<div class="line"><a id="l01802" name="l01802"></a><span class="lineno"> 1802</span> <a class="code hl_variable" href="struct_ort_custom_op.html#ad86baba54616d6398a0ee51831a21ab4">OrtCustomOp::GetOutputType</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keywordtype">size_t</span> index) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#ad86baba54616d6398a0ee51831a21ab4">GetOutputType</a>(index); };</div>
|
|
<div class="line"><a id="l01803" name="l01803"></a><span class="lineno"> 1803</span> </div>
|
|
<div class="line"><a id="l01804" name="l01804"></a><span class="lineno"> 1804</span> <a class="code hl_variable" href="struct_ort_custom_op.html#afc0636bfc00f4db5e1c5eedc27eec9ea">OrtCustomOp::KernelCompute</a> = [](<span class="keywordtype">void</span>* op_kernel, <a class="code hl_typedef" href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a>* context) { <span class="keyword">static_cast<</span>TKernel*<span class="keyword">></span>(op_kernel)->Compute(context); };</div>
|
|
<div class="line"><a id="l01805" name="l01805"></a><span class="lineno"> 1805</span><span class="preprocessor">#if defined(_MSC_VER) && !defined(__clang__)</span></div>
|
|
<div class="line"><a id="l01806" name="l01806"></a><span class="lineno"> 1806</span><span class="preprocessor">#pragma warning(push)</span></div>
|
|
<div class="line"><a id="l01807" name="l01807"></a><span class="lineno"> 1807</span><span class="preprocessor">#pragma warning(disable : 26409)</span></div>
|
|
<div class="line"><a id="l01808" name="l01808"></a><span class="lineno"> 1808</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l01809" name="l01809"></a><span class="lineno"> 1809</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a45eed500cf1413d0949c9ccc26ea47fa">OrtCustomOp::KernelDestroy</a> = [](<span class="keywordtype">void</span>* op_kernel) { <span class="keyword">delete</span> <span class="keyword">static_cast<</span>TKernel*<span class="keyword">></span>(op_kernel); };</div>
|
|
<div class="line"><a id="l01810" name="l01810"></a><span class="lineno"> 1810</span><span class="preprocessor">#if defined(_MSC_VER) && !defined(__clang__)</span></div>
|
|
<div class="line"><a id="l01811" name="l01811"></a><span class="lineno"> 1811</span><span class="preprocessor">#pragma warning(pop)</span></div>
|
|
<div class="line"><a id="l01812" name="l01812"></a><span class="lineno"> 1812</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l01813" name="l01813"></a><span class="lineno"> 1813</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a9efee01f336fd579c88d919116e0dff4">OrtCustomOp::GetInputCharacteristic</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keywordtype">size_t</span> index) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a9efee01f336fd579c88d919116e0dff4">GetInputCharacteristic</a>(index); };</div>
|
|
<div class="line"><a id="l01814" name="l01814"></a><span class="lineno"> 1814</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a0fe03707bc8b2adae0cf3752c0fbec4a">OrtCustomOp::GetOutputCharacteristic</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_, <span class="keywordtype">size_t</span> index) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_variable" href="struct_ort_custom_op.html#a0fe03707bc8b2adae0cf3752c0fbec4a">GetOutputCharacteristic</a>(index); };</div>
|
|
<div class="line"><a id="l01815" name="l01815"></a><span class="lineno"> 1815</span> </div>
|
|
<div class="line"><a id="l01816" name="l01816"></a><span class="lineno"> 1816</span> <a class="code hl_variable" href="struct_ort_custom_op.html#ad987a4d026c004910e0823024d6082f4">OrtCustomOp::GetVariadicInputMinArity</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a499827563c3dbff1874d6bf2ebcaf5e7">GetVariadicInputMinArity</a>(); };</div>
|
|
<div class="line"><a id="l01817" name="l01817"></a><span class="lineno"> 1817</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a060f050481efa00baa8b01961373c4fe">OrtCustomOp::GetVariadicInputHomogeneity</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a24a3503b832c0a9e8c508acc3d3da868">GetVariadicInputHomogeneity</a>()); };</div>
|
|
<div class="line"><a id="l01818" name="l01818"></a><span class="lineno"> 1818</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a181daf57e1aebddbb0dd36cd756c5614">OrtCustomOp::GetVariadicOutputMinArity</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a88367ab182bf8c02ddb4697df1dc3273">GetVariadicOutputMinArity</a>(); };</div>
|
|
<div class="line"><a id="l01819" name="l01819"></a><span class="lineno"> 1819</span> <a class="code hl_variable" href="struct_ort_custom_op.html#a6eff44ef3e8e98eeb32a19aaff97913b">OrtCustomOp::GetVariadicOutputHomogeneity</a> = [](<span class="keyword">const</span> <a class="code hl_struct" href="struct_ort_custom_op.html">OrtCustomOp</a>* this_) { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keyword">const </span>TOp*<span class="keyword">></span>(this_)-><a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a34318a9e644570ed54022f19fa09dbb2">GetVariadicOutputHomogeneity</a>()); };</div>
|
|
<div class="line"><a id="l01820" name="l01820"></a><span class="lineno"> 1820</span> }</div>
|
|
<div class="line"><a id="l01821" name="l01821"></a><span class="lineno"> 1821</span> </div>
|
|
<div class="line"><a id="l01822" name="l01822"></a><span class="lineno"> 1822</span> <span class="comment">// Default implementation of GetExecutionProviderType that returns nullptr to default to the CPU provider</span></div>
|
|
<div class="line"><a id="l01823" name="l01823"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a858ecd6400a9e8e4ee8781fb2d25d64d"> 1823</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a858ecd6400a9e8e4ee8781fb2d25d64d">GetExecutionProviderType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; }</div>
|
|
<div class="line"><a id="l01824" name="l01824"></a><span class="lineno"> 1824</span> </div>
|
|
<div class="line"><a id="l01825" name="l01825"></a><span class="lineno"> 1825</span> <span class="comment">// Default implementations of GetInputCharacteristic() and GetOutputCharacteristic() below</span></div>
|
|
<div class="line"><a id="l01826" name="l01826"></a><span class="lineno"> 1826</span> <span class="comment">// (inputs and outputs are required by default)</span></div>
|
|
<div class="line"><a id="l01827" name="l01827"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#aae85f833c3ecfbaa72ccdff8583b7643"> 1827</a></span> <a class="code hl_enumeration" href="group___global.html#ga316232eea9d4ddeab0d18752f5084c06">OrtCustomOpInputOutputCharacteristic</a> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#aae85f833c3ecfbaa72ccdff8583b7643">GetInputCharacteristic</a>(<span class="keywordtype">size_t</span> <span class="comment">/*index*/</span>)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01828" name="l01828"></a><span class="lineno"> 1828</span> <span class="keywordflow">return</span> OrtCustomOpInputOutputCharacteristic::INPUT_OUTPUT_REQUIRED;</div>
|
|
<div class="line"><a id="l01829" name="l01829"></a><span class="lineno"> 1829</span> }</div>
|
|
<div class="line"><a id="l01830" name="l01830"></a><span class="lineno"> 1830</span> </div>
|
|
<div class="line"><a id="l01831" name="l01831"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a1b2e0ec89870c94a520d2fc898cee701"> 1831</a></span> <a class="code hl_enumeration" href="group___global.html#ga316232eea9d4ddeab0d18752f5084c06">OrtCustomOpInputOutputCharacteristic</a> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a1b2e0ec89870c94a520d2fc898cee701">GetOutputCharacteristic</a>(<span class="keywordtype">size_t</span> <span class="comment">/*index*/</span>)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01832" name="l01832"></a><span class="lineno"> 1832</span> <span class="keywordflow">return</span> OrtCustomOpInputOutputCharacteristic::INPUT_OUTPUT_REQUIRED;</div>
|
|
<div class="line"><a id="l01833" name="l01833"></a><span class="lineno"> 1833</span> }</div>
|
|
<div class="line"><a id="l01834" name="l01834"></a><span class="lineno"> 1834</span> </div>
|
|
<div class="line"><a id="l01835" name="l01835"></a><span class="lineno"> 1835</span> <span class="comment">// Default implemention of GetInputMemoryType() that returns OrtMemTypeDefault</span></div>
|
|
<div class="line"><a id="l01836" name="l01836"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a4116e8fe9dbf6b3641a353ad094e2c75"> 1836</a></span> <a class="code hl_enumeration" href="group___global.html#gab7805016f4b26871e899a3cf4114ee0d">OrtMemType</a> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a4116e8fe9dbf6b3641a353ad094e2c75">GetInputMemoryType</a>(<span class="keywordtype">size_t</span> <span class="comment">/*index*/</span>)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01837" name="l01837"></a><span class="lineno"> 1837</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="group___global.html#ggab7805016f4b26871e899a3cf4114ee0da4ecb169ee6f3e0a8d505c8a240070378">OrtMemTypeDefault</a>;</div>
|
|
<div class="line"><a id="l01838" name="l01838"></a><span class="lineno"> 1838</span> }</div>
|
|
<div class="line"><a id="l01839" name="l01839"></a><span class="lineno"> 1839</span> </div>
|
|
<div class="line"><a id="l01840" name="l01840"></a><span class="lineno"> 1840</span> <span class="comment">// Default implementation of GetVariadicInputMinArity() returns 1 to specify that a variadic input</span></div>
|
|
<div class="line"><a id="l01841" name="l01841"></a><span class="lineno"> 1841</span> <span class="comment">// should expect at least 1 argument.</span></div>
|
|
<div class="line"><a id="l01842" name="l01842"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a499827563c3dbff1874d6bf2ebcaf5e7"> 1842</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a499827563c3dbff1874d6bf2ebcaf5e7">GetVariadicInputMinArity</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01843" name="l01843"></a><span class="lineno"> 1843</span> <span class="keywordflow">return</span> 1;</div>
|
|
<div class="line"><a id="l01844" name="l01844"></a><span class="lineno"> 1844</span> }</div>
|
|
<div class="line"><a id="l01845" name="l01845"></a><span class="lineno"> 1845</span> </div>
|
|
<div class="line"><a id="l01846" name="l01846"></a><span class="lineno"> 1846</span> <span class="comment">// Default implementation of GetVariadicInputHomegeneity() returns true to specify that all arguments</span></div>
|
|
<div class="line"><a id="l01847" name="l01847"></a><span class="lineno"> 1847</span> <span class="comment">// to a variadic input should be of the same type.</span></div>
|
|
<div class="line"><a id="l01848" name="l01848"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a24a3503b832c0a9e8c508acc3d3da868"> 1848</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a24a3503b832c0a9e8c508acc3d3da868">GetVariadicInputHomogeneity</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01849" name="l01849"></a><span class="lineno"> 1849</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
|
<div class="line"><a id="l01850" name="l01850"></a><span class="lineno"> 1850</span> }</div>
|
|
<div class="line"><a id="l01851" name="l01851"></a><span class="lineno"> 1851</span> </div>
|
|
<div class="line"><a id="l01852" name="l01852"></a><span class="lineno"> 1852</span> <span class="comment">// Default implementation of GetVariadicOutputMinArity() returns 1 to specify that a variadic output</span></div>
|
|
<div class="line"><a id="l01853" name="l01853"></a><span class="lineno"> 1853</span> <span class="comment">// should produce at least 1 output value.</span></div>
|
|
<div class="line"><a id="l01854" name="l01854"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a88367ab182bf8c02ddb4697df1dc3273"> 1854</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a88367ab182bf8c02ddb4697df1dc3273">GetVariadicOutputMinArity</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01855" name="l01855"></a><span class="lineno"> 1855</span> <span class="keywordflow">return</span> 1;</div>
|
|
<div class="line"><a id="l01856" name="l01856"></a><span class="lineno"> 1856</span> }</div>
|
|
<div class="line"><a id="l01857" name="l01857"></a><span class="lineno"> 1857</span> </div>
|
|
<div class="line"><a id="l01858" name="l01858"></a><span class="lineno"> 1858</span> <span class="comment">// Default implementation of GetVariadicOutputHomegeneity() returns true to specify that all output values</span></div>
|
|
<div class="line"><a id="l01859" name="l01859"></a><span class="lineno"> 1859</span> <span class="comment">// produced by a variadic output should be of the same type.</span></div>
|
|
<div class="line"><a id="l01860" name="l01860"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a34318a9e644570ed54022f19fa09dbb2"> 1860</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a34318a9e644570ed54022f19fa09dbb2">GetVariadicOutputHomogeneity</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01861" name="l01861"></a><span class="lineno"> 1861</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
|
<div class="line"><a id="l01862" name="l01862"></a><span class="lineno"> 1862</span> }</div>
|
|
<div class="line"><a id="l01863" name="l01863"></a><span class="lineno"> 1863</span> </div>
|
|
<div class="line"><a id="l01864" name="l01864"></a><span class="lineno"> 1864</span> <span class="comment">// Declare list of session config entries used by this Custom Op.</span></div>
|
|
<div class="line"><a id="l01865" name="l01865"></a><span class="lineno"> 1865</span> <span class="comment">// Implement this function in order to get configs from CustomOpBase::GetSessionConfigs().</span></div>
|
|
<div class="line"><a id="l01866" name="l01866"></a><span class="lineno"> 1866</span> <span class="comment">// This default implementation returns an empty vector of config entries.</span></div>
|
|
<div class="line"><a id="l01867" name="l01867"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#a0d38cdb89dd3ee84b234c67a11b239f0"> 1867</a></span> std::vector<std::string> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#a0d38cdb89dd3ee84b234c67a11b239f0">GetSessionConfigKeys</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l01868" name="l01868"></a><span class="lineno"> 1868</span> <span class="keywordflow">return</span> std::vector<std::string>{};</div>
|
|
<div class="line"><a id="l01869" name="l01869"></a><span class="lineno"> 1869</span> }</div>
|
|
<div class="line"><a id="l01870" name="l01870"></a><span class="lineno"> 1870</span> </div>
|
|
<div class="line"><a id="l01871" name="l01871"></a><span class="lineno"> 1871</span> <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l01872" name="l01872"></a><span class="lineno"> 1872</span> <span class="comment">// Helper function that returns a map of session config entries specified by CustomOpBase::GetSessionConfigKeys.</span></div>
|
|
<div class="line"><a id="l01873" name="l01873"></a><span class="lineno"><a class="line" href="struct_ort_1_1_custom_op_base.html#ac9f273e290def88726f0cc22a5f3ed18"> 1873</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="struct_ort_1_1_custom_op_base.html#ac9f273e290def88726f0cc22a5f3ed18">GetSessionConfigs</a>(std::unordered_map<std::string, std::string>& out, <a class="code hl_struct" href="struct_ort_1_1detail_1_1_const_session_options_impl.html">ConstSessionOptions</a> options) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l01874" name="l01874"></a><span class="lineno"> 1874</span>};</div>
|
|
<div class="line"><a id="l01875" name="l01875"></a><span class="lineno"> 1875</span> </div>
|
|
<div class="line"><a id="l01876" name="l01876"></a><span class="lineno"> 1876</span>} <span class="comment">// namespace Ort</span></div>
|
|
<div class="line"><a id="l01877" name="l01877"></a><span class="lineno"> 1877</span> </div>
|
|
<div class="line"><a id="l01878" name="l01878"></a><span class="lineno"> 1878</span><span class="preprocessor">#include "onnxruntime_cxx_inline.h"</span></div>
|
|
<div class="ttc" id="agroup___global_html_ga088f45e429651ac29b4a9efb4d88571a"><div class="ttname"><a href="group___global.html#ga088f45e429651ac29b4a9efb4d88571a">OrtMemoryInfo</a></div><div class="ttdeci">struct OrtMemoryInfo OrtMemoryInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:252</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga0dc9b747ee56ed963beb424a48ed6b8b"><div class="ttname"><a href="group___global.html#ga0dc9b747ee56ed963beb424a48ed6b8b">OrtKernelInfo</a></div><div class="ttdeci">struct OrtKernelInfo OrtKernelInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:329</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga1c0fbcf614dbd0e2c272ae1cc04c629c"><div class="ttname"><a href="group___global.html#ga1c0fbcf614dbd0e2c272ae1cc04c629c">OrtLoggingLevel</a></div><div class="ttdeci">OrtLoggingLevel</div><div class="ttdoc">Logging severity levels.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:207</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga1e39271d4a47f765694d86e5a7d27565"><div class="ttname"><a href="group___global.html#ga1e39271d4a47f765694d86e5a7d27565">OrtMemoryInfoDeviceType</a></div><div class="ttdeci">OrtMemoryInfoDeviceType</div><div class="ttdoc">This mimics OrtDevice type constants so they can be returned in the API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:353</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga2a61c1134f2f604095f32d2560630e94"><div class="ttname"><a href="group___global.html#ga2a61c1134f2f604095f32d2560630e94">OrtLoggingFunction</a></div><div class="ttdeci">void(* OrtLoggingFunction)(void *param, OrtLoggingLevel severity, const char *category, const char *logid, const char *code_location, const char *message)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:294</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga2d123bc5dd929c1cb520e7b872fbfd0e"><div class="ttname"><a href="group___global.html#ga2d123bc5dd929c1cb520e7b872fbfd0e">OrtCustomJoinThreadFn</a></div><div class="ttdeci">void(* OrtCustomJoinThreadFn)(OrtCustomThreadHandle ort_custom_thread_handle)</div><div class="ttdoc">Custom thread join function.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:627</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga316232eea9d4ddeab0d18752f5084c06"><div class="ttname"><a href="group___global.html#ga316232eea9d4ddeab0d18752f5084c06">OrtCustomOpInputOutputCharacteristic</a></div><div class="ttdeci">OrtCustomOpInputOutputCharacteristic</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:3979</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga331177427bd78a813d46a78f78f159a2"><div class="ttname"><a href="group___global.html#ga331177427bd78a813d46a78f78f159a2">OrtTensorRTProviderOptionsV2</a></div><div class="ttdeci">struct OrtTensorRTProviderOptionsV2 OrtTensorRTProviderOptionsV2</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:268</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga35c9298b30685c4e68e4830697a6a171"><div class="ttname"><a href="group___global.html#ga35c9298b30685c4e68e4830697a6a171">OrtOpAttr</a></div><div class="ttdeci">struct OrtOpAttr OrtOpAttr</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:273</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga3a8151bc1daecaae2411fb9a54c01ee9"><div class="ttname"><a href="group___global.html#ga3a8151bc1daecaae2411fb9a54c01ee9">OrtThreadingOptions</a></div><div class="ttdeci">struct OrtThreadingOptions OrtThreadingOptions</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:265</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga3cf68e3a575b0330628f7955c4ec3388"><div class="ttname"><a href="group___global.html#ga3cf68e3a575b0330628f7955c4ec3388">OrtSequenceTypeInfo</a></div><div class="ttdeci">struct OrtSequenceTypeInfo OrtSequenceTypeInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:262</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga49569269349ce14f35dcf27b03b82252"><div class="ttname"><a href="group___global.html#ga49569269349ce14f35dcf27b03b82252">OrtDnnlProviderOptions</a></div><div class="ttdeci">struct OrtDnnlProviderOptions OrtDnnlProviderOptions</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:271</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga497c04502f658b896b265233fc890787"><div class="ttname"><a href="group___global.html#ga497c04502f658b896b265233fc890787">OrtSparseIndicesFormat</a></div><div class="ttdeci">OrtSparseIndicesFormat</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:196</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga4b0ed31cf137ed2f763dddd2da40c2cf"><div class="ttname"><a href="group___global.html#ga4b0ed31cf137ed2f763dddd2da40c2cf">OrtPrepackedWeightsContainer</a></div><div class="ttdeci">struct OrtPrepackedWeightsContainer OrtPrepackedWeightsContainer</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:267</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga571f649a16d7052d4465ceabfdd26161"><div class="ttname"><a href="group___global.html#ga571f649a16d7052d4465ceabfdd26161">OrtCustomOpDomain</a></div><div class="ttdeci">struct OrtCustomOpDomain OrtCustomOpDomain</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:260</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga58e534aaa9cdcee02d79ffddced86c93"><div class="ttname"><a href="group___global.html#ga58e534aaa9cdcee02d79ffddced86c93">OrtIoBinding</a></div><div class="ttdeci">struct OrtIoBinding OrtIoBinding</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:253</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga5b765504a386db304d59e999de9bd1d6"><div class="ttname"><a href="group___global.html#ga5b765504a386db304d59e999de9bd1d6">OrtAllocatorType</a></div><div class="ttdeci">OrtAllocatorType</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:335</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga5f2a4b6be620e970f5c401795034c416"><div class="ttname"><a href="group___global.html#ga5f2a4b6be620e970f5c401795034c416">OrtOp</a></div><div class="ttdeci">struct OrtOp OrtOp</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:272</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga60c3d77af832d0d7fa5e14636009b408"><div class="ttname"><a href="group___global.html#ga60c3d77af832d0d7fa5e14636009b408">OrtModelMetadata</a></div><div class="ttdeci">struct OrtModelMetadata OrtModelMetadata</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:263</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga651ed4317ee24a2fb83ae63dd03687b2"><div class="ttname"><a href="group___global.html#ga651ed4317ee24a2fb83ae63dd03687b2">OrtTypeInfo</a></div><div class="ttdeci">struct OrtTypeInfo OrtTypeInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:257</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga6af32c548904330b6bd7e8cba6e186c1"><div class="ttname"><a href="group___global.html#ga6af32c548904330b6bd7e8cba6e186c1">OrtTensorTypeAndShapeInfo</a></div><div class="ttdeci">struct OrtTensorTypeAndShapeInfo OrtTensorTypeAndShapeInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:258</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga6b319b3ba435fb46c3808d7957c4684f"><div class="ttname"><a href="group___global.html#ga6b319b3ba435fb46c3808d7957c4684f">OrtCUDAProviderOptionsV2</a></div><div class="ttdeci">struct OrtCUDAProviderOptionsV2 OrtCUDAProviderOptionsV2</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:269</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga757f41782aa4ae79362a25d92a5d4230"><div class="ttname"><a href="group___global.html#ga757f41782aa4ae79362a25d92a5d4230">OrtKernelContext</a></div><div class="ttdeci">struct OrtKernelContext OrtKernelContext</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:331</div></div>
|
|
<div class="ttc" id="agroup___global_html_ga8c583d44d04b39c4328fa754994f7730"><div class="ttname"><a href="group___global.html#ga8c583d44d04b39c4328fa754994f7730">OrtCANNProviderOptions</a></div><div class="ttdeci">struct OrtCANNProviderOptions OrtCANNProviderOptions</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:270</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaa6c56bcb36e39611481a17065d3ce620"><div class="ttname"><a href="group___global.html#gaa6c56bcb36e39611481a17065d3ce620">OrtSessionOptions</a></div><div class="ttdeci">struct OrtSessionOptions OrtSessionOptions</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:259</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaab167acf3fe9dabc0195b993fbe7ee7d"><div class="ttname"><a href="group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d">OrtValue</a></div><div class="ttdeci">struct OrtValue OrtValue</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:255</div></div>
|
|
<div class="ttc" id="agroup___global_html_gab086a52ca2f3a883cd1f7561eadd8ec9"><div class="ttname"><a href="group___global.html#gab086a52ca2f3a883cd1f7561eadd8ec9">GraphOptimizationLevel</a></div><div class="ttdeci">GraphOptimizationLevel</div><div class="ttdoc">Graph optimization level.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:303</div></div>
|
|
<div class="ttc" id="agroup___global_html_gab7805016f4b26871e899a3cf4114ee0d"><div class="ttname"><a href="group___global.html#gab7805016f4b26871e899a3cf4114ee0d">OrtMemType</a></div><div class="ttdeci">OrtMemType</div><div class="ttdoc">Memory types for allocated memory, execution provider specific types should be extended in each provi...</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:344</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaba2697542109e4ab6b24a8fbb847812d"><div class="ttname"><a href="group___global.html#gaba2697542109e4ab6b24a8fbb847812d">OrtSparseFormat</a></div><div class="ttdeci">OrtSparseFormat</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:188</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaba5b3718087699f596432d5649b9a28d"><div class="ttname"><a href="group___global.html#gaba5b3718087699f596432d5649b9a28d">ONNXType</a></div><div class="ttdeci">ONNXType</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:176</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaba9072a64b5081cd4d36cca5ef92bd08"><div class="ttname"><a href="group___global.html#gaba9072a64b5081cd4d36cca5ef92bd08">OrtEnv</a></div><div class="ttdeci">struct OrtEnv OrtEnv</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:250</div></div>
|
|
<div class="ttc" id="agroup___global_html_gabab5349c294603a9eac437fdafd40a3d"><div class="ttname"><a href="group___global.html#gabab5349c294603a9eac437fdafd40a3d">OrtErrorCode</a></div><div class="ttdeci">OrtErrorCode</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:215</div></div>
|
|
<div class="ttc" id="agroup___global_html_gabbdf49d59489efef1b125d8e0d59adc6"><div class="ttname"><a href="group___global.html#gabbdf49d59489efef1b125d8e0d59adc6">OrtStatus</a></div><div class="ttdeci">struct OrtStatus OrtStatus</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:251</div></div>
|
|
<div class="ttc" id="agroup___global_html_gac583aeb4640621ceb588f6300537945d"><div class="ttname"><a href="group___global.html#gac583aeb4640621ceb588f6300537945d">ORT_API_VERSION</a></div><div class="ttdeci">#define ORT_API_VERSION</div><div class="ttdoc">The API version defined in this header.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:33</div></div>
|
|
<div class="ttc" id="agroup___global_html_gac87280b8593f74df62181b124d9a790d"><div class="ttname"><a href="group___global.html#gac87280b8593f74df62181b124d9a790d">OrtMapTypeInfo</a></div><div class="ttdeci">struct OrtMapTypeInfo OrtMapTypeInfo</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:261</div></div>
|
|
<div class="ttc" id="agroup___global_html_gacd8d2ea2ab8f4063d8d85dc0edc461e7"><div class="ttname"><a href="group___global.html#gacd8d2ea2ab8f4063d8d85dc0edc461e7">OrtArenaCfg</a></div><div class="ttdeci">struct OrtArenaCfg OrtArenaCfg</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:266</div></div>
|
|
<div class="ttc" id="agroup___global_html_gad14b0c6d4ed8fcadff6dcf39c5cf17fd"><div class="ttname"><a href="group___global.html#gad14b0c6d4ed8fcadff6dcf39c5cf17fd">ExecutionMode</a></div><div class="ttdeci">ExecutionMode</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:310</div></div>
|
|
<div class="ttc" id="agroup___global_html_gad2d78682b8468cfbfbbc20563a2424cc"><div class="ttname"><a href="group___global.html#gad2d78682b8468cfbfbbc20563a2424cc">OrtOpAttrType</a></div><div class="ttdeci">OrtOpAttrType</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:230</div></div>
|
|
<div class="ttc" id="agroup___global_html_gae0957b6ccebab677893b6155dcb744e5"><div class="ttname"><a href="group___global.html#gae0957b6ccebab677893b6155dcb744e5">OrtCustomCreateThreadFn</a></div><div class="ttdeci">OrtCustomThreadHandle(* OrtCustomCreateThreadFn)(void *ort_custom_thread_creation_options, OrtThreadWorkerFn ort_thread_worker_fn, void *ort_worker_fn_param)</div><div class="ttdoc">Ort custom thread creation function.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:620</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaec63cdda46c29b8183997f38930ce38e"><div class="ttname"><a href="group___global.html#gaec63cdda46c29b8183997f38930ce38e">ONNXTensorElementDataType</a></div><div class="ttdeci">ONNXTensorElementDataType</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:155</div></div>
|
|
<div class="ttc" id="agroup___global_html_gaff6ff297798b9337d4c0f89a35b76aa6"><div class="ttname"><a href="group___global.html#gaff6ff297798b9337d4c0f89a35b76aa6">OrtGetApiBase</a></div><div class="ttdeci">const OrtApiBase * OrtGetApiBase(void)</div><div class="ttdoc">The Onnxruntime library's entry point to access the C API.</div></div>
|
|
<div class="ttc" id="agroup___global_html_gga1c0fbcf614dbd0e2c272ae1cc04c629cab150db726e3f481f0e67ae654307b1c6"><div class="ttname"><a href="group___global.html#gga1c0fbcf614dbd0e2c272ae1cc04c629cab150db726e3f481f0e67ae654307b1c6">ORT_LOGGING_LEVEL_WARNING</a></div><div class="ttdeci">@ ORT_LOGGING_LEVEL_WARNING</div><div class="ttdoc">Warning messages.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:210</div></div>
|
|
<div class="ttc" id="agroup___global_html_ggab7805016f4b26871e899a3cf4114ee0da4ecb169ee6f3e0a8d505c8a240070378"><div class="ttname"><a href="group___global.html#ggab7805016f4b26871e899a3cf4114ee0da4ecb169ee6f3e0a8d505c8a240070378">OrtMemTypeDefault</a></div><div class="ttdeci">@ OrtMemTypeDefault</div><div class="ttdoc">The default allocator for execution provider.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:348</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_1_1attr__utils_html_a7aac780b432d7fda73b9ec2482a207ac"><div class="ttname"><a href="namespace_ort_1_1detail_1_1attr__utils.html#a7aac780b432d7fda73b9ec2482a207ac">Ort::detail::attr_utils::GetAttr</a></div><div class="ttdeci">void GetAttr(const OrtKernelInfo *p, const char *name, float &)</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_1_1attr__utils_html_ab53af7eab59f26dc5cb5de6ee11eb9be"><div class="ttname"><a href="namespace_ort_1_1detail_1_1attr__utils.html#ab53af7eab59f26dc5cb5de6ee11eb9be">Ort::detail::attr_utils::GetAttrs</a></div><div class="ttdeci">void GetAttrs(const OrtKernelInfo *p, const char *name, std::vector< float > &)</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_1_1binding__utils_html_a5970970dc97596c682af2b3a54596077"><div class="ttname"><a href="namespace_ort_1_1detail_1_1binding__utils.html#a5970970dc97596c682af2b3a54596077">Ort::detail::binding_utils::GetOutputValuesHelper</a></div><div class="ttdeci">std::vector< Value > GetOutputValuesHelper(const OrtIoBinding *binding, OrtAllocator *)</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_1_1binding__utils_html_a9339c079af35b8bb9f2e206ceb229cfa"><div class="ttname"><a href="namespace_ort_1_1detail_1_1binding__utils.html#a9339c079af35b8bb9f2e206ceb229cfa">Ort::detail::binding_utils::GetOutputNamesHelper</a></div><div class="ttdeci">std::vector< std::string > GetOutputNamesHelper(const OrtIoBinding *binding, OrtAllocator *)</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_html_ae9a30b99be95656943cc324faca4230b"><div class="ttname"><a href="namespace_ort_1_1detail.html#ae9a30b99be95656943cc324faca4230b">Ort::detail::OrtRelease</a></div><div class="ttdeci">void OrtRelease(OrtAllocator *ptr)</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:205</div></div>
|
|
<div class="ttc" id="anamespace_ort_1_1detail_html_af0cdae3ed8b2232264ce152d01a0adc6"><div class="ttname"><a href="namespace_ort_1_1detail.html#af0cdae3ed8b2232264ce152d01a0adc6">Ort::detail::MakeCustomOpConfigEntryKey</a></div><div class="ttdeci">std::string MakeCustomOpConfigEntryKey(const char *custom_op_name, const char *config)</div></div>
|
|
<div class="ttc" id="anamespace_ort_html"><div class="ttname"><a href="namespace_ort.html">Ort</a></div><div class="ttdoc">All C++ Onnxruntime APIs are defined inside this namespace.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:44</div></div>
|
|
<div class="ttc" id="anamespace_ort_html_a06553255861e1c30a7437f2e18b70ec0"><div class="ttname"><a href="namespace_ort.html#a06553255861e1c30a7437f2e18b70ec0">Ort::AllocatedStringPtr</a></div><div class="ttdeci">std::unique_ptr< char, detail::AllocatedFree > AllocatedStringPtr</div><div class="ttdoc">unique_ptr typedef used to own strings allocated by OrtAllocators and release them at the end of the ...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:345</div></div>
|
|
<div class="ttc" id="anamespace_ort_html_a8930fa08683b5153ee3aa4df63745ce3"><div class="ttname"><a href="namespace_ort.html#a8930fa08683b5153ee3aa4df63745ce3">Ort::GetApi</a></div><div class="ttdeci">const OrtApi & GetApi()</div><div class="ttdoc">This returns a reference to the OrtApi interface in use.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:121</div></div>
|
|
<div class="ttc" id="anamespace_ort_html_ac2f785275bced9e6853a2f4ea6b71c04"><div class="ttname"><a href="namespace_ort.html#ac2f785275bced9e6853a2f4ea6b71c04">Ort::GetAvailableProviders</a></div><div class="ttdeci">std::vector< std::string > GetAvailableProviders()</div><div class="ttdoc">This is a C++ wrapper for OrtApi::GetAvailableProviders() and returns a vector of strings representin...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_html"><div class="ttname"><a href="struct_ort_1_1_allocator.html">Ort::Allocator</a></div><div class="ttdoc">Wrapper around OrtAllocator.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1412</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_html_a53b0673e46add5d2cd4c171a4e87ac7c"><div class="ttname"><a href="struct_ort_1_1_allocator.html#a53b0673e46add5d2cd4c171a4e87ac7c">Ort::Allocator::Allocator</a></div><div class="ttdeci">Allocator(const Session &session, const OrtMemoryInfo *)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_html_aeaf5b8cd9b23bcd4205759121bc97b34"><div class="ttname"><a href="struct_ort_1_1_allocator.html#aeaf5b8cd9b23bcd4205759121bc97b34">Ort::Allocator::Allocator</a></div><div class="ttdeci">Allocator(std::nullptr_t)</div><div class="ttdoc">Convenience to create a class member and then replace with an instance.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1413</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_with_default_options_html"><div class="ttname"><a href="struct_ort_1_1_allocator_with_default_options.html">Ort::AllocatorWithDefaultOptions</a></div><div class="ttdoc">Wrapper around OrtAllocator default instance that is owned by Onnxruntime.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1404</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_with_default_options_html_ab1f5ef8a6907aae2fec5331afa708529"><div class="ttname"><a href="struct_ort_1_1_allocator_with_default_options.html#ab1f5ef8a6907aae2fec5331afa708529">Ort::AllocatorWithDefaultOptions::AllocatorWithDefaultOptions</a></div><div class="ttdeci">AllocatorWithDefaultOptions(std::nullptr_t)</div><div class="ttdoc">Convenience to create a class member and then replace with an instance.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1405</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_allocator_with_default_options_html_ad25e08123ae46e2202996d121e7d29e7"><div class="ttname"><a href="struct_ort_1_1_allocator_with_default_options.html#ad25e08123ae46e2202996d121e7d29e7">Ort::AllocatorWithDefaultOptions::AllocatorWithDefaultOptions</a></div><div class="ttdeci">AllocatorWithDefaultOptions()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_arena_cfg_html"><div class="ttname"><a href="struct_ort_1_1_arena_cfg.html">Ort::ArenaCfg</a></div><div class="ttdoc">it is a structure that represents the configuration of an arena based allocator</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1470</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_arena_cfg_html_a1c6f844ba4da1cbdaf64978c18883390"><div class="ttname"><a href="struct_ort_1_1_arena_cfg.html#a1c6f844ba4da1cbdaf64978c18883390">Ort::ArenaCfg::ArenaCfg</a></div><div class="ttdeci">ArenaCfg(std::nullptr_t)</div><div class="ttdoc">Create an empty ArenaCfg object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1471</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_arena_cfg_html_af5984643b2ec4748e45df6e50b9f2720"><div class="ttname"><a href="struct_ort_1_1_arena_cfg.html#af5984643b2ec4748e45df6e50b9f2720">Ort::ArenaCfg::ArenaCfg</a></div><div class="ttdeci">ArenaCfg(size_t max_mem, int arena_extend_strategy, int initial_chunk_size_bytes, int max_dead_bytes_per_chunk)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html">Ort::BFloat16_t</a></div><div class="ttdoc">bfloat16 (Brain Floating Point) data type</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:188</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html_a045d540abc39bc03e4119cb70483979f"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f">Ort::BFloat16_t::value</a></div><div class="ttdeci">uint16_t value</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:189</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html_a346ce22f7bd22dece2a426c3826b05b4"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html#a346ce22f7bd22dece2a426c3826b05b4">Ort::BFloat16_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const BFloat16_t &rhs) const noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:194</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html_a6805de0ff7cfa6f60580dac30cbd056d"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html#a6805de0ff7cfa6f60580dac30cbd056d">Ort::BFloat16_t::BFloat16_t</a></div><div class="ttdeci">constexpr BFloat16_t(uint16_t v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:191</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html_ab0db76a01b78a335e317c31d9cc96ffd"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html#ab0db76a01b78a335e317c31d9cc96ffd">Ort::BFloat16_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const BFloat16_t &rhs) const noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:193</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_b_float16__t_html_abd5fd29e8aa239abf8bd0d09ad280222"><div class="ttname"><a href="struct_ort_1_1_b_float16__t.html#abd5fd29e8aa239abf8bd0d09ad280222">Ort::BFloat16_t::BFloat16_t</a></div><div class="ttdeci">constexpr BFloat16_t() noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:190</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html">Ort::CustomOpApi</a></div><div class="ttdoc">This entire structure is deprecated, but we not marking it as a whole yet since we want to preserve f...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1607</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a015cb844d1127a400228c2756892d453"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a015cb844d1127a400228c2756892d453">Ort::CustomOpApi::KernelContext_GetOutputCount</a></div><div class="ttdeci">size_t KernelContext_GetOutputCount(const OrtKernelContext *context)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a09e1878a345d126e64b59e193fc06050"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a09e1878a345d126e64b59e193fc06050">Ort::CustomOpApi::GetDimensionsCount</a></div><div class="ttdeci">size_t GetDimensionsCount(const OrtTensorTypeAndShapeInfo *info)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a0bb133692d307824f5da57019963d4a2"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a0bb133692d307824f5da57019963d4a2">Ort::CustomOpApi::KernelContext_GetGPUComputeStream</a></div><div class="ttdeci">void * KernelContext_GetGPUComputeStream(const OrtKernelContext *context)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a17348789cfde3e1a93bf1e2af67c183e"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a17348789cfde3e1a93bf1e2af67c183e">Ort::CustomOpApi::KernelContext_GetInputCount</a></div><div class="ttdeci">size_t KernelContext_GetInputCount(const OrtKernelContext *context)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a17cae29d7ef679bae9b9b0857b188b45"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a17cae29d7ef679bae9b9b0857b188b45">Ort::CustomOpApi::InvokeOp</a></div><div class="ttdeci">void InvokeOp(const OrtKernelContext *context, const OrtOp *ort_op, const OrtValue *const *input_values, int input_count, OrtValue *const *output_values, int output_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a2740576ee3310312e198533bd9f0fddb"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a2740576ee3310312e198533bd9f0fddb">Ort::CustomOpApi::CreateOpAttr</a></div><div class="ttdeci">OrtOpAttr * CreateOpAttr(const char *name, const void *data, int len, OrtOpAttrType type)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a31dc7e04f29cfa16413f22198ecd824e"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a31dc7e04f29cfa16413f22198ecd824e">Ort::CustomOpApi::ReleaseOp</a></div><div class="ttdeci">void ReleaseOp(OrtOp *ort_op)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a3ee901b1e84cc4c47221dc230d357b66"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a3ee901b1e84cc4c47221dc230d357b66">Ort::CustomOpApi::KernelContext_GetOutput</a></div><div class="ttdeci">OrtValue * KernelContext_GetOutput(OrtKernelContext *context, size_t index, const int64_t *dim_values, size_t dim_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a42981ee288830f4b60683bbd4a21627d"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a42981ee288830f4b60683bbd4a21627d">Ort::CustomOpApi::ReleaseTensorTypeAndShapeInfo</a></div><div class="ttdeci">void ReleaseTensorTypeAndShapeInfo(OrtTensorTypeAndShapeInfo *input)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a47632080bea3d198cc8036e6c57a9288"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a47632080bea3d198cc8036e6c57a9288">Ort::CustomOpApi::KernelInfoGetAttribute</a></div><div class="ttdeci">T KernelInfoGetAttribute(const OrtKernelInfo *info, const char *name)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a4bac2252005fbe045acb35090a545a3d"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a4bac2252005fbe045acb35090a545a3d">Ort::CustomOpApi::GetTensorTypeAndShape</a></div><div class="ttdeci">OrtTensorTypeAndShapeInfo * GetTensorTypeAndShape(const OrtValue *value)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a4c60b4f47540791b366228dd6f790a7c"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a4c60b4f47540791b366228dd6f790a7c">Ort::CustomOpApi::GetTensorShape</a></div><div class="ttdeci">std::vector< int64_t > GetTensorShape(const OrtTensorTypeAndShapeInfo *info)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a53dbeeb8fba97a7c5c1e5a97a8f1978a"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a53dbeeb8fba97a7c5c1e5a97a8f1978a">Ort::CustomOpApi::GetDimensions</a></div><div class="ttdeci">void GetDimensions(const OrtTensorTypeAndShapeInfo *info, int64_t *dim_values, size_t dim_values_length)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a5c929d4036f582b452ce4bc9b8633c86"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a5c929d4036f582b452ce4bc9b8633c86">Ort::CustomOpApi::ReleaseOpAttr</a></div><div class="ttdeci">void ReleaseOpAttr(OrtOpAttr *op_attr)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a5e6b792b3e87a2c4fcf79d9e8bf3773c"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a5e6b792b3e87a2c4fcf79d9e8bf3773c">Ort::CustomOpApi::ThrowOnError</a></div><div class="ttdeci">void ThrowOnError(OrtStatus *result)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a769b23926ee250807eda73df88746bc9"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a769b23926ee250807eda73df88746bc9">Ort::CustomOpApi::GetTensorShapeElementCount</a></div><div class="ttdeci">size_t GetTensorShapeElementCount(const OrtTensorTypeAndShapeInfo *info)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a880d0346b32ddada9c42dad22898ee20"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a880d0346b32ddada9c42dad22898ee20">Ort::CustomOpApi::GetTensorElementType</a></div><div class="ttdeci">ONNXTensorElementDataType GetTensorElementType(const OrtTensorTypeAndShapeInfo *info)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_a8c66daa44131353c1ba93ed41078f320"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#a8c66daa44131353c1ba93ed41078f320">Ort::CustomOpApi::CreateOp</a></div><div class="ttdeci">OrtOp * CreateOp(const OrtKernelInfo *info, const char *op_name, const char *domain, int version, const char **type_constraint_names, const ONNXTensorElementDataType *type_constraint_values, int type_constraint_count, const OrtOpAttr *const *attr_values, int attr_count, int input_count, int output_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_abf028f27de7ac28bf78d89917dfe56b9"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#abf028f27de7ac28bf78d89917dfe56b9">Ort::CustomOpApi::CustomOpApi</a></div><div class="ttdeci">CustomOpApi(const OrtApi &api)</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1608</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_ad5fd03a24b54f6a42dc1660499d789e1"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#ad5fd03a24b54f6a42dc1660499d789e1">Ort::CustomOpApi::SetDimensions</a></div><div class="ttdeci">void SetDimensions(OrtTensorTypeAndShapeInfo *info, const int64_t *dim_values, size_t dim_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_ae39a4bb631faea94364121264fb0c7d3"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#ae39a4bb631faea94364121264fb0c7d3">Ort::CustomOpApi::CopyKernelInfo</a></div><div class="ttdeci">OrtKernelInfo * CopyKernelInfo(const OrtKernelInfo *info)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_af74d63c508411150a9c905824e9ee95b"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#af74d63c508411150a9c905824e9ee95b">Ort::CustomOpApi::ReleaseKernelInfo</a></div><div class="ttdeci">void ReleaseKernelInfo(OrtKernelInfo *info_copy)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_af9e61c4eb4c8f906b0e82671913e1980"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#af9e61c4eb4c8f906b0e82671913e1980">Ort::CustomOpApi::GetTensorMutableData</a></div><div class="ttdeci">T * GetTensorMutableData(OrtValue *value)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_afa21769ea0c1dca10da330d4d4544baa"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#afa21769ea0c1dca10da330d4d4544baa">Ort::CustomOpApi::KernelContext_GetInput</a></div><div class="ttdeci">const OrtValue * KernelContext_GetInput(const OrtKernelContext *context, size_t index)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_afb1a70a3d307af25e828b35bcf5f04b8"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#afb1a70a3d307af25e828b35bcf5f04b8">Ort::CustomOpApi::GetTensorMemoryInfo</a></div><div class="ttdeci">const OrtMemoryInfo * GetTensorMemoryInfo(const OrtValue *value)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_api_html_afd1a695491b0cd72147170e6ff28ef61"><div class="ttname"><a href="struct_ort_1_1_custom_op_api.html#afd1a695491b0cd72147170e6ff28ef61">Ort::CustomOpApi::GetTensorData</a></div><div class="ttdeci">const T * GetTensorData(const OrtValue *value)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html">Ort::CustomOpBase</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1789</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a0d38cdb89dd3ee84b234c67a11b239f0"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a0d38cdb89dd3ee84b234c67a11b239f0">Ort::CustomOpBase::GetSessionConfigKeys</a></div><div class="ttdeci">std::vector< std::string > GetSessionConfigKeys() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1867</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a1b2e0ec89870c94a520d2fc898cee701"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a1b2e0ec89870c94a520d2fc898cee701">Ort::CustomOpBase::GetOutputCharacteristic</a></div><div class="ttdeci">OrtCustomOpInputOutputCharacteristic GetOutputCharacteristic(size_t) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1831</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a24a3503b832c0a9e8c508acc3d3da868"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a24a3503b832c0a9e8c508acc3d3da868">Ort::CustomOpBase::GetVariadicInputHomogeneity</a></div><div class="ttdeci">bool GetVariadicInputHomogeneity() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1848</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a341d9bd1288f0a0629c4c4dbf53d2b05"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a341d9bd1288f0a0629c4c4dbf53d2b05">Ort::CustomOpBase::CustomOpBase</a></div><div class="ttdeci">CustomOpBase()</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1790</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a34318a9e644570ed54022f19fa09dbb2"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a34318a9e644570ed54022f19fa09dbb2">Ort::CustomOpBase::GetVariadicOutputHomogeneity</a></div><div class="ttdeci">bool GetVariadicOutputHomogeneity() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1860</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a4116e8fe9dbf6b3641a353ad094e2c75"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a4116e8fe9dbf6b3641a353ad094e2c75">Ort::CustomOpBase::GetInputMemoryType</a></div><div class="ttdeci">OrtMemType GetInputMemoryType(size_t) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1836</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a499827563c3dbff1874d6bf2ebcaf5e7"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a499827563c3dbff1874d6bf2ebcaf5e7">Ort::CustomOpBase::GetVariadicInputMinArity</a></div><div class="ttdeci">int GetVariadicInputMinArity() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1842</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a858ecd6400a9e8e4ee8781fb2d25d64d"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a858ecd6400a9e8e4ee8781fb2d25d64d">Ort::CustomOpBase::GetExecutionProviderType</a></div><div class="ttdeci">const char * GetExecutionProviderType() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1823</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_a88367ab182bf8c02ddb4697df1dc3273"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#a88367ab182bf8c02ddb4697df1dc3273">Ort::CustomOpBase::GetVariadicOutputMinArity</a></div><div class="ttdeci">int GetVariadicOutputMinArity() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1854</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_aae85f833c3ecfbaa72ccdff8583b7643"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#aae85f833c3ecfbaa72ccdff8583b7643">Ort::CustomOpBase::GetInputCharacteristic</a></div><div class="ttdeci">OrtCustomOpInputOutputCharacteristic GetInputCharacteristic(size_t) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1827</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_base_html_ac9f273e290def88726f0cc22a5f3ed18"><div class="ttname"><a href="struct_ort_1_1_custom_op_base.html#ac9f273e290def88726f0cc22a5f3ed18">Ort::CustomOpBase::GetSessionConfigs</a></div><div class="ttdeci">void GetSessionConfigs(std::unordered_map< std::string, std::string > &out, ConstSessionOptions options) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html">Ort::CustomOpConfigs</a></div><div class="ttdoc">Class that represents session configuration entries for one or more custom operators.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:483</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_a07d54701a0290a749d94a1a296ddfa76"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#a07d54701a0290a749d94a1a296ddfa76">Ort::CustomOpConfigs::~CustomOpConfigs</a></div><div class="ttdeci">~CustomOpConfigs()=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_a0ec1549d6406f21dce82292df1b9fbeb"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#a0ec1549d6406f21dce82292df1b9fbeb">Ort::CustomOpConfigs::AddConfig</a></div><div class="ttdeci">CustomOpConfigs & AddConfig(const char *custom_op_name, const char *config_key, const char *config_value)</div><div class="ttdoc">Adds a session configuration entry/value for a specific custom operator.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_a57d2195c6dca14d991dd3df4dc390c05"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#a57d2195c6dca14d991dd3df4dc390c05">Ort::CustomOpConfigs::operator=</a></div><div class="ttdeci">CustomOpConfigs & operator=(CustomOpConfigs &&o)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_a96e12c7a48728d7f551e8c683837b5b9"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#a96e12c7a48728d7f551e8c683837b5b9">Ort::CustomOpConfigs::CustomOpConfigs</a></div><div class="ttdeci">CustomOpConfigs(CustomOpConfigs &&o)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_aaada0b77a254031b1bf299cb26db71f4"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#aaada0b77a254031b1bf299cb26db71f4">Ort::CustomOpConfigs::CustomOpConfigs</a></div><div class="ttdeci">CustomOpConfigs()=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_ab19dd38318f6bd88b8cbf507ba5d52f0"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#ab19dd38318f6bd88b8cbf507ba5d52f0">Ort::CustomOpConfigs::GetFlattenedConfigs</a></div><div class="ttdeci">const std::unordered_map< std::string, std::string > & GetFlattenedConfigs() const</div><div class="ttdoc">Returns a flattened map of custom operator configuration entries and their values.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_acb53b3f4027cf22611c4f90098c9980d"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#acb53b3f4027cf22611c4f90098c9980d">Ort::CustomOpConfigs::CustomOpConfigs</a></div><div class="ttdeci">CustomOpConfigs(const CustomOpConfigs &)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_configs_html_acc58e5f0e6a3e10fedb93beda91adcab"><div class="ttname"><a href="struct_ort_1_1_custom_op_configs.html#acc58e5f0e6a3e10fedb93beda91adcab">Ort::CustomOpConfigs::operator=</a></div><div class="ttdeci">CustomOpConfigs & operator=(const CustomOpConfigs &)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_domain_html"><div class="ttname"><a href="struct_ort_1_1_custom_op_domain.html">Ort::CustomOpDomain</a></div><div class="ttdoc">Custom Op Domain.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:425</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_domain_html_a4718bfa2cc736c54c4da4cc828ba8899"><div class="ttname"><a href="struct_ort_1_1_custom_op_domain.html#a4718bfa2cc736c54c4da4cc828ba8899">Ort::CustomOpDomain::CustomOpDomain</a></div><div class="ttdeci">CustomOpDomain(std::nullptr_t)</div><div class="ttdoc">Create an empty CustomOpDomain object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:426</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_domain_html_a71fe5d662c516259a8e9816abc48eecb"><div class="ttname"><a href="struct_ort_1_1_custom_op_domain.html#a71fe5d662c516259a8e9816abc48eecb">Ort::CustomOpDomain::CustomOpDomain</a></div><div class="ttdeci">CustomOpDomain(const char *domain)</div><div class="ttdoc">Wraps OrtApi::CreateCustomOpDomain.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_custom_op_domain_html_ac6aa6df0bc9a87247eddabc3087e99c0"><div class="ttname"><a href="struct_ort_1_1_custom_op_domain.html#ac6aa6df0bc9a87247eddabc3087e99c0">Ort::CustomOpDomain::Add</a></div><div class="ttdeci">void Add(const OrtCustomOp *op)</div><div class="ttdoc">Wraps CustomOpDomain_Add.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html"><div class="ttname"><a href="struct_ort_1_1_env.html">Ort::Env</a></div><div class="ttdoc">The Env (Environment)</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:395</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a251b84b1a06a0d5f3f1cfa0d2591c033"><div class="ttname"><a href="struct_ort_1_1_env.html#a251b84b1a06a0d5f3f1cfa0d2591c033">Ort::Env::EnableTelemetryEvents</a></div><div class="ttdeci">Env & EnableTelemetryEvents()</div><div class="ttdoc">Wraps OrtApi::EnableTelemetryEvents.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a25b49a5a089206ead63150b4e246bdbe"><div class="ttname"><a href="struct_ort_1_1_env.html#a25b49a5a089206ead63150b4e246bdbe">Ort::Env::Env</a></div><div class="ttdeci">Env(OrtEnv *p)</div><div class="ttdoc">C Interop Helper.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:412</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a48bab6a5fcbe8f6d6c0ceb27afae810a"><div class="ttname"><a href="struct_ort_1_1_env.html#a48bab6a5fcbe8f6d6c0ceb27afae810a">Ort::Env::Env</a></div><div class="ttdeci">Env(std::nullptr_t)</div><div class="ttdoc">Create an empty Env object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:396</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a6d594538c1c9fd9da1a3fb0ce532fddc"><div class="ttname"><a href="struct_ort_1_1_env.html#a6d594538c1c9fd9da1a3fb0ce532fddc">Ort::Env::Env</a></div><div class="ttdeci">Env(OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="")</div><div class="ttdoc">Wraps OrtApi::CreateEnv.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a8406145b6539cd0676a29a56c1efe6be"><div class="ttname"><a href="struct_ort_1_1_env.html#a8406145b6539cd0676a29a56c1efe6be">Ort::Env::Env</a></div><div class="ttdeci">Env(const OrtThreadingOptions *tp_options, OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="")</div><div class="ttdoc">Wraps OrtApi::CreateEnvWithGlobalThreadPools.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_a8b41eadfdbb6998e5d4307318bca8033"><div class="ttname"><a href="struct_ort_1_1_env.html#a8b41eadfdbb6998e5d4307318bca8033">Ort::Env::Env</a></div><div class="ttdeci">Env(const OrtThreadingOptions *tp_options, OrtLoggingFunction logging_function, void *logger_param, OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="")</div><div class="ttdoc">Wraps OrtApi::CreateEnvWithCustomLoggerAndGlobalThreadPools.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_aacb1c1fec39c545a180c5c9b8fe37fb5"><div class="ttname"><a href="struct_ort_1_1_env.html#aacb1c1fec39c545a180c5c9b8fe37fb5">Ort::Env::Env</a></div><div class="ttdeci">Env(OrtLoggingLevel logging_level, const char *logid, OrtLoggingFunction logging_function, void *logger_param)</div><div class="ttdoc">Wraps OrtApi::CreateEnvWithCustomLogger.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_ace62e9a1fe461a42a0b1cc79ee40f421"><div class="ttname"><a href="struct_ort_1_1_env.html#ace62e9a1fe461a42a0b1cc79ee40f421">Ort::Env::CreateAndRegisterAllocator</a></div><div class="ttdeci">Env & CreateAndRegisterAllocator(const OrtMemoryInfo *mem_info, const OrtArenaCfg *arena_cfg)</div><div class="ttdoc">Wraps OrtApi::CreateAndRegisterAllocator.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_ae86a59c3a431a31081bf62e46aa29425"><div class="ttname"><a href="struct_ort_1_1_env.html#ae86a59c3a431a31081bf62e46aa29425">Ort::Env::UpdateEnvWithCustomLogLevel</a></div><div class="ttdeci">Env & UpdateEnvWithCustomLogLevel(OrtLoggingLevel log_severity_level)</div><div class="ttdoc">Wraps OrtApi::UpdateEnvWithCustomLogLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_env_html_afc9b2d44c9db7812787904d5e3018f24"><div class="ttname"><a href="struct_ort_1_1_env.html#afc9b2d44c9db7812787904d5e3018f24">Ort::Env::DisableTelemetryEvents</a></div><div class="ttdeci">Env & DisableTelemetryEvents()</div><div class="ttdoc">Wraps OrtApi::DisableTelemetryEvents.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_exception_html"><div class="ttname"><a href="struct_ort_1_1_exception.html">Ort::Exception</a></div><div class="ttdoc">All C++ methods that can fail will throw an exception of this type.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:50</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_exception_html_a03570d5990b5a35c818e6cca3e7b26e7"><div class="ttname"><a href="struct_ort_1_1_exception.html#a03570d5990b5a35c818e6cca3e7b26e7">Ort::Exception::what</a></div><div class="ttdeci">const char * what() const noexcept override</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:54</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_exception_html_ae6f688af3ca6b3f34a2b8f730cc4432d"><div class="ttname"><a href="struct_ort_1_1_exception.html#ae6f688af3ca6b3f34a2b8f730cc4432d">Ort::Exception::GetOrtErrorCode</a></div><div class="ttdeci">OrtErrorCode GetOrtErrorCode() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:53</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_exception_html_afed85f6b183b268ba316a06e00fe313c"><div class="ttname"><a href="struct_ort_1_1_exception.html#afed85f6b183b268ba316a06e00fe313c">Ort::Exception::Exception</a></div><div class="ttdeci">Exception(std::string &&string, OrtErrorCode code)</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:51</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html"><div class="ttname"><a href="struct_ort_1_1_float16__t.html">Ort::Float16_t</a></div><div class="ttdoc">IEEE 754 half-precision floating point data type.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:169</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html_a075d0f6f5e3d01ee576e195fc831c077"><div class="ttname"><a href="struct_ort_1_1_float16__t.html#a075d0f6f5e3d01ee576e195fc831c077">Ort::Float16_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const Float16_t &rhs) const noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:175</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html_a1c4bc779a26f3b76f7603ade55f8b406"><div class="ttname"><a href="struct_ort_1_1_float16__t.html#a1c4bc779a26f3b76f7603ade55f8b406">Ort::Float16_t::Float16_t</a></div><div class="ttdeci">constexpr Float16_t(uint16_t v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:172</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html_a40e94744f6857e04292cb5af42023709"><div class="ttname"><a href="struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709">Ort::Float16_t::value</a></div><div class="ttdeci">uint16_t value</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:170</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html_a7c3e6b3763cd9ade3aeb4ff9a3fa756b"><div class="ttname"><a href="struct_ort_1_1_float16__t.html#a7c3e6b3763cd9ade3aeb4ff9a3fa756b">Ort::Float16_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const Float16_t &rhs) const noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:174</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_float16__t_html_aa6e9b056f00cd4f8536e75186a66a761"><div class="ttname"><a href="struct_ort_1_1_float16__t.html#aa6e9b056f00cd4f8536e75186a66a761">Ort::Float16_t::Float16_t</a></div><div class="ttdeci">constexpr Float16_t() noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:171</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_global_html"><div class="ttname"><a href="struct_ort_1_1_global.html">Ort::Global</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:82</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_global_html_ab942ff324e47dc1fa29f5ee030fcf872"><div class="ttname"><a href="struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872">Ort::Global::api_</a></div><div class="ttdeci">static const OrtApi * api_</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:83</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_io_binding_html"><div class="ttname"><a href="struct_ort_1_1_io_binding.html">Ort::IoBinding</a></div><div class="ttdoc">Wrapper around OrtIoBinding.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1459</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_io_binding_html_a8798f1b0b4f24262ad96016541d8f8a3"><div class="ttname"><a href="struct_ort_1_1_io_binding.html#a8798f1b0b4f24262ad96016541d8f8a3">Ort::IoBinding::GetUnowned</a></div><div class="ttdeci">UnownedIoBinding GetUnowned() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1463</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_io_binding_html_ab4bc709150357bf917039d1f9328c06e"><div class="ttname"><a href="struct_ort_1_1_io_binding.html#ab4bc709150357bf917039d1f9328c06e">Ort::IoBinding::GetConst</a></div><div class="ttdeci">ConstIoBinding GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1462</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_io_binding_html_aeae142c9f100a5f34c29fbdecde58cf4"><div class="ttname"><a href="struct_ort_1_1_io_binding.html#aeae142c9f100a5f34c29fbdecde58cf4">Ort::IoBinding::IoBinding</a></div><div class="ttdeci">IoBinding(Session &session)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_io_binding_html_af002b4befdc734d992039108ae7013a7"><div class="ttname"><a href="struct_ort_1_1_io_binding.html#af002b4befdc734d992039108ae7013a7">Ort::IoBinding::IoBinding</a></div><div class="ttdeci">IoBinding(std::nullptr_t)</div><div class="ttdoc">Create an empty object for convenience. Sometimes, we want to initialize members later.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1460</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html">Ort::KernelContext</a></div><div class="ttdoc">This class wraps a raw pointer OrtKernelContext* that is being passed to the custom kernel Compute() ...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1500</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_a22793f8d1c8395a0645be07d368edfe7"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#a22793f8d1c8395a0645be07d368edfe7">Ort::KernelContext::KernelContext</a></div><div class="ttdeci">KernelContext(OrtKernelContext *context)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_a35f4a366b022bfa6d4dd3d3837d87e3a"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#a35f4a366b022bfa6d4dd3d3837d87e3a">Ort::KernelContext::GetInput</a></div><div class="ttdeci">ConstValue GetInput(size_t index) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_a9a43f9088473124a4d62a0815761650e"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#a9a43f9088473124a4d62a0815761650e">Ort::KernelContext::GetGPUComputeStream</a></div><div class="ttdeci">void * GetGPUComputeStream() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_a9b6d52cd982f7684db27f97905e3871e"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#a9b6d52cd982f7684db27f97905e3871e">Ort::KernelContext::GetInputCount</a></div><div class="ttdeci">size_t GetInputCount() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_aac4e8ec24fb1f67147ffed82f973fd30"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#aac4e8ec24fb1f67147ffed82f973fd30">Ort::KernelContext::GetOutputCount</a></div><div class="ttdeci">size_t GetOutputCount() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_ab4665cbe0b89fda81e15d798ecaf1f07"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#ab4665cbe0b89fda81e15d798ecaf1f07">Ort::KernelContext::GetOutput</a></div><div class="ttdeci">UnownedValue GetOutput(size_t index, const std::vector< int64_t > &dims) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_context_html_ac0aefe2c01dc8b2c3ec8f12458707003"><div class="ttname"><a href="struct_ort_1_1_kernel_context.html#ac0aefe2c01dc8b2c3ec8f12458707003">Ort::KernelContext::GetOutput</a></div><div class="ttdeci">UnownedValue GetOutput(size_t index, const int64_t *dim_values, size_t dim_count) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_info_html"><div class="ttname"><a href="struct_ort_1_1_kernel_info.html">Ort::KernelInfo</a></div><div class="ttdoc">This struct owns the OrtKernInfo* pointer when a copy is made. For convenient wrapping of OrtKernelIn...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1567</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_info_html_a67833ca9abb24c19f244d17c1de551f2"><div class="ttname"><a href="struct_ort_1_1_kernel_info.html#a67833ca9abb24c19f244d17c1de551f2">Ort::KernelInfo::KernelInfo</a></div><div class="ttdeci">KernelInfo(OrtKernelInfo *info)</div><div class="ttdoc">Take ownership of the instance.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_info_html_a9034dc6f3b75e1e0f9474d22199bee0a"><div class="ttname"><a href="struct_ort_1_1_kernel_info.html#a9034dc6f3b75e1e0f9474d22199bee0a">Ort::KernelInfo::GetConst</a></div><div class="ttdeci">ConstKernelInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1570</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_kernel_info_html_aace8ba8f11047c2ec727e7f847c3474d"><div class="ttname"><a href="struct_ort_1_1_kernel_info.html#aace8ba8f11047c2ec727e7f847c3474d">Ort::KernelInfo::KernelInfo</a></div><div class="ttdeci">KernelInfo(std::nullptr_t)</div><div class="ttdoc">Create an empty instance to initialize later.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1568</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_map_type_info_html"><div class="ttname"><a href="struct_ort_1_1_map_type_info.html">Ort::MapTypeInfo</a></div><div class="ttdoc">Wrapper around OrtMapTypeInfo.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:900</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_map_type_info_html_a026c4958c7ca7501d762a8b8ee53c519"><div class="ttname"><a href="struct_ort_1_1_map_type_info.html#a026c4958c7ca7501d762a8b8ee53c519">Ort::MapTypeInfo::GetConst</a></div><div class="ttdeci">ConstMapTypeInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:903</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_map_type_info_html_ac3fbee650e27172698ed4ee135b495ca"><div class="ttname"><a href="struct_ort_1_1_map_type_info.html#ac3fbee650e27172698ed4ee135b495ca">Ort::MapTypeInfo::MapTypeInfo</a></div><div class="ttdeci">MapTypeInfo(OrtMapTypeInfo *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:902</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_map_type_info_html_ac8b21422b2cfb8bc127aed99082f1602"><div class="ttname"><a href="struct_ort_1_1_map_type_info.html#ac8b21422b2cfb8bc127aed99082f1602">Ort::MapTypeInfo::MapTypeInfo</a></div><div class="ttdeci">MapTypeInfo(std::nullptr_t)</div><div class="ttdoc">Create an empty MapTypeInfo object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:901</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html">Ort::MemoryAllocation</a></div><div class="ttdoc">Represents native memory allocation coming from one of the OrtAllocators registered with OnnxRuntime....</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1370</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_a07e6b48d0ceba7fd7498c1e441ec87a9"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#a07e6b48d0ceba7fd7498c1e441ec87a9">Ort::MemoryAllocation::MemoryAllocation</a></div><div class="ttdeci">MemoryAllocation(MemoryAllocation &&) noexcept</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_a0ab8a17a34f5db87320088c4ad0081f4"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#a0ab8a17a34f5db87320088c4ad0081f4">Ort::MemoryAllocation::operator=</a></div><div class="ttdeci">MemoryAllocation & operator=(const MemoryAllocation &)=delete</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_a42a142a6fb7abd3fa8ca04332cf924d6"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#a42a142a6fb7abd3fa8ca04332cf924d6">Ort::MemoryAllocation::get</a></div><div class="ttdeci">void * get()</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1378</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_a668c96690c510873dd2a66b3d2819405"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#a668c96690c510873dd2a66b3d2819405">Ort::MemoryAllocation::~MemoryAllocation</a></div><div class="ttdeci">~MemoryAllocation()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_a9f1fccffe728b743aaf5de046f45b3ae"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#a9f1fccffe728b743aaf5de046f45b3ae">Ort::MemoryAllocation::MemoryAllocation</a></div><div class="ttdeci">MemoryAllocation(const MemoryAllocation &)=delete</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_ad452330302589764f470e18d50ea99cc"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#ad452330302589764f470e18d50ea99cc">Ort::MemoryAllocation::MemoryAllocation</a></div><div class="ttdeci">MemoryAllocation(OrtAllocator *allocator, void *p, size_t size)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_allocation_html_aedec2ec4928b1a6c7dbfd0d33dc87caf"><div class="ttname"><a href="struct_ort_1_1_memory_allocation.html#aedec2ec4928b1a6c7dbfd0d33dc87caf">Ort::MemoryAllocation::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1379</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html"><div class="ttname"><a href="struct_ort_1_1_memory_info.html">Ort::MemoryInfo</a></div><div class="ttdoc">Wrapper around OrtMemoryInfo.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:820</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html_a3ace49fabf70f845f9f9747d913a8aff"><div class="ttname"><a href="struct_ort_1_1_memory_info.html#a3ace49fabf70f845f9f9747d913a8aff">Ort::MemoryInfo::MemoryInfo</a></div><div class="ttdeci">MemoryInfo(const char *name, OrtAllocatorType type, int id, OrtMemType mem_type)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html_a4f517caf94801d72a8a0dc306e78747b"><div class="ttname"><a href="struct_ort_1_1_memory_info.html#a4f517caf94801d72a8a0dc306e78747b">Ort::MemoryInfo::MemoryInfo</a></div><div class="ttdeci">MemoryInfo(std::nullptr_t)</div><div class="ttdoc">No instance is created.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:822</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html_a64f805cacefdefa63148156e816f1c0d"><div class="ttname"><a href="struct_ort_1_1_memory_info.html#a64f805cacefdefa63148156e816f1c0d">Ort::MemoryInfo::MemoryInfo</a></div><div class="ttdeci">MemoryInfo(OrtMemoryInfo *p)</div><div class="ttdoc">Take ownership of a pointer created by C Api.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:823</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html_a6aba847b75d4d939b825d8a8d291f1e7"><div class="ttname"><a href="struct_ort_1_1_memory_info.html#a6aba847b75d4d939b825d8a8d291f1e7">Ort::MemoryInfo::CreateCpu</a></div><div class="ttdeci">static MemoryInfo CreateCpu(OrtAllocatorType type, OrtMemType mem_type1)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_memory_info_html_a8eb2db734e7a277d131f10143a4a89c6"><div class="ttname"><a href="struct_ort_1_1_memory_info.html#a8eb2db734e7a277d131f10143a4a89c6">Ort::MemoryInfo::GetConst</a></div><div class="ttdeci">ConstMemoryInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:825</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html">Ort::ModelMetadata</a></div><div class="ttdoc">Wrapper around OrtModelMetadata.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:618</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_a19adaa9f0a26c655cb8cfbc303140fb5"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#a19adaa9f0a26c655cb8cfbc303140fb5">Ort::ModelMetadata::GetDescriptionAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetDescriptionAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the description.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_a3084be03eb8306b91a397e1c278e4e10"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#a3084be03eb8306b91a397e1c278e4e10">Ort::ModelMetadata::GetCustomMetadataMapKeysAllocated</a></div><div class="ttdeci">std::vector< AllocatedStringPtr > GetCustomMetadataMapKeysAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a vector of copies of the custom metadata keys.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_a396ffe03318e70e231632c84627ffd37"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#a396ffe03318e70e231632c84627ffd37">Ort::ModelMetadata::ModelMetadata</a></div><div class="ttdeci">ModelMetadata(std::nullptr_t)</div><div class="ttdoc">Create an empty ModelMetadata object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:619</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_a5679e4546c4567c00e8de7a073383408"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#a5679e4546c4567c00e8de7a073383408">Ort::ModelMetadata::GetGraphDescriptionAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetGraphDescriptionAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the graph description.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_aa5f02d2668c72b7712504292b7ce6aad"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#aa5f02d2668c72b7712504292b7ce6aad">Ort::ModelMetadata::GetProducerNameAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetProducerNameAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the producer name.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_aa9856e1248bcb5ad0d5b2ec56ac6a623"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#aa9856e1248bcb5ad0d5b2ec56ac6a623">Ort::ModelMetadata::GetGraphNameAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetGraphNameAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the graph name.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_ad8f15e37fe32292dde2def2af8e13721"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#ad8f15e37fe32292dde2def2af8e13721">Ort::ModelMetadata::LookupCustomMetadataMapAllocated</a></div><div class="ttdeci">AllocatedStringPtr LookupCustomMetadataMapAllocated(const char *key, OrtAllocator *allocator) const</div><div class="ttdoc">Looks up a value by a key in the Custom Metadata map.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_ae3e92380b90266d5a18e3ca9b3d632a3"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#ae3e92380b90266d5a18e3ca9b3d632a3">Ort::ModelMetadata::ModelMetadata</a></div><div class="ttdeci">ModelMetadata(OrtModelMetadata *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:620</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_aedaed58809aa7c08cbe1b9a565393f36"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#aedaed58809aa7c08cbe1b9a565393f36">Ort::ModelMetadata::GetDomainAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetDomainAllocated(OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the domain name.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_model_metadata_html_af2dbdfcca90df0d532b60ab7b354a4ea"><div class="ttname"><a href="struct_ort_1_1_model_metadata.html#af2dbdfcca90df0d532b60ab7b354a4ea">Ort::ModelMetadata::GetVersion</a></div><div class="ttdeci">int64_t GetVersion() const</div><div class="ttdoc">Wraps OrtApi::ModelMetadataGetVersion.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_attr_html"><div class="ttname"><a href="struct_ort_1_1_op_attr.html">Ort::OpAttr</a></div><div class="ttdoc">This struct provides life time management for custom op attribute.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1490</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_attr_html_aaeb83ec334cc3b89ac27400cdea3f4da"><div class="ttname"><a href="struct_ort_1_1_op_attr.html#aaeb83ec334cc3b89ac27400cdea3f4da">Ort::OpAttr::OpAttr</a></div><div class="ttdeci">OpAttr(const char *name, const void *data, int len, OrtOpAttrType type)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html"><div class="ttname"><a href="struct_ort_1_1_op.html">Ort::Op</a></div><div class="ttdoc">Create and own custom defined operation.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1576</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html_a0394228ead0d6061f0f8a01e025d895b"><div class="ttname"><a href="struct_ort_1_1_op.html#a0394228ead0d6061f0f8a01e025d895b">Ort::Op::Op</a></div><div class="ttdeci">Op(OrtOp *)</div><div class="ttdoc">Take ownership of the OrtOp.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html_a0e85533349203792d4565419bfec5a67"><div class="ttname"><a href="struct_ort_1_1_op.html#a0e85533349203792d4565419bfec5a67">Ort::Op::Create</a></div><div class="ttdeci">static Op Create(const OrtKernelInfo *info, const char *op_name, const char *domain, int version, const char **type_constraint_names, const ONNXTensorElementDataType *type_constraint_values, size_t type_constraint_count, const OpAttr *attr_values, size_t attr_count, size_t input_count, size_t output_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html_a74c019228508f094c5d589427deab010"><div class="ttname"><a href="struct_ort_1_1_op.html#a74c019228508f094c5d589427deab010">Ort::Op::Op</a></div><div class="ttdeci">Op(std::nullptr_t)</div><div class="ttdoc">Create an empty Operator object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1577</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html_aa65b1d6cf3b2d54f99a00522a076d24f"><div class="ttname"><a href="struct_ort_1_1_op.html#aa65b1d6cf3b2d54f99a00522a076d24f">Ort::Op::Invoke</a></div><div class="ttdeci">void Invoke(const OrtKernelContext *context, const OrtValue *const *input_values, size_t input_count, OrtValue *const *output_values, size_t output_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_op_html_adb82cf8dbb13a397bab27505595576fb"><div class="ttname"><a href="struct_ort_1_1_op.html#adb82cf8dbb13a397bab27505595576fb">Ort::Op::Invoke</a></div><div class="ttdeci">void Invoke(const OrtKernelContext *context, const Value *input_values, size_t input_count, Value *output_values, size_t output_count)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html"><div class="ttname"><a href="struct_ort_1_1_run_options.html">Ort::RunOptions</a></div><div class="ttdoc">RunOptions.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:438</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a159fd9dcb41fa9d44fa4e1d55af7c1dd"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a159fd9dcb41fa9d44fa4e1d55af7c1dd">Ort::RunOptions::GetRunLogSeverityLevel</a></div><div class="ttdeci">int GetRunLogSeverityLevel() const</div><div class="ttdoc">Wraps OrtApi::RunOptionsGetRunLogSeverityLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a15a8e02b1349d35a095c0314743b84d6"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a15a8e02b1349d35a095c0314743b84d6">Ort::RunOptions::SetTerminate</a></div><div class="ttdeci">RunOptions & SetTerminate()</div><div class="ttdoc">Terminates all currently executing Session::Run calls that were made using this RunOptions instance.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a71a86d105bcd6c57cdf1c6e3c05a092b"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a71a86d105bcd6c57cdf1c6e3c05a092b">Ort::RunOptions::SetRunTag</a></div><div class="ttdeci">RunOptions & SetRunTag(const char *run_tag)</div><div class="ttdoc">wraps OrtApi::RunOptionsSetRunTag</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a7ec93ca85331023091fb9f9696bfbdf0"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a7ec93ca85331023091fb9f9696bfbdf0">Ort::RunOptions::UnsetTerminate</a></div><div class="ttdeci">RunOptions & UnsetTerminate()</div><div class="ttdoc">Clears the terminate flag so this RunOptions instance can be used in a new Session::Run call without ...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a7ed22746c1f54eb112d4e5efc23ea2cd"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a7ed22746c1f54eb112d4e5efc23ea2cd">Ort::RunOptions::GetRunLogVerbosityLevel</a></div><div class="ttdeci">int GetRunLogVerbosityLevel() const</div><div class="ttdoc">Wraps OrtApi::RunOptionsGetRunLogVerbosityLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a89e09783a59b61dfb61bcfa052f7f4bc"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a89e09783a59b61dfb61bcfa052f7f4bc">Ort::RunOptions::RunOptions</a></div><div class="ttdeci">RunOptions(std::nullptr_t)</div><div class="ttdoc">Create an empty RunOptions object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:439</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a933438fc8e24ff6d30470b4f54856783"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a933438fc8e24ff6d30470b4f54856783">Ort::RunOptions::SetRunLogVerbosityLevel</a></div><div class="ttdeci">RunOptions & SetRunLogVerbosityLevel(int)</div><div class="ttdoc">Wraps OrtApi::RunOptionsSetRunLogVerbosityLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_a9ab00f70c1e5387247170e407b43005e"><div class="ttname"><a href="struct_ort_1_1_run_options.html#a9ab00f70c1e5387247170e407b43005e">Ort::RunOptions::SetRunLogSeverityLevel</a></div><div class="ttdeci">RunOptions & SetRunLogSeverityLevel(int)</div><div class="ttdoc">Wraps OrtApi::RunOptionsSetRunLogSeverityLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_ac752cfb944b9aa2621f626d3997b90d2"><div class="ttname"><a href="struct_ort_1_1_run_options.html#ac752cfb944b9aa2621f626d3997b90d2">Ort::RunOptions::AddConfigEntry</a></div><div class="ttdeci">RunOptions & AddConfigEntry(const char *config_key, const char *config_value)</div><div class="ttdoc">Wraps OrtApi::AddRunConfigEntry.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_ad033e3d5d7758e082d2a4b725b157b53"><div class="ttname"><a href="struct_ort_1_1_run_options.html#ad033e3d5d7758e082d2a4b725b157b53">Ort::RunOptions::GetRunTag</a></div><div class="ttdeci">const char * GetRunTag() const</div><div class="ttdoc">Wraps OrtApi::RunOptionsGetRunTag.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_run_options_html_aecca727dda56bbefb1d339ed3b714168"><div class="ttname"><a href="struct_ort_1_1_run_options.html#aecca727dda56bbefb1d339ed3b714168">Ort::RunOptions::RunOptions</a></div><div class="ttdeci">RunOptions()</div><div class="ttdoc">Wraps OrtApi::CreateRunOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_sequence_type_info_html"><div class="ttname"><a href="struct_ort_1_1_sequence_type_info.html">Ort::SequenceTypeInfo</a></div><div class="ttdoc">Wrapper around OrtSequenceTypeInfo.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:878</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_sequence_type_info_html_a803fe74cd83e82bb1d5529c9e320dd14"><div class="ttname"><a href="struct_ort_1_1_sequence_type_info.html#a803fe74cd83e82bb1d5529c9e320dd14">Ort::SequenceTypeInfo::SequenceTypeInfo</a></div><div class="ttdeci">SequenceTypeInfo(std::nullptr_t)</div><div class="ttdoc">Create an empty SequenceTypeInfo object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:879</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_sequence_type_info_html_a8ae9c70442d7548519de79525f4c97b4"><div class="ttname"><a href="struct_ort_1_1_sequence_type_info.html#a8ae9c70442d7548519de79525f4c97b4">Ort::SequenceTypeInfo::GetConst</a></div><div class="ttdeci">ConstSequenceTypeInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:881</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_sequence_type_info_html_aa255aec0a6272cafec6dcc7c2f2ed411"><div class="ttname"><a href="struct_ort_1_1_sequence_type_info.html#aa255aec0a6272cafec6dcc7c2f2ed411">Ort::SequenceTypeInfo::SequenceTypeInfo</a></div><div class="ttdeci">SequenceTypeInfo(OrtSequenceTypeInfo *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:880</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html"><div class="ttname"><a href="struct_ort_1_1_session.html">Ort::Session</a></div><div class="ttdoc">Wrapper around OrtSession.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:784</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_a333dc25d8897861ed3f0221c21b9b4dc"><div class="ttname"><a href="struct_ort_1_1_session.html#a333dc25d8897861ed3f0221c21b9b4dc">Ort::Session::Session</a></div><div class="ttdeci">Session(std::nullptr_t)</div><div class="ttdoc">Create an empty Session object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:785</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_a6b40a8f155c1d920876b08d716fcfbfa"><div class="ttname"><a href="struct_ort_1_1_session.html#a6b40a8f155c1d920876b08d716fcfbfa">Ort::Session::GetUnowned</a></div><div class="ttdeci">UnownedSession GetUnowned() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:794</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_a76831d318c6f6569326c2aa0a1dbdfb7"><div class="ttname"><a href="struct_ort_1_1_session.html#a76831d318c6f6569326c2aa0a1dbdfb7">Ort::Session::Session</a></div><div class="ttdeci">Session(const Env &env, const char *model_path, const SessionOptions &options, OrtPrepackedWeightsContainer *prepacked_weights_container)</div><div class="ttdoc">Wraps OrtApi::CreateSessionWithPrepackedWeightsContainer.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_a8c02ae6e3f70a4e65e86f67c27114a12"><div class="ttname"><a href="struct_ort_1_1_session.html#a8c02ae6e3f70a4e65e86f67c27114a12">Ort::Session::Session</a></div><div class="ttdeci">Session(const Env &env, const void *model_data, size_t model_data_length, const SessionOptions &options, OrtPrepackedWeightsContainer *prepacked_weights_container)</div><div class="ttdoc">Wraps OrtApi::CreateSessionFromArrayWithPrepackedWeightsContainer.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_abbd0e8c3984775ed7e29f22c9fd27767"><div class="ttname"><a href="struct_ort_1_1_session.html#abbd0e8c3984775ed7e29f22c9fd27767">Ort::Session::Session</a></div><div class="ttdeci">Session(const Env &env, const char *model_path, const SessionOptions &options)</div><div class="ttdoc">Wraps OrtApi::CreateSession.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_abcc905689ca65a47739f181a845f297c"><div class="ttname"><a href="struct_ort_1_1_session.html#abcc905689ca65a47739f181a845f297c">Ort::Session::GetConst</a></div><div class="ttdeci">ConstSession GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:793</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_html_ac657d96c0ea760e0f8712f23a28aaa08"><div class="ttname"><a href="struct_ort_1_1_session.html#ac657d96c0ea760e0f8712f23a28aaa08">Ort::Session::Session</a></div><div class="ttdeci">Session(const Env &env, const void *model_data, size_t model_data_length, const SessionOptions &options)</div><div class="ttdoc">Wraps OrtApi::CreateSessionFromArray.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html"><div class="ttname"><a href="struct_ort_1_1_session_options.html">Ort::SessionOptions</a></div><div class="ttdoc">Wrapper around OrtSessionOptions.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:607</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html_a49e3a72e68b9ab75cdc7a6227a0c9a81"><div class="ttname"><a href="struct_ort_1_1_session_options.html#a49e3a72e68b9ab75cdc7a6227a0c9a81">Ort::SessionOptions::SessionOptions</a></div><div class="ttdeci">SessionOptions(std::nullptr_t)</div><div class="ttdoc">Create an empty SessionOptions object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:608</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html_a536441ea5bb3c2f63d57ff7a935f4e04"><div class="ttname"><a href="struct_ort_1_1_session_options.html#a536441ea5bb3c2f63d57ff7a935f4e04">Ort::SessionOptions::GetUnowned</a></div><div class="ttdeci">UnownedSessionOptions GetUnowned() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:611</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html_a635fd17cce38833b2aff64d9409187f2"><div class="ttname"><a href="struct_ort_1_1_session_options.html#a635fd17cce38833b2aff64d9409187f2">Ort::SessionOptions::SessionOptions</a></div><div class="ttdeci">SessionOptions()</div><div class="ttdoc">Wraps OrtApi::CreateSessionOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html_ade28bc84a75e3657bd8e1786558ea231"><div class="ttname"><a href="struct_ort_1_1_session_options.html#ade28bc84a75e3657bd8e1786558ea231">Ort::SessionOptions::GetConst</a></div><div class="ttdeci">ConstSessionOptions GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:612</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_session_options_html_ae15251c52983461ccd5e2f204fe1259c"><div class="ttname"><a href="struct_ort_1_1_session_options.html#ae15251c52983461ccd5e2f204fe1259c">Ort::SessionOptions::SessionOptions</a></div><div class="ttdeci">SessionOptions(OrtSessionOptions *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:610</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html"><div class="ttname"><a href="struct_ort_1_1_status.html">Ort::Status</a></div><div class="ttdoc">The Status that holds ownership of OrtStatus received from C API Use it to safely destroy OrtStatus* ...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:351</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_a19a0d483b009e0188971ddc9823922b2"><div class="ttname"><a href="struct_ort_1_1_status.html#a19a0d483b009e0188971ddc9823922b2">Ort::Status::GetErrorCode</a></div><div class="ttdeci">OrtErrorCode GetErrorCode() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_a1dfd7c16d4b3a93ff2fa0ca9645bd651"><div class="ttname"><a href="struct_ort_1_1_status.html#a1dfd7c16d4b3a93ff2fa0ca9645bd651">Ort::Status::Status</a></div><div class="ttdeci">Status(const Exception &)</div><div class="ttdoc">Creates status instance out of exception.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_a5bbce3efbc0a030c9fccc94853e0e7a5"><div class="ttname"><a href="struct_ort_1_1_status.html#a5bbce3efbc0a030c9fccc94853e0e7a5">Ort::Status::Status</a></div><div class="ttdeci">Status(OrtStatus *status)</div><div class="ttdoc">Takes ownership of OrtStatus instance returned from the C API. Must be non-null.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_a82e24c127b4b791a9075708a7b784f49"><div class="ttname"><a href="struct_ort_1_1_status.html#a82e24c127b4b791a9075708a7b784f49">Ort::Status::GetErrorMessage</a></div><div class="ttdeci">std::string GetErrorMessage() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_abc941f81c0f872602bcfe6f0d28842fc"><div class="ttname"><a href="struct_ort_1_1_status.html#abc941f81c0f872602bcfe6f0d28842fc">Ort::Status::Status</a></div><div class="ttdeci">Status(const std::exception &)</div><div class="ttdoc">Creates status instance out of exception.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_status_html_ae9363fb31f4c4ead22518a5c3bcb22f3"><div class="ttname"><a href="struct_ort_1_1_status.html#ae9363fb31f4c4ead22518a5c3bcb22f3">Ort::Status::Status</a></div><div class="ttdeci">Status(std::nullptr_t)</div><div class="ttdoc">Create an empty object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:352</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_tensor_type_and_shape_info_html"><div class="ttname"><a href="struct_ort_1_1_tensor_type_and_shape_info.html">Ort::TensorTypeAndShapeInfo</a></div><div class="ttdoc">Wrapper around OrtTensorTypeAndShapeInfo.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:857</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_tensor_type_and_shape_info_html_a2b3a98e53f2e2164b939ed222f4ad8fb"><div class="ttname"><a href="struct_ort_1_1_tensor_type_and_shape_info.html#a2b3a98e53f2e2164b939ed222f4ad8fb">Ort::TensorTypeAndShapeInfo::TensorTypeAndShapeInfo</a></div><div class="ttdeci">TensorTypeAndShapeInfo(std::nullptr_t)</div><div class="ttdoc">Create an empty TensorTypeAndShapeInfo object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:858</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_tensor_type_and_shape_info_html_a3692d5eca3b1d5426cd709df40a6519b"><div class="ttname"><a href="struct_ort_1_1_tensor_type_and_shape_info.html#a3692d5eca3b1d5426cd709df40a6519b">Ort::TensorTypeAndShapeInfo::GetConst</a></div><div class="ttdeci">ConstTensorTypeAndShapeInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:860</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_tensor_type_and_shape_info_html_a3d8e30e6f410d181be73a7f9d9f24297"><div class="ttname"><a href="struct_ort_1_1_tensor_type_and_shape_info.html#a3d8e30e6f410d181be73a7f9d9f24297">Ort::TensorTypeAndShapeInfo::TensorTypeAndShapeInfo</a></div><div class="ttdeci">TensorTypeAndShapeInfo(OrtTensorTypeAndShapeInfo *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:859</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html"><div class="ttname"><a href="struct_ort_1_1_threading_options.html">Ort::ThreadingOptions</a></div><div class="ttdoc">The ThreadingOptions.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:364</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_a087310108e2a32c678ce23aeaf31a07b"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#a087310108e2a32c678ce23aeaf31a07b">Ort::ThreadingOptions::SetGlobalCustomThreadCreationOptions</a></div><div class="ttdeci">ThreadingOptions & SetGlobalCustomThreadCreationOptions(void *ort_custom_thread_creation_options)</div><div class="ttdoc">Wraps OrtApi::SetGlobalCustomThreadCreationOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_a555eafa4ddfa92b004bedf02989b765b"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#a555eafa4ddfa92b004bedf02989b765b">Ort::ThreadingOptions::ThreadingOptions</a></div><div class="ttdeci">ThreadingOptions()</div><div class="ttdoc">Wraps OrtApi::CreateThreadingOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_a5eb3cd4dc7981d8490dc094bddd7d74b"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#a5eb3cd4dc7981d8490dc094bddd7d74b">Ort::ThreadingOptions::SetGlobalInterOpNumThreads</a></div><div class="ttdeci">ThreadingOptions & SetGlobalInterOpNumThreads(int inter_op_num_threads)</div><div class="ttdoc">Wraps OrtApi::SetGlobalInterOpNumThreads.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_a613727010af9186734e0820a1d7c962c"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#a613727010af9186734e0820a1d7c962c">Ort::ThreadingOptions::SetGlobalCustomCreateThreadFn</a></div><div class="ttdeci">ThreadingOptions & SetGlobalCustomCreateThreadFn(OrtCustomCreateThreadFn ort_custom_create_thread_fn)</div><div class="ttdoc">Wraps OrtApi::SetGlobalCustomCreateThreadFn.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_a94de02aacf2828da5ae1fa17513365f7"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#a94de02aacf2828da5ae1fa17513365f7">Ort::ThreadingOptions::SetGlobalCustomJoinThreadFn</a></div><div class="ttdeci">ThreadingOptions & SetGlobalCustomJoinThreadFn(OrtCustomJoinThreadFn ort_custom_join_thread_fn)</div><div class="ttdoc">Wraps OrtApi::SetGlobalCustomJoinThreadFn.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_aa0b6da698af3eb33badf3c54b0a416a7"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#aa0b6da698af3eb33badf3c54b0a416a7">Ort::ThreadingOptions::SetGlobalSpinControl</a></div><div class="ttdeci">ThreadingOptions & SetGlobalSpinControl(int allow_spinning)</div><div class="ttdoc">Wraps OrtApi::SetGlobalSpinControl.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_aac6387494fe8fef215f8b294d0026b06"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#aac6387494fe8fef215f8b294d0026b06">Ort::ThreadingOptions::SetGlobalDenormalAsZero</a></div><div class="ttdeci">ThreadingOptions & SetGlobalDenormalAsZero()</div><div class="ttdoc">Wraps OrtApi::SetGlobalDenormalAsZero.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_threading_options_html_af5c944c636290e98f14048f5bd8c9fb1"><div class="ttname"><a href="struct_ort_1_1_threading_options.html#af5c944c636290e98f14048f5bd8c9fb1">Ort::ThreadingOptions::SetGlobalIntraOpNumThreads</a></div><div class="ttdeci">ThreadingOptions & SetGlobalIntraOpNumThreads(int intra_op_num_threads)</div><div class="ttdoc">Wraps OrtApi::SetGlobalIntraOpNumThreads.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_type_info_html"><div class="ttname"><a href="struct_ort_1_1_type_info.html">Ort::TypeInfo</a></div><div class="ttdoc">Type information that may contain either TensorTypeAndShapeInfo or the information about contained se...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:930</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_type_info_html_aa6787301bc9889578cf63fea55a8841a"><div class="ttname"><a href="struct_ort_1_1_type_info.html#aa6787301bc9889578cf63fea55a8841a">Ort::TypeInfo::TypeInfo</a></div><div class="ttdeci">TypeInfo(std::nullptr_t)</div><div class="ttdoc">Create an empty TypeInfo object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:931</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_type_info_html_abfc6604b6bdf3a6a3f1407009628f2d9"><div class="ttname"><a href="struct_ort_1_1_type_info.html#abfc6604b6bdf3a6a3f1407009628f2d9">Ort::TypeInfo::GetConst</a></div><div class="ttdeci">ConstTypeInfo GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:934</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_type_info_html_aecea6a3091f45864acb1e0ad13d0a8d6"><div class="ttname"><a href="struct_ort_1_1_type_info.html#aecea6a3091f45864acb1e0ad13d0a8d6">Ort::TypeInfo::TypeInfo</a></div><div class="ttdeci">TypeInfo(OrtTypeInfo *p)</div><div class="ttdoc">C API Interop.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:932</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html"><div class="ttname"><a href="struct_ort_1_1_value.html">Ort::Value</a></div><div class="ttdoc">Wrapper around OrtValue.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1244</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a028498f12d19f373b7479abe8a4a8b75"><div class="ttname"><a href="struct_ort_1_1_value.html#a028498f12d19f373b7479abe8a4a8b75">Ort::Value::CreateMap</a></div><div class="ttdeci">static Value CreateMap(Value &keys, Value &values)</div><div class="ttdoc">Wraps OrtApi::CreateValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a059315bd22476066e30a2d6034bfb9d3"><div class="ttname"><a href="struct_ort_1_1_value.html#a059315bd22476066e30a2d6034bfb9d3">Ort::Value::CreateSparseTensor</a></div><div class="ttdeci">static Value CreateSparseTensor(const OrtMemoryInfo *info, void *p_data, const Shape &dense_shape, const Shape &values_shape, ONNXTensorElementDataType type)</div><div class="ttdoc">Creates an OrtValue instance containing SparseTensor. This constructs a sparse tensor that makes use ...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a07bd3c4da603a8fc23ea6e1f86482f6b"><div class="ttname"><a href="struct_ort_1_1_value.html#a07bd3c4da603a8fc23ea6e1f86482f6b">Ort::Value::CreateSparseTensor</a></div><div class="ttdeci">static Value CreateSparseTensor(const OrtMemoryInfo *info, T *p_data, const Shape &dense_shape, const Shape &values_shape)</div><div class="ttdoc">This is a simple forwarding method to the other overload that helps deducing data type enum value fro...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a14ce9c0a1b41a61eb0f94bc9070539eb"><div class="ttname"><a href="struct_ort_1_1_value.html#a14ce9c0a1b41a61eb0f94bc9070539eb">Ort::Value::operator=</a></div><div class="ttdeci">Value & operator=(Value &&)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a15ae05c786194af9ba2e541a91233b2f"><div class="ttname"><a href="struct_ort_1_1_value.html#a15ae05c786194af9ba2e541a91233b2f">Ort::Value::CreateSparseTensor</a></div><div class="ttdeci">static Value CreateSparseTensor(OrtAllocator *allocator, const Shape &dense_shape, ONNXTensorElementDataType type)</div><div class="ttdoc">Creates an instance of OrtValue containing sparse tensor. The created instance has no data....</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a1b7884f57758a06ca3b1203fcff98a08"><div class="ttname"><a href="struct_ort_1_1_value.html#a1b7884f57758a06ca3b1203fcff98a08">Ort::Value::Value</a></div><div class="ttdeci">Value(Value &&)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a233d9a9878a69295ad504ea2b22b4d1f"><div class="ttname"><a href="struct_ort_1_1_value.html#a233d9a9878a69295ad504ea2b22b4d1f">Ort::Value::Value</a></div><div class="ttdeci">Value(std::nullptr_t)</div><div class="ttdoc">Create an empty Value object, must be assigned a valid one to be used.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1249</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a3898146b5fc35b838bd48db807dd6c8e"><div class="ttname"><a href="struct_ort_1_1_value.html#a3898146b5fc35b838bd48db807dd6c8e">Ort::Value::CreateTensor</a></div><div class="ttdeci">static Value CreateTensor(const OrtMemoryInfo *info, T *p_data, size_t p_data_element_count, const int64_t *shape, size_t shape_len)</div><div class="ttdoc">Creates a tensor with a user supplied buffer. Wraps OrtApi::CreateTensorWithDataAsOrtValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a4e744a54c1fe6c477cccbe33b580fe3b"><div class="ttname"><a href="struct_ort_1_1_value.html#a4e744a54c1fe6c477cccbe33b580fe3b">Ort::Value::Value</a></div><div class="ttdeci">Value(OrtValue *p)</div><div class="ttdoc">Used for interop with the C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1250</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a560452c9940a9756089e42d767932e46"><div class="ttname"><a href="struct_ort_1_1_value.html#a560452c9940a9756089e42d767932e46">Ort::Value::CreateSparseTensor</a></div><div class="ttdeci">static Value CreateSparseTensor(OrtAllocator *allocator, const Shape &dense_shape)</div><div class="ttdoc">This is a simple forwarding method to the below CreateSparseTensor. This helps to specify data type e...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a5d35080239ae47cdbc9e505666dc32ec"><div class="ttname"><a href="struct_ort_1_1_value.html#a5d35080239ae47cdbc9e505666dc32ec">Ort::Value::CreateTensor</a></div><div class="ttdeci">static Value CreateTensor(OrtAllocator *allocator, const int64_t *shape, size_t shape_len, ONNXTensorElementDataType type)</div><div class="ttdoc">Creates a tensor using a supplied OrtAllocator. Wraps OrtApi::CreateTensorAsOrtValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_a5def834adf6750b31b7fdead89b67a07"><div class="ttname"><a href="struct_ort_1_1_value.html#a5def834adf6750b31b7fdead89b67a07">Ort::Value::GetUnowned</a></div><div class="ttdeci">UnownedValue GetUnowned() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1255</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_ab19ff01babfb77660ed022c4057046ef"><div class="ttname"><a href="struct_ort_1_1_value.html#ab19ff01babfb77660ed022c4057046ef">Ort::Value::CreateTensor</a></div><div class="ttdeci">static Value CreateTensor(const OrtMemoryInfo *info, void *p_data, size_t p_data_byte_count, const int64_t *shape, size_t shape_len, ONNXTensorElementDataType type)</div><div class="ttdoc">Creates a tensor with a user supplied buffer. Wraps OrtApi::CreateTensorWithDataAsOrtValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_aba8bad055b8cdaa1fb57f9aba9e6773e"><div class="ttname"><a href="struct_ort_1_1_value.html#aba8bad055b8cdaa1fb57f9aba9e6773e">Ort::Value::CreateOpaque</a></div><div class="ttdeci">static Value CreateOpaque(const char *domain, const char *type_name, const T &)</div><div class="ttdoc">Wraps OrtApi::CreateOpaqueValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_acacfe668acf9b55ffcd9d375c7f32053"><div class="ttname"><a href="struct_ort_1_1_value.html#acacfe668acf9b55ffcd9d375c7f32053">Ort::Value::CreateTensor</a></div><div class="ttdeci">static Value CreateTensor(OrtAllocator *allocator, const int64_t *shape, size_t shape_len)</div><div class="ttdoc">Creates a tensor using a supplied OrtAllocator. Wraps OrtApi::CreateTensorAsOrtValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_ad4ca9c86f4996e9490e7e9de960f7afc"><div class="ttname"><a href="struct_ort_1_1_value.html#ad4ca9c86f4996e9490e7e9de960f7afc">Ort::Value::CreateSequence</a></div><div class="ttdeci">static Value CreateSequence(std::vector< Value > &values)</div><div class="ttdoc">Wraps OrtApi::CreateValue.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1_value_html_ae7df58aec9512b5744e9869b0360ee77"><div class="ttname"><a href="struct_ort_1_1_value.html#ae7df58aec9512b5744e9869b0360ee77">Ort::Value::GetConst</a></div><div class="ttdeci">ConstValue GetConst() const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1254</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocated_free_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocated_free.html">Ort::detail::AllocatedFree</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:324</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocated_free_html_a3ce72fb83b326279166c7fa82b536b8d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocated_free.html#a3ce72fb83b326279166c7fa82b536b8d">Ort::detail::AllocatedFree::AllocatedFree</a></div><div class="ttdeci">AllocatedFree(OrtAllocator *allocator)</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:326</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocated_free_html_a9997b2f270f597fef711f2c4796e4b44"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocated_free.html#a9997b2f270f597fef711f2c4796e4b44">Ort::detail::AllocatedFree::allocator_</a></div><div class="ttdeci">OrtAllocator * allocator_</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:325</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocated_free_html_aba9f229dd4d1d5a5099b17ff1e7cd957"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocated_free.html#aba9f229dd4d1d5a5099b17ff1e7cd957">Ort::detail::AllocatedFree::operator()</a></div><div class="ttdeci">void operator()(void *ptr) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:328</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocator_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocator_impl.html">Ort::detail::AllocatorImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1389</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocator_impl_html_a464e2685283b16d0770e987373c3449f"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocator_impl.html#a464e2685283b16d0770e987373c3449f">Ort::detail::AllocatorImpl::GetInfo</a></div><div class="ttdeci">ConstMemoryInfo GetInfo() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocator_impl_html_a8f7c3025aec82a5938abbbb0ae0e5a62"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocator_impl.html#a8f7c3025aec82a5938abbbb0ae0e5a62">Ort::detail::AllocatorImpl::Alloc</a></div><div class="ttdeci">void * Alloc(size_t size)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocator_impl_html_a9745fe1bd18d3be8000357540feeae02"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocator_impl.html#a9745fe1bd18d3be8000357540feeae02">Ort::detail::AllocatorImpl::Free</a></div><div class="ttdeci">void Free(void *p)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_allocator_impl_html_ad8f9ba9142ce9e23c272a7000c6294d9"><div class="ttname"><a href="struct_ort_1_1detail_1_1_allocator_impl.html#ad8f9ba9142ce9e23c272a7000c6294d9">Ort::detail::AllocatorImpl::GetAllocation</a></div><div class="ttdeci">MemoryAllocation GetAllocation(size_t size)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_a0ed74cd628bb4391542b393bfb8041b7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a0ed74cd628bb4391542b393bfb8041b7">Ort::detail::Base< Unowned< T > >::~Base</a></div><div class="ttdeci">~Base()=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_a11457087109a36487d2c19825d93c2ea"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a11457087109a36487d2c19825d93c2ea">Ort::detail::Base< Unowned< T > >::operator=</a></div><div class="ttdeci">Base & operator=(Base &&v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:311</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_a4d1b4bc33f42d086a3b3a68e836f4762"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a4d1b4bc33f42d086a3b3a68e836f4762">Ort::detail::Base< Unowned< T > >::contained_type</a></div><div class="ttdeci">typename Unowned< T >::Type contained_type</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:300</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_a8069cd0a1a556751eb16606536103c69"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8069cd0a1a556751eb16606536103c69">Ort::detail::Base< Unowned< T > >::Base</a></div><div class="ttdeci">constexpr Base()=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_a8f36cdeacfabc869763676f001c94624"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#a8f36cdeacfabc869763676f001c94624">Ort::detail::Base< Unowned< T > >::Base</a></div><div class="ttdeci">Base(Base &&v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:310</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_acd7f0c54195ca38727e9da53a93df414"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#acd7f0c54195ca38727e9da53a93df414">Ort::detail::Base< Unowned< T > >::Base</a></div><div class="ttdeci">Base(const Base &)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_adfbf2eaf491db06e6add240c8402d85b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#adfbf2eaf491db06e6add240c8402d85b">Ort::detail::Base< Unowned< T > >::Base</a></div><div class="ttdeci">constexpr Base(contained_type *p) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:303</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4_html_aef876b7a264bf7d88125fdeaff1240ea"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base_3_01_unowned_3_01_t_01_4_01_4.html#aef876b7a264bf7d88125fdeaff1240ea">Ort::detail::Base< Unowned< T > >::operator=</a></div><div class="ttdeci">Base & operator=(const Base &)=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html">Ort::detail::Base</a></div><div class="ttdoc">Used internally by the C++ API. C++ wrapper types inherit from this. This is a zero cost abstraction ...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:256</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a36ed2c8723bd744b585c65e214156665"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a36ed2c8723bd744b585c65e214156665">Ort::detail::Base::Base</a></div><div class="ttdeci">Base(Base &&v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:266</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a4e1e8b70ad961418f80b41a4c37429f6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a4e1e8b70ad961418f80b41a4c37429f6">Ort::detail::Base::Base</a></div><div class="ttdeci">constexpr Base()=default</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a77e438d539c77870789686c70b031802"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a77e438d539c77870789686c70b031802">Ort::detail::Base::release</a></div><div class="ttdeci">contained_type * release()</div><div class="ttdoc">Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:277</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a7f40aacd24f0ba79db2dae8165930498"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a7f40aacd24f0ba79db2dae8165930498">Ort::detail::Base::Base</a></div><div class="ttdeci">Base(const Base &)=delete</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a8072f7970ea1835bddf9aa5038d972b4"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a8072f7970ea1835bddf9aa5038d972b4">Ort::detail::Base::Base</a></div><div class="ttdeci">constexpr Base(contained_type *p) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:260</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_a8f197409cc84018ee2fe04844f188959"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#a8f197409cc84018ee2fe04844f188959">Ort::detail::Base::operator=</a></div><div class="ttdeci">Base & operator=(const Base &)=delete</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_ab10471dad43b6c80043d0714ae6544c9"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#ab10471dad43b6c80043d0714ae6544c9">Ort::detail::Base::operator=</a></div><div class="ttdeci">Base & operator=(Base &&v) noexcept</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:267</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_ac618b65a5500fb65b7419b465cfd3d65"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#ac618b65a5500fb65b7419b465cfd3d65">Ort::detail::Base::p_</a></div><div class="ttdeci">contained_type * p_</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:284</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_acd548d8facd5ee95fb8f4f4383fb8bf6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#acd548d8facd5ee95fb8f4f4383fb8bf6">Ort::detail::Base::~Base</a></div><div class="ttdeci">~Base()</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:261</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_base_html_adac6328b9d9b37cddd94f6b21bebee74"><div class="ttname"><a href="struct_ort_1_1detail_1_1_base.html#adac6328b9d9b37cddd94f6b21bebee74">Ort::detail::Base::contained_type</a></div><div class="ttdeci">T contained_type</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:257</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_io_binding_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_io_binding_impl.html">Ort::detail::ConstIoBindingImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1427</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_io_binding_impl_html_a47809f05a78204318eba95cf36c1d14e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a47809f05a78204318eba95cf36c1d14e">Ort::detail::ConstIoBindingImpl::GetOutputValues</a></div><div class="ttdeci">std::vector< Value > GetOutputValues(OrtAllocator *) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_io_binding_impl_html_a5c0b14cb495aaf9d7efdbab616303083"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a5c0b14cb495aaf9d7efdbab616303083">Ort::detail::ConstIoBindingImpl::GetOutputNames</a></div><div class="ttdeci">std::vector< std::string > GetOutputNames(OrtAllocator *) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_io_binding_impl_html_a8f761bbfea27b9498fc5be73779ec99b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#a8f761bbfea27b9498fc5be73779ec99b">Ort::detail::ConstIoBindingImpl::GetOutputValues</a></div><div class="ttdeci">std::vector< Value > GetOutputValues() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_io_binding_impl_html_ae6fb69978855e2516c26c8a863bff423"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_io_binding_impl.html#ae6fb69978855e2516c26c8a863bff423">Ort::detail::ConstIoBindingImpl::GetOutputNames</a></div><div class="ttdeci">std::vector< std::string > GetOutputNames() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html">Ort::detail::ConstSessionImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:691</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a0a863a0ed3831b3d6a7f16f6fcb80c97"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a0a863a0ed3831b3d6a7f16f6fcb80c97">Ort::detail::ConstSessionImpl::GetInputTypeInfo</a></div><div class="ttdeci">TypeInfo GetInputTypeInfo(size_t index) const</div><div class="ttdoc">Wraps OrtApi::SessionGetInputTypeInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a0ca73399d7ac7942728a06318e3bd37e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a0ca73399d7ac7942728a06318e3bd37e">Ort::detail::ConstSessionImpl::GetOutputCount</a></div><div class="ttdeci">size_t GetOutputCount() const</div><div class="ttdoc">Returns the number of model outputs.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a271b1974acd07360663bfc6765a5d5d8"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a271b1974acd07360663bfc6765a5d5d8">Ort::detail::ConstSessionImpl::GetProfilingStartTimeNs</a></div><div class="ttdeci">uint64_t GetProfilingStartTimeNs() const</div><div class="ttdoc">Wraps OrtApi::SessionGetProfilingStartTimeNs.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a4646cd76bdc874c526fcbf8b0551fb6a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a4646cd76bdc874c526fcbf8b0551fb6a">Ort::detail::ConstSessionImpl::GetModelMetadata</a></div><div class="ttdeci">ModelMetadata GetModelMetadata() const</div><div class="ttdoc">Wraps OrtApi::SessionGetModelMetadata.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a47dee56e19d6a7682a2be08fc2f60c1b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a47dee56e19d6a7682a2be08fc2f60c1b">Ort::detail::ConstSessionImpl::GetInputCount</a></div><div class="ttdeci">size_t GetInputCount() const</div><div class="ttdoc">Returns the number of model inputs.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a4e469907de5ca6b252d99cda8100fd0d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a4e469907de5ca6b252d99cda8100fd0d">Ort::detail::ConstSessionImpl::GetOutputTypeInfo</a></div><div class="ttdeci">TypeInfo GetOutputTypeInfo(size_t index) const</div><div class="ttdoc">Wraps OrtApi::SessionGetOutputTypeInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a59c701729c91b390e2f9ff8c358d8033"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a59c701729c91b390e2f9ff8c358d8033">Ort::detail::ConstSessionImpl::GetOverridableInitializerNameAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetOverridableInitializerNameAllocated(size_t index, OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of the overridable initializer name at then specified index.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a77cbf0e3613543bb83f5008e326730b7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a77cbf0e3613543bb83f5008e326730b7">Ort::detail::ConstSessionImpl::GetOutputNameAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetOutputNameAllocated(size_t index, OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of output name at then specified index.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_a9459fc101a72b85552abadbc30d55b8e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#a9459fc101a72b85552abadbc30d55b8e">Ort::detail::ConstSessionImpl::GetOverridableInitializerCount</a></div><div class="ttdeci">size_t GetOverridableInitializerCount() const</div><div class="ttdoc">Returns the number of inputs that have defaults that can be overridden.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_aa3b00d8290d25a61506d58635b08b773"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#aa3b00d8290d25a61506d58635b08b773">Ort::detail::ConstSessionImpl::GetInputNameAllocated</a></div><div class="ttdeci">AllocatedStringPtr GetInputNameAllocated(size_t index, OrtAllocator *allocator) const</div><div class="ttdoc">Returns a copy of input name at the specified index.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_impl_html_adfadbad50b787506d754dd8e851264e9"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_impl.html#adfadbad50b787506d754dd8e851264e9">Ort::detail::ConstSessionImpl::GetOverridableInitializerTypeInfo</a></div><div class="ttdeci">TypeInfo GetOverridableInitializerTypeInfo(size_t index) const</div><div class="ttdoc">Wraps OrtApi::SessionGetOverridableInitializerTypeInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_options_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_options_impl.html">Ort::detail::ConstSessionOptionsImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:526</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_options_impl_html_a2dc3010442b717e17648b09ed7b95e85"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a2dc3010442b717e17648b09ed7b95e85">Ort::detail::ConstSessionOptionsImpl::GetConfigEntry</a></div><div class="ttdeci">std::string GetConfigEntry(const char *config_key) const</div><div class="ttdoc">Wraps OrtApi::GetSessionConfigEntry.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_options_impl_html_a84310957c29d756fc540fc0f15c5907a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_options_impl.html#a84310957c29d756fc540fc0f15c5907a">Ort::detail::ConstSessionOptionsImpl::GetConfigEntryOrDefault</a></div><div class="ttdeci">std::string GetConfigEntryOrDefault(const char *config_key, const std::string &def)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_options_impl_html_aa79925dc7a494e88a42b018ffa1f305c"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_options_impl.html#aa79925dc7a494e88a42b018ffa1f305c">Ort::detail::ConstSessionOptionsImpl::Clone</a></div><div class="ttdeci">SessionOptions Clone() const</div><div class="ttdoc">Creates and returns a copy of this SessionOptions object. Wraps OrtApi::CloneSessionOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_session_options_impl_html_acc17d6821ec06e6040c5d640553bc912"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_session_options_impl.html#acc17d6821ec06e6040c5d640553bc912">Ort::detail::ConstSessionOptionsImpl::HasConfigEntry</a></div><div class="ttdeci">bool HasConfigEntry(const char *config_key) const</div><div class="ttdoc">Wraps OrtApi::HasSessionConfigEntry.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html">Ort::detail::ConstValueImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:963</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a00830aa9d8da4892472df573b3bb1656"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a00830aa9d8da4892472df573b3bb1656">Ort::detail::ConstValueImpl::GetStringTensorContent</a></div><div class="ttdeci">void GetStringTensorContent(void *buffer, size_t buffer_length, size_t *offsets, size_t offsets_count) const</div><div class="ttdoc">The API copies all of the UTF-8 encoded string data contained within a tensor or a sparse tensor into...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a11173caf6ac2fdc03fb1c3981fec9b3d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a11173caf6ac2fdc03fb1c3981fec9b3d">Ort::detail::ConstValueImpl::GetStringTensorElement</a></div><div class="ttdeci">void GetStringTensorElement(size_t buffer_length, size_t element_index, void *buffer) const</div><div class="ttdoc">The API copies UTF-8 encoded bytes for the requested string element contained within a tensor or a sp...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a14f83505e75304b45d70c8e41e65a070"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a14f83505e75304b45d70c8e41e65a070">Ort::detail::ConstValueImpl::GetSparseTensorIndicesTypeShapeInfo</a></div><div class="ttdeci">TensorTypeAndShapeInfo GetSparseTensorIndicesTypeShapeInfo(OrtSparseIndicesFormat format) const</div><div class="ttdoc">The API returns type and shape information for the specified indices. Each supported indices have the...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a183c3ebf0e4d24698a782674fb9cced0"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a183c3ebf0e4d24698a782674fb9cced0">Ort::detail::ConstValueImpl::GetTensorRawData</a></div><div class="ttdeci">const void * GetTensorRawData() const</div><div class="ttdoc">Returns a non-typed pointer to a tensor contained data.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a21460daeba8be912b5d21ef9aa6dd717"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a21460daeba8be912b5d21ef9aa6dd717">Ort::detail::ConstValueImpl::GetStringTensorElementLength</a></div><div class="ttdeci">size_t GetStringTensorElementLength(size_t element_index) const</div><div class="ttdoc">The API returns a byte length of UTF-8 encoded string element contained in either a tensor or a spare...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a2700d2f2a5d9a7922c81419cc9fed664"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a2700d2f2a5d9a7922c81419cc9fed664">Ort::detail::ConstValueImpl::GetStringTensorDataLength</a></div><div class="ttdeci">size_t GetStringTensorDataLength() const</div><div class="ttdoc">This API returns a full length of string data contained within either a tensor or a sparse Tensor....</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a446256778924195baf3e340711a6ef44"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a446256778924195baf3e340711a6ef44">Ort::detail::ConstValueImpl::IsSparseTensor</a></div><div class="ttdeci">bool IsSparseTensor() const</div><div class="ttdoc">Returns true if the OrtValue contains a sparse tensor.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a5ff868faaa0f476137844f1fe6053e42"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a5ff868faaa0f476137844f1fe6053e42">Ort::detail::ConstValueImpl::GetTypeInfo</a></div><div class="ttdeci">TypeInfo GetTypeInfo() const</div><div class="ttdoc">The API returns type information for data contained in a tensor. For sparse tensors it returns type i...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a6100cd63b21154bf72baf191c52631cd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a6100cd63b21154bf72baf191c52631cd">Ort::detail::ConstValueImpl::GetSparseTensorIndicesData</a></div><div class="ttdeci">const R * GetSparseTensorIndicesData(OrtSparseIndicesFormat indices_format, size_t &num_indices) const</div><div class="ttdoc">The API retrieves a pointer to the internal indices buffer. The API merely performs a convenience dat...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a64c428d4e7a1134f806fcf7b15dc35e7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a64c428d4e7a1134f806fcf7b15dc35e7">Ort::detail::ConstValueImpl::IsTensor</a></div><div class="ttdeci">bool IsTensor() const</div><div class="ttdoc">Returns true if Value is a tensor, false for other types like map/sequence/etc.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a7342c33f055407202f6b0e4ed209ead0"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a7342c33f055407202f6b0e4ed209ead0">Ort::detail::ConstValueImpl::GetTensorMemoryInfo</a></div><div class="ttdeci">ConstMemoryInfo GetTensorMemoryInfo() const</div><div class="ttdoc">This API returns information about the memory allocation used to hold data.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a98ed067e5d11dde40386232f0ed33211"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a98ed067e5d11dde40386232f0ed33211">Ort::detail::ConstValueImpl::GetSparseTensorValues</a></div><div class="ttdeci">const R * GetSparseTensorValues() const</div><div class="ttdoc">The API returns a pointer to an internal buffer of the sparse tensor containing non-zero values....</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_a9f945911eac6ee23534ce527488a6d5e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#a9f945911eac6ee23534ce527488a6d5e">Ort::detail::ConstValueImpl::GetTensorTypeAndShapeInfo</a></div><div class="ttdeci">TensorTypeAndShapeInfo GetTensorTypeAndShapeInfo() const</div><div class="ttdoc">The API returns type information for data contained in a tensor. For sparse tensors it returns type i...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_aa2656357fbdb63bcaa3b319191e4e37a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#aa2656357fbdb63bcaa3b319191e4e37a">Ort::detail::ConstValueImpl::HasValue</a></div><div class="ttdeci">bool HasValue() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_aafc98d55540fa407b10b06ee4e6a2849"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#aafc98d55540fa407b10b06ee4e6a2849">Ort::detail::ConstValueImpl::GetValue</a></div><div class="ttdeci">Value GetValue(int index, OrtAllocator *allocator) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_ab0589e1f752d7b18a850699be24c8c84"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#ab0589e1f752d7b18a850699be24c8c84">Ort::detail::ConstValueImpl::GetCount</a></div><div class="ttdeci">size_t GetCount() const</div><div class="ttdoc">< Return true if OrtValue contains data and returns false if the OrtValue is a None</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_ab541b268a2aad607ceec3a3da7be8ba0"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#ab541b268a2aad607ceec3a3da7be8ba0">Ort::detail::ConstValueImpl::GetOpaqueData</a></div><div class="ttdeci">void GetOpaqueData(const char *domain, const char *type_name, R &) const</div><div class="ttdoc">Obtains a pointer to a user defined data for experimental purposes.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_ab986f32751dc04d125b310fb91b05ab7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#ab986f32751dc04d125b310fb91b05ab7">Ort::detail::ConstValueImpl::GetSparseTensorValuesTypeAndShapeInfo</a></div><div class="ttdeci">TensorTypeAndShapeInfo GetSparseTensorValuesTypeAndShapeInfo() const</div><div class="ttdoc">The API returns type and shape information for stored non-zero values of the sparse tensor....</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_aed947feb6d46847d3d6cc0289b377fe6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#aed947feb6d46847d3d6cc0289b377fe6">Ort::detail::ConstValueImpl::GetTensorData</a></div><div class="ttdeci">const R * GetTensorData() const</div><div class="ttdoc">Returns a const typed pointer to the tensor contained data. No type checking is performed,...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_const_value_impl_html_afc36132cb6a308a8beaa5ebaaf1aea58"><div class="ttname"><a href="struct_ort_1_1detail_1_1_const_value_impl.html#afc36132cb6a308a8beaa5ebaaf1aea58">Ort::detail::ConstValueImpl::GetSparseFormat</a></div><div class="ttdeci">OrtSparseFormat GetSparseFormat() const</div><div class="ttdoc">The API returns the sparse data format this OrtValue holds in a sparse tensor. If the sparse tensor w...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html">Ort::detail::IoBindingImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1438</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_a004f59687c421698e52732a669cbd69c"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#a004f59687c421698e52732a669cbd69c">Ort::detail::IoBindingImpl::BindOutput</a></div><div class="ttdeci">void BindOutput(const char *name, const Value &)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_a0f181f754a46af20b3583654bf0e9a94"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#a0f181f754a46af20b3583654bf0e9a94">Ort::detail::IoBindingImpl::SynchronizeInputs</a></div><div class="ttdeci">void SynchronizeInputs()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_a224718bcbf27ab048988588001b80027"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#a224718bcbf27ab048988588001b80027">Ort::detail::IoBindingImpl::ClearBoundInputs</a></div><div class="ttdeci">void ClearBoundInputs()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_a2b865926b84147174ec138161f54fc32"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#a2b865926b84147174ec138161f54fc32">Ort::detail::IoBindingImpl::BindInput</a></div><div class="ttdeci">void BindInput(const char *name, const Value &)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_aab42e1313e913a8ebfb27620dbadd998"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#aab42e1313e913a8ebfb27620dbadd998">Ort::detail::IoBindingImpl::ClearBoundOutputs</a></div><div class="ttdeci">void ClearBoundOutputs()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_ac51e35ad743c61a9351d17e669e1d673"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#ac51e35ad743c61a9351d17e669e1d673">Ort::detail::IoBindingImpl::SynchronizeOutputs</a></div><div class="ttdeci">void SynchronizeOutputs()</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_io_binding_impl_html_aceaf8f2a11b43d17ec45deaeb7b1db9d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_io_binding_impl.html#aceaf8f2a11b43d17ec45deaeb7b1db9d">Ort::detail::IoBindingImpl::BindOutput</a></div><div class="ttdeci">void BindOutput(const char *name, const OrtMemoryInfo *)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html">Ort::detail::KernelInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1525</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a01deb1c8b1bb632249000444d1a82a27"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a01deb1c8b1bb632249000444d1a82a27">Ort::detail::KernelInfoImpl::GetTensorAttribute</a></div><div class="ttdeci">Value GetTensorAttribute(const char *name, OrtAllocator *allocator) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a07ebba08deb83ec1fb0abff60394914a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a07ebba08deb83ec1fb0abff60394914a">Ort::detail::KernelInfoImpl::GetInputTypeInfo</a></div><div class="ttdeci">TypeInfo GetInputTypeInfo(size_t index) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a1f1e21cc73f40ff75ff13d023ad6bf1f"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a1f1e21cc73f40ff75ff13d023ad6bf1f">Ort::detail::KernelInfoImpl::GetAttributes</a></div><div class="ttdeci">std::vector< R > GetAttributes(const char *name) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1539</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a263d7310be1deffc5de0e1a501749c86"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a263d7310be1deffc5de0e1a501749c86">Ort::detail::KernelInfoImpl::GetAttribute</a></div><div class="ttdeci">R GetAttribute(const char *name) const</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1532</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a42eb5d6343f461f6a37844c0f507b2a2"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a42eb5d6343f461f6a37844c0f507b2a2">Ort::detail::KernelInfoImpl::GetOutputTypeInfo</a></div><div class="ttdeci">TypeInfo GetOutputTypeInfo(size_t index) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a481ea24d380e077ba3bbaf6431467b5f"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a481ea24d380e077ba3bbaf6431467b5f">Ort::detail::KernelInfoImpl::Copy</a></div><div class="ttdeci">KernelInfo Copy() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_a72498d830f529887b23def50a45ae9df"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#a72498d830f529887b23def50a45ae9df">Ort::detail::KernelInfoImpl::GetInputName</a></div><div class="ttdeci">std::string GetInputName(size_t index) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_ad2d3555b38da8d6fd75913c524e6c9b4"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ad2d3555b38da8d6fd75913c524e6c9b4">Ort::detail::KernelInfoImpl::GetOutputCount</a></div><div class="ttdeci">size_t GetOutputCount() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_ada66e2980e8d0206abd5ef8edcae6925"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ada66e2980e8d0206abd5ef8edcae6925">Ort::detail::KernelInfoImpl::GetInputCount</a></div><div class="ttdeci">size_t GetInputCount() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_kernel_info_impl_html_ae8e49523380dcec8e83174c101ac4b05"><div class="ttname"><a href="struct_ort_1_1detail_1_1_kernel_info_impl.html#ae8e49523380dcec8e83174c101ac4b05">Ort::detail::KernelInfoImpl::GetOutputName</a></div><div class="ttdeci">std::string GetOutputName(size_t index) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_map_type_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_map_type_info_impl.html">Ort::detail::MapTypeInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:886</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_map_type_info_impl_html_a4080eb7b08601a867abf5e12b31248bd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_map_type_info_impl.html#a4080eb7b08601a867abf5e12b31248bd">Ort::detail::MapTypeInfoImpl::GetMapKeyType</a></div><div class="ttdeci">ONNXTensorElementDataType GetMapKeyType() const</div><div class="ttdoc">Wraps OrtApi::GetMapKeyType.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_map_type_info_impl_html_af13ed9acc87f3c143d0a1a64909db116"><div class="ttname"><a href="struct_ort_1_1detail_1_1_map_type_info_impl.html#af13ed9acc87f3c143d0a1a64909db116">Ort::detail::MapTypeInfoImpl::GetMapValueType</a></div><div class="ttdeci">TypeInfo GetMapValueType() const</div><div class="ttdoc">Wraps OrtApi::GetMapValueType.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html">Ort::detail::MemoryInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:799</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_a0132e1cebee88bef416cdc9f0361f4a4"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#a0132e1cebee88bef416cdc9f0361f4a4">Ort::detail::MemoryInfoImpl::GetAllocatorName</a></div><div class="ttdeci">std::string GetAllocatorName() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_a1d07e265933ca4d857de6273afc08d83"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#a1d07e265933ca4d857de6273afc08d83">Ort::detail::MemoryInfoImpl::GetDeviceId</a></div><div class="ttdeci">int GetDeviceId() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_a35590badbb0368397f672c2b27ed4a3b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#a35590badbb0368397f672c2b27ed4a3b">Ort::detail::MemoryInfoImpl::GetMemoryType</a></div><div class="ttdeci">OrtMemType GetMemoryType() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_aac20249370fddd479b98b5372cb03040"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#aac20249370fddd479b98b5372cb03040">Ort::detail::MemoryInfoImpl::GetDeviceType</a></div><div class="ttdeci">OrtMemoryInfoDeviceType GetDeviceType() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_acce24280288d4078d4de1034a62e0122"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#acce24280288d4078d4de1034a62e0122">Ort::detail::MemoryInfoImpl::GetAllocatorType</a></div><div class="ttdeci">OrtAllocatorType GetAllocatorType() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_memory_info_impl_html_ae715835021edaa2847ff72de85884cdc"><div class="ttname"><a href="struct_ort_1_1detail_1_1_memory_info_impl.html#ae715835021edaa2847ff72de85884cdc">Ort::detail::MemoryInfoImpl::operator==</a></div><div class="ttdeci">bool operator==(const MemoryInfoImpl< U > &o) const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html">Ort::detail::OrtSparseValuesParam</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:946</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html_ab7cb559305ca6fed7817ca35b05a1341"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ab7cb559305ca6fed7817ca35b05a1341">Ort::detail::OrtSparseValuesParam::data</a></div><div class="ttdeci">union Ort::detail::OrtSparseValuesParam::@0 data</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html_ac83e32e9c6a77a982bb8364487d6ab8f"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ac83e32e9c6a77a982bb8364487d6ab8f">Ort::detail::OrtSparseValuesParam::str</a></div><div class="ttdeci">const char ** str</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:951</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html_ad5f2e196a14df5f251d4d0fd2ad4462b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ad5f2e196a14df5f251d4d0fd2ad4462b">Ort::detail::OrtSparseValuesParam::values_shape</a></div><div class="ttdeci">const int64_t * values_shape</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:947</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html_ae18fe9ff4aea263844b73c703d50dc1b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae18fe9ff4aea263844b73c703d50dc1b">Ort::detail::OrtSparseValuesParam::values_shape_len</a></div><div class="ttdeci">size_t values_shape_len</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:948</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_ort_sparse_values_param_html_ae86f906d545b67d072073ae469dfeea0"><div class="ttname"><a href="struct_ort_1_1detail_1_1_ort_sparse_values_param.html#ae86f906d545b67d072073ae469dfeea0">Ort::detail::OrtSparseValuesParam::p_data</a></div><div class="ttdeci">const void * p_data</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:950</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_sequence_type_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html">Ort::detail::SequenceTypeInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:865</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_sequence_type_info_impl_html_ac94d99187050fa262b23d0272ebd265d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_sequence_type_info_impl.html#ac94d99187050fa262b23d0272ebd265d">Ort::detail::SequenceTypeInfoImpl::GetSequenceElementType</a></div><div class="ttdeci">TypeInfo GetSequenceElementType() const</div><div class="ttdoc">Wraps OrtApi::GetSequenceElementType.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_impl.html">Ort::detail::SessionImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:735</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_impl_html_a562e086b82b3b756a2b60ca8930cf98a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_impl.html#a562e086b82b3b756a2b60ca8930cf98a">Ort::detail::SessionImpl::EndProfilingAllocated</a></div><div class="ttdeci">AllocatedStringPtr EndProfilingAllocated(OrtAllocator *allocator)</div><div class="ttdoc">End profiling and return a copy of the profiling file name.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_impl_html_aba18502e41f8dd46038e3de1efa363b5"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_impl.html#aba18502e41f8dd46038e3de1efa363b5">Ort::detail::SessionImpl::Run</a></div><div class="ttdeci">void Run(const RunOptions &run_options, const IoBinding &)</div><div class="ttdoc">Wraps OrtApi::RunWithBinding.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_impl_html_af3f7d273f5e468ef21ef0d56d48c32fd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_impl.html#af3f7d273f5e468ef21ef0d56d48c32fd">Ort::detail::SessionImpl::Run</a></div><div class="ttdeci">std::vector< Value > Run(const RunOptions &run_options, const char *const *input_names, const Value *input_values, size_t input_count, const char *const *output_names, size_t output_count)</div><div class="ttdoc">Run the model returning results in an Ort allocated vector.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_impl_html_af5c930bdd9aadf1c9ed154d59fe63a66"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_impl.html#af5c930bdd9aadf1c9ed154d59fe63a66">Ort::detail::SessionImpl::Run</a></div><div class="ttdeci">void Run(const RunOptions &run_options, const char *const *input_names, const Value *input_values, size_t input_count, const char *const *output_names, Value *output_values, size_t output_count)</div><div class="ttdoc">Run the model returning results in user provided outputs Same as Run(const RunOptions&,...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html">Ort::detail::SessionOptionsImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:538</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a19afcd549653f6992c105207131c5632"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a19afcd549653f6992c105207131c5632">Ort::detail::SessionOptionsImpl::DisableMemPattern</a></div><div class="ttdeci">SessionOptionsImpl & DisableMemPattern()</div><div class="ttdoc">Wraps OrtApi::DisableMemPattern.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a2988ffb2ec6a4856da129cf98638a918"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a2988ffb2ec6a4856da129cf98638a918">Ort::detail::SessionOptionsImpl::SetCustomJoinThreadFn</a></div><div class="ttdeci">SessionOptionsImpl & SetCustomJoinThreadFn(OrtCustomJoinThreadFn ort_custom_join_thread_fn)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsSetCustomJoinThreadFn.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a2e7baf7d74a3b15b37955823e915114b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a2e7baf7d74a3b15b37955823e915114b">Ort::detail::SessionOptionsImpl::SetLogSeverityLevel</a></div><div class="ttdeci">SessionOptionsImpl & SetLogSeverityLevel(int level)</div><div class="ttdoc">Wraps OrtApi::SetSessionLogSeverityLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a3615ed90d476807d45560c013f2f249d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a3615ed90d476807d45560c013f2f249d">Ort::detail::SessionOptionsImpl::AppendExecutionProvider</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider(const std::string &provider_name, const std::unordered_map< std::string, std::string > &provider_options={})</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider. Currently supports SNPE and XNNPACK.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a3a7ee0dd4cddab7bcfe4bfb2e94f91fd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a3a7ee0dd4cddab7bcfe4bfb2e94f91fd">Ort::detail::SessionOptionsImpl::EnableOrtCustomOps</a></div><div class="ttdeci">SessionOptionsImpl & EnableOrtCustomOps()</div><div class="ttdoc">Wraps OrtApi::EnableOrtCustomOps.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a428f112a11d6f0240fb32217e682685e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a428f112a11d6f0240fb32217e682685e">Ort::detail::SessionOptionsImpl::SetCustomCreateThreadFn</a></div><div class="ttdeci">SessionOptionsImpl & SetCustomCreateThreadFn(OrtCustomCreateThreadFn ort_custom_create_thread_fn)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsSetCustomCreateThreadFn.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a4718776b4ed20f5a0a0f310065e6f6dd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a4718776b4ed20f5a0a0f310065e6f6dd">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_CANN</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_CANN(const OrtCANNProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_Dnnl.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a535eed51af6595eee7ad3e0e7878aa74"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a535eed51af6595eee7ad3e0e7878aa74">Ort::detail::SessionOptionsImpl::SetGraphOptimizationLevel</a></div><div class="ttdeci">SessionOptionsImpl & SetGraphOptimizationLevel(GraphOptimizationLevel graph_optimization_level)</div><div class="ttdoc">Wraps OrtApi::SetSessionGraphOptimizationLevel.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a5e580662ec9817f0e114efc85ba7f115"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a5e580662ec9817f0e114efc85ba7f115">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_MIGraphX</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_MIGraphX(const OrtMIGraphXProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_CANN.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a625fbb272bffb1279e6ed251b6035526"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a625fbb272bffb1279e6ed251b6035526">Ort::detail::SessionOptionsImpl::DisableCpuMemArena</a></div><div class="ttdeci">SessionOptionsImpl & DisableCpuMemArena()</div><div class="ttdoc">Wraps OrtApi::DisableCpuMemArena.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a704250e4d0b524f82a6107bd704b8388"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a704250e4d0b524f82a6107bd704b8388">Ort::detail::SessionOptionsImpl::Add</a></div><div class="ttdeci">SessionOptionsImpl & Add(OrtCustomOpDomain *custom_op_domain)</div><div class="ttdoc">Wraps OrtApi::AddCustomOpDomain.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a706f662da2803a1fa0d78afe4c110ebd"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a706f662da2803a1fa0d78afe4c110ebd">Ort::detail::SessionOptionsImpl::AddConfigEntry</a></div><div class="ttdeci">SessionOptionsImpl & AddConfigEntry(const char *config_key, const char *config_value)</div><div class="ttdoc">Wraps OrtApi::AddSessionConfigEntry.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a7086b889d8c12a76ebac01b6dcf6a0b8"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a7086b889d8c12a76ebac01b6dcf6a0b8">Ort::detail::SessionOptionsImpl::EnableMemPattern</a></div><div class="ttdeci">SessionOptionsImpl & EnableMemPattern()</div><div class="ttdoc">Wraps OrtApi::EnableMemPattern.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a71a074664705549fa2f0f86ee2e8003b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a71a074664705549fa2f0f86ee2e8003b">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_Dnnl</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_Dnnl(const OrtDnnlProviderOptions &provider_options)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a775f1f1e8ea41716f71305ff89899cd6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a775f1f1e8ea41716f71305ff89899cd6">Ort::detail::SessionOptionsImpl::SetCustomThreadCreationOptions</a></div><div class="ttdeci">SessionOptionsImpl & SetCustomThreadCreationOptions(void *ort_custom_thread_creation_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsSetCustomThreadCreationOptions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a8438860a82fd70437ffab1e2b21720a7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a8438860a82fd70437ffab1e2b21720a7">Ort::detail::SessionOptionsImpl::AddExternalInitializers</a></div><div class="ttdeci">SessionOptionsImpl & AddExternalInitializers(const std::vector< std::string > &names, const std::vector< Value > &ort_values)</div><div class="ttdoc">Wraps OrtApi::AddExternalInitializers.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_a94a11cbe7a4a9d10ced2ff07252f4a74"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#a94a11cbe7a4a9d10ced2ff07252f4a74">Ort::detail::SessionOptionsImpl::SetLogId</a></div><div class="ttdeci">SessionOptionsImpl & SetLogId(const char *logid)</div><div class="ttdoc">Wraps OrtApi::SetSessionLogId.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_aa699a1ee37d11b164abcc9990c24f9d6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#aa699a1ee37d11b164abcc9990c24f9d6">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_CUDA_V2</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_CUDA_V2(const OrtCUDAProviderOptionsV2 &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA_V2.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_aab236ae9930510be5b46d3ba2a397f86"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#aab236ae9930510be5b46d3ba2a397f86">Ort::detail::SessionOptionsImpl::SetExecutionMode</a></div><div class="ttdeci">SessionOptionsImpl & SetExecutionMode(ExecutionMode execution_mode)</div><div class="ttdoc">Wraps OrtApi::SetSessionExecutionMode.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_aac3b59acd9f24e67e155a4bf1aeb04d7"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#aac3b59acd9f24e67e155a4bf1aeb04d7">Ort::detail::SessionOptionsImpl::DisablePerSessionThreads</a></div><div class="ttdeci">SessionOptionsImpl & DisablePerSessionThreads()</div><div class="ttdoc">Wraps OrtApi::DisablePerSessionThreads.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ab298dbffc20b2acb67a91ec81d6b0843"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ab298dbffc20b2acb67a91ec81d6b0843">Ort::detail::SessionOptionsImpl::RegisterCustomOpsLibrary</a></div><div class="ttdeci">SessionOptionsImpl & RegisterCustomOpsLibrary(const char *library_name, const CustomOpConfigs &custom_op_configs={})</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ab46f7c9324880ad07a04d73b0592d6ac"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ab46f7c9324880ad07a04d73b0592d6ac">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_TensorRT_V2</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_TensorRT_V2(const OrtTensorRTProviderOptionsV2 &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_abb9fdc6432272b32842813dfd2beaee0"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9fdc6432272b32842813dfd2beaee0">Ort::detail::SessionOptionsImpl::RegisterCustomOpsUsingFunction</a></div><div class="ttdeci">SessionOptionsImpl & RegisterCustomOpsUsingFunction(const char *function_name)</div><div class="ttdoc">Wraps OrtApi::RegisterCustomOpsUsingFunction.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_abb9ffa1e1360b2cb188ec94ea4dea327"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#abb9ffa1e1360b2cb188ec94ea4dea327">Ort::detail::SessionOptionsImpl::DisableProfiling</a></div><div class="ttdeci">SessionOptionsImpl & DisableProfiling()</div><div class="ttdoc">Wraps OrtApi::DisableProfiling.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_abda4765e9add8a3e536ca49b40ffbe7e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#abda4765e9add8a3e536ca49b40ffbe7e">Ort::detail::SessionOptionsImpl::SetIntraOpNumThreads</a></div><div class="ttdeci">SessionOptionsImpl & SetIntraOpNumThreads(int intra_op_num_threads)</div><div class="ttdoc">Wraps OrtApi::SetIntraOpNumThreads.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ad5b77199a417dc2a944b72e6a09e3cf1"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ad5b77199a417dc2a944b72e6a09e3cf1">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_ROCM</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_ROCM(const OrtROCMProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_ROCM.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_adadfc610598fae28673148c6bbb839a9"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#adadfc610598fae28673148c6bbb839a9">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_OpenVINO</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_OpenVINO(const OrtOpenVINOProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ae38a097a041e17b828da74524a6afa19"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ae38a097a041e17b828da74524a6afa19">Ort::detail::SessionOptionsImpl::EnableCpuMemArena</a></div><div class="ttdeci">SessionOptionsImpl & EnableCpuMemArena()</div><div class="ttdoc">Wraps OrtApi::EnableCpuMemArena.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ae8b9b90c881f091957a5e565ca5c2285"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8b9b90c881f091957a5e565ca5c2285">Ort::detail::SessionOptionsImpl::AddInitializer</a></div><div class="ttdeci">SessionOptionsImpl & AddInitializer(const char *name, const OrtValue *ort_val)</div><div class="ttdoc">Wraps OrtApi::AddInitializer.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_ae8e2843bee1ddc2432eba9483ebd1a67"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#ae8e2843bee1ddc2432eba9483ebd1a67">Ort::detail::SessionOptionsImpl::SetInterOpNumThreads</a></div><div class="ttdeci">SessionOptionsImpl & SetInterOpNumThreads(int inter_op_num_threads)</div><div class="ttdoc">Wraps OrtApi::SetInterOpNumThreads.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_aef073a38fc45f25fd814eef092428bfb"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#aef073a38fc45f25fd814eef092428bfb">Ort::detail::SessionOptionsImpl::EnableProfiling</a></div><div class="ttdeci">SessionOptionsImpl & EnableProfiling(const char *profile_file_prefix)</div><div class="ttdoc">Wraps OrtApi::EnableProfiling.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_af2221c3d556809e321eb2d237a268a2c"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#af2221c3d556809e321eb2d237a268a2c">Ort::detail::SessionOptionsImpl::SetOptimizedModelFilePath</a></div><div class="ttdeci">SessionOptionsImpl & SetOptimizedModelFilePath(const char *optimized_model_file)</div><div class="ttdoc">Wraps OrtApi::SetOptimizedModelFilePath.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_af30e5a51ea4bd20c2cf00702240e4d48"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#af30e5a51ea4bd20c2cf00702240e4d48">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_TensorRT</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_TensorRT(const OrtTensorRTProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_session_options_impl_html_af89d3007795801fbc311689488404ee5"><div class="ttname"><a href="struct_ort_1_1detail_1_1_session_options_impl.html#af89d3007795801fbc311689488404ee5">Ort::detail::SessionOptionsImpl::AppendExecutionProvider_CUDA</a></div><div class="ttdeci">SessionOptionsImpl & AppendExecutionProvider_CUDA(const OrtCUDAProviderOptions &provider_options)</div><div class="ttdoc">Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_shape_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_shape.html">Ort::detail::Shape</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:957</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_shape_html_a248d4b0e3b85a557abe5e3a531efe8c2"><div class="ttname"><a href="struct_ort_1_1detail_1_1_shape.html#a248d4b0e3b85a557abe5e3a531efe8c2">Ort::detail::Shape::shape</a></div><div class="ttdeci">const int64_t * shape</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:958</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_shape_html_ab4ae6ecd1dc85291c1a96a6dfb4dde62"><div class="ttname"><a href="struct_ort_1_1detail_1_1_shape.html#ab4ae6ecd1dc85291c1a96a6dfb4dde62">Ort::detail::Shape::shape_len</a></div><div class="ttdeci">size_t shape_len</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:959</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html">Ort::detail::TensorTypeAndShapeInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:830</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_a147b9d073f3f28d5ad4ea4edc3d8d1ca"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a147b9d073f3f28d5ad4ea4edc3d8d1ca">Ort::detail::TensorTypeAndShapeInfoImpl::GetElementCount</a></div><div class="ttdeci">size_t GetElementCount() const</div><div class="ttdoc">Wraps OrtApi::GetTensorShapeElementCount.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_a2ee1c58378c53d42ea1c023513ab3a6c"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a2ee1c58378c53d42ea1c023513ab3a6c">Ort::detail::TensorTypeAndShapeInfoImpl::GetDimensions</a></div><div class="ttdeci">void GetDimensions(int64_t *values, size_t values_count) const</div><div class="ttdoc">Wraps OrtApi::GetDimensions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_a553b1d07adab289060c143086b1be32d"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a553b1d07adab289060c143086b1be32d">Ort::detail::TensorTypeAndShapeInfoImpl::GetShape</a></div><div class="ttdeci">std::vector< int64_t > GetShape() const</div><div class="ttdoc">Uses GetDimensionsCount & GetDimensions to return a std::vector of the shape.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_a7fbf363e618d614e85b99bb8becf90b1"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a7fbf363e618d614e85b99bb8becf90b1">Ort::detail::TensorTypeAndShapeInfoImpl::GetSymbolicDimensions</a></div><div class="ttdeci">void GetSymbolicDimensions(const char **values, size_t values_count) const</div><div class="ttdoc">Wraps OrtApi::GetSymbolicDimensions.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_a93e0ba7d39a37a62613c945e6c6ace60"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#a93e0ba7d39a37a62613c945e6c6ace60">Ort::detail::TensorTypeAndShapeInfoImpl::GetDimensionsCount</a></div><div class="ttdeci">size_t GetDimensionsCount() const</div><div class="ttdoc">Wraps OrtApi::GetDimensionsCount.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl_html_ad38e0ee012301ec3fdfb680c3f26f4cf"><div class="ttname"><a href="struct_ort_1_1detail_1_1_tensor_type_and_shape_info_impl.html#ad38e0ee012301ec3fdfb680c3f26f4cf">Ort::detail::TensorTypeAndShapeInfoImpl::GetElementType</a></div><div class="ttdeci">ONNXTensorElementDataType GetElementType() const</div><div class="ttdoc">Wraps OrtApi::GetTensorElementType.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_type_info_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_type_info_impl.html">Ort::detail::TypeInfoImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:908</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_type_info_impl_html_a4567504274044ce5cb18744d15a315f5"><div class="ttname"><a href="struct_ort_1_1detail_1_1_type_info_impl.html#a4567504274044ce5cb18744d15a315f5">Ort::detail::TypeInfoImpl::GetONNXType</a></div><div class="ttdeci">ONNXType GetONNXType() const</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_type_info_impl_html_a7379ced5d9630d56c7bb16bac787a2df"><div class="ttname"><a href="struct_ort_1_1detail_1_1_type_info_impl.html#a7379ced5d9630d56c7bb16bac787a2df">Ort::detail::TypeInfoImpl::GetSequenceTypeInfo</a></div><div class="ttdeci">ConstSequenceTypeInfo GetSequenceTypeInfo() const</div><div class="ttdoc">Wraps OrtApi::CastTypeInfoToSequenceTypeInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_type_info_impl_html_adb868f98b531c397a0efc5eef7575767"><div class="ttname"><a href="struct_ort_1_1detail_1_1_type_info_impl.html#adb868f98b531c397a0efc5eef7575767">Ort::detail::TypeInfoImpl::GetMapTypeInfo</a></div><div class="ttdeci">ConstMapTypeInfo GetMapTypeInfo() const</div><div class="ttdoc">Wraps OrtApi::CastTypeInfoToMapTypeInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_type_info_impl_html_ae8a04cbdf738ff1760f48c4d4936630b"><div class="ttname"><a href="struct_ort_1_1detail_1_1_type_info_impl.html#ae8a04cbdf738ff1760f48c4d4936630b">Ort::detail::TypeInfoImpl::GetTensorTypeAndShapeInfo</a></div><div class="ttdeci">ConstTensorTypeAndShapeInfo GetTensorTypeAndShapeInfo() const</div><div class="ttdoc">Wraps OrtApi::CastTypeInfoToTensorInfo.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_unowned_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_unowned.html">Ort::detail::Unowned</a></div><div class="ttdoc">This is a tagging template type. Use it with Base<T> to indicate that the C++ interface object has no...</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:232</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_unowned_html_a2a5c5636bc5a20983a3aa64f7a7638ce"><div class="ttname"><a href="struct_ort_1_1detail_1_1_unowned.html#a2a5c5636bc5a20983a3aa64f7a7638ce">Ort::detail::Unowned::Type</a></div><div class="ttdeci">T Type</div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:233</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html">Ort::detail::ValueImpl</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_cxx_api.h:1116</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a0a59534f82ccf9ff55b8a692270e4503"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a0a59534f82ccf9ff55b8a692270e4503">Ort::detail::ValueImpl::FillStringTensorElement</a></div><div class="ttdeci">void FillStringTensorElement(const char *s, size_t index)</div><div class="ttdoc">Set a single string in a string tensor.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a28317ae875d9c8b35f0cbed64f776c5a"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a28317ae875d9c8b35f0cbed64f776c5a">Ort::detail::ValueImpl::GetTensorMutableData</a></div><div class="ttdeci">R * GetTensorMutableData()</div><div class="ttdoc">Returns a non-const typed pointer to an OrtValue/Tensor contained buffer No type checking is performe...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a657fe9ca6bd6e2dc09c0beb95ee3e1eb"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a657fe9ca6bd6e2dc09c0beb95ee3e1eb">Ort::detail::ValueImpl::At</a></div><div class="ttdeci">R & At(const std::vector< int64_t > &location)</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a68ba9e6d44e6a1141c04d1fefaa3b6c6"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a68ba9e6d44e6a1141c04d1fefaa3b6c6">Ort::detail::ValueImpl::UseBlockSparseIndices</a></div><div class="ttdeci">void UseBlockSparseIndices(const Shape &indices_shape, int32_t *indices_data)</div><div class="ttdoc">Supplies BlockSparse format specific indices and marks the contained sparse tensor as being a BlockSp...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a7a57d606a608abda7df7b9b23a301a3e"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a7a57d606a608abda7df7b9b23a301a3e">Ort::detail::ValueImpl::FillSparseTensorBlockSparse</a></div><div class="ttdeci">void FillSparseTensorBlockSparse(const OrtMemoryInfo *data_mem_info, const OrtSparseValuesParam &values, const Shape &indices_shape, const int32_t *indices_data)</div><div class="ttdoc">The API will allocate memory using the allocator instance supplied to the CreateSparseTensor() API an...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a8b55de64b5457b5fd0538ec8225a0507"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a8b55de64b5457b5fd0538ec8225a0507">Ort::detail::ValueImpl::GetTensorMutableRawData</a></div><div class="ttdeci">void * GetTensorMutableRawData()</div><div class="ttdoc">Returns a non-typed non-const pointer to a tensor contained data.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_a8b80e2a725f45cdeceb06bcba643e978"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#a8b80e2a725f45cdeceb06bcba643e978">Ort::detail::ValueImpl::UseCooIndices</a></div><div class="ttdeci">void UseCooIndices(int64_t *indices_data, size_t indices_num)</div><div class="ttdoc">Supplies COO format specific indices and marks the contained sparse tensor as being a COO format tens...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_ab30c08c17ce26d0c89e8c7dea62f9a75"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#ab30c08c17ce26d0c89e8c7dea62f9a75">Ort::detail::ValueImpl::FillSparseTensorCoo</a></div><div class="ttdeci">void FillSparseTensorCoo(const OrtMemoryInfo *data_mem_info, const OrtSparseValuesParam &values_param, const int64_t *indices_data, size_t indices_num)</div><div class="ttdoc">The API will allocate memory using the allocator instance supplied to the CreateSparseTensor() API an...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_ac98717a93e02f4b91ebabaf3c4ab891c"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#ac98717a93e02f4b91ebabaf3c4ab891c">Ort::detail::ValueImpl::FillStringTensor</a></div><div class="ttdeci">void FillStringTensor(const char *const *s, size_t s_len)</div><div class="ttdoc">Set all strings at once in a string tensor.</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_adc53699ae881046ccf26527fb0e0d7d2"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#adc53699ae881046ccf26527fb0e0d7d2">Ort::detail::ValueImpl::UseCsrIndices</a></div><div class="ttdeci">void UseCsrIndices(int64_t *inner_data, size_t inner_num, int64_t *outer_data, size_t outer_num)</div><div class="ttdoc">Supplies CSR format specific indices and marks the contained sparse tensor as being a CSR format tens...</div></div>
|
|
<div class="ttc" id="astruct_ort_1_1detail_1_1_value_impl_html_af67cc830bdf35e40717b06ca70b22ead"><div class="ttname"><a href="struct_ort_1_1detail_1_1_value_impl.html#af67cc830bdf35e40717b06ca70b22ead">Ort::detail::ValueImpl::FillSparseTensorCsr</a></div><div class="ttdeci">void FillSparseTensorCsr(const OrtMemoryInfo *data_mem_info, const OrtSparseValuesParam &values, const int64_t *inner_indices_data, size_t inner_indices_num, const int64_t *outer_indices_data, size_t outer_indices_num)</div><div class="ttdoc">The API will allocate memory using the allocator instance supplied to the CreateSparseTensor() API an...</div></div>
|
|
<div class="ttc" id="astruct_ort_allocator_html"><div class="ttname"><a href="struct_ort_allocator.html">OrtAllocator</a></div><div class="ttdoc">Memory allocation interface.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:287</div></div>
|
|
<div class="ttc" id="astruct_ort_allocator_html_a18d7888327537d09c7d3411dff4ac86a"><div class="ttname"><a href="struct_ort_allocator.html#a18d7888327537d09c7d3411dff4ac86a">OrtAllocator::Free</a></div><div class="ttdeci">void(* Free)(struct OrtAllocator *this_, void *p)</div><div class="ttdoc">Free a block of memory previously allocated with OrtAllocator::Alloc.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:290</div></div>
|
|
<div class="ttc" id="astruct_ort_api_base_html_ae031126e31871e4ad58ba1a647a2c9f9"><div class="ttname"><a href="struct_ort_api_base.html#ae031126e31871e4ad58ba1a647a2c9f9">OrtApiBase::GetApi</a></div><div class="ttdeci">const OrtApi *(* GetApi)(uint32_t version)</div><div class="ttdoc">Get a pointer to the requested version of the OrtApi.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:593</div></div>
|
|
<div class="ttc" id="astruct_ort_api_html"><div class="ttname"><a href="struct_ort_api.html">OrtApi</a></div><div class="ttdoc">The C API.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:638</div></div>
|
|
<div class="ttc" id="astruct_ort_c_u_d_a_provider_options_html"><div class="ttname"><a href="struct_ort_c_u_d_a_provider_options.html">OrtCUDAProviderOptions</a></div><div class="ttdoc">CUDA Provider Options.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:371</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html"><div class="ttname"><a href="struct_ort_custom_op.html">OrtCustomOp</a></div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:3989</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a060f050481efa00baa8b01961373c4fe"><div class="ttname"><a href="struct_ort_custom_op.html#a060f050481efa00baa8b01961373c4fe">OrtCustomOp::GetVariadicInputHomogeneity</a></div><div class="ttdeci">int(* GetVariadicInputHomogeneity)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4030</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a0fe03707bc8b2adae0cf3752c0fbec4a"><div class="ttname"><a href="struct_ort_custom_op.html#a0fe03707bc8b2adae0cf3752c0fbec4a">OrtCustomOp::GetOutputCharacteristic</a></div><div class="ttdeci">OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic)(const struct OrtCustomOp *op, size_t index)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4014</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a105312afe4270e2a1f15594e50f2b752"><div class="ttname"><a href="struct_ort_custom_op.html#a105312afe4270e2a1f15594e50f2b752">OrtCustomOp::GetInputTypeCount</a></div><div class="ttdeci">size_t(* GetInputTypeCount)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4004</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a181daf57e1aebddbb0dd36cd756c5614"><div class="ttname"><a href="struct_ort_custom_op.html#a181daf57e1aebddbb0dd36cd756c5614">OrtCustomOp::GetVariadicOutputMinArity</a></div><div class="ttdeci">int(* GetVariadicOutputMinArity)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4034</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a2f82bab65faa080fed2dbcdf36d5e96a"><div class="ttname"><a href="struct_ort_custom_op.html#a2f82bab65faa080fed2dbcdf36d5e96a">OrtCustomOp::GetName</a></div><div class="ttdeci">const char *(* GetName)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:3997</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a33fb94532f6eebe323b48cf2a63c2eb4"><div class="ttname"><a href="struct_ort_custom_op.html#a33fb94532f6eebe323b48cf2a63c2eb4">OrtCustomOp::GetOutputTypeCount</a></div><div class="ttdeci">size_t(* GetOutputTypeCount)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4006</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a45eed500cf1413d0949c9ccc26ea47fa"><div class="ttname"><a href="struct_ort_custom_op.html#a45eed500cf1413d0949c9ccc26ea47fa">OrtCustomOp::KernelDestroy</a></div><div class="ttdeci">void(* KernelDestroy)(void *op_kernel)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4010</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a6eff44ef3e8e98eeb32a19aaff97913b"><div class="ttname"><a href="struct_ort_custom_op.html#a6eff44ef3e8e98eeb32a19aaff97913b">OrtCustomOp::GetVariadicOutputHomogeneity</a></div><div class="ttdeci">int(* GetVariadicOutputHomogeneity)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4039</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a7dcbfde88eefbb30ed0b99f9a74c959a"><div class="ttname"><a href="struct_ort_custom_op.html#a7dcbfde88eefbb30ed0b99f9a74c959a">OrtCustomOp::GetInputMemoryType</a></div><div class="ttdeci">OrtMemType(* GetInputMemoryType)(const struct OrtCustomOp *op, size_t index)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4021</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a82ec6e8d3225b82e7f62fec857f374ba"><div class="ttname"><a href="struct_ort_custom_op.html#a82ec6e8d3225b82e7f62fec857f374ba">OrtCustomOp::CreateKernel</a></div><div class="ttdeci">void *(* CreateKernel)(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:3993</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a87aa73158aaaf1290a794c38469872e2"><div class="ttname"><a href="struct_ort_custom_op.html#a87aa73158aaaf1290a794c38469872e2">OrtCustomOp::version</a></div><div class="ttdeci">uint32_t version</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:3990</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a8f5af15c496358ddc8e75a77811f5983"><div class="ttname"><a href="struct_ort_custom_op.html#a8f5af15c496358ddc8e75a77811f5983">OrtCustomOp::GetInputType</a></div><div class="ttdeci">ONNXTensorElementDataType(* GetInputType)(const struct OrtCustomOp *op, size_t index)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4003</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_a9efee01f336fd579c88d919116e0dff4"><div class="ttname"><a href="struct_ort_custom_op.html#a9efee01f336fd579c88d919116e0dff4">OrtCustomOp::GetInputCharacteristic</a></div><div class="ttdeci">OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic)(const struct OrtCustomOp *op, size_t index)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4013</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_ab9cb073ec683a08643bac6ca50bbf2e2"><div class="ttname"><a href="struct_ort_custom_op.html#ab9cb073ec683a08643bac6ca50bbf2e2">OrtCustomOp::GetExecutionProviderType</a></div><div class="ttdeci">const char *(* GetExecutionProviderType)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4000</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_ad86baba54616d6398a0ee51831a21ab4"><div class="ttname"><a href="struct_ort_custom_op.html#ad86baba54616d6398a0ee51831a21ab4">OrtCustomOp::GetOutputType</a></div><div class="ttdeci">ONNXTensorElementDataType(* GetOutputType)(const struct OrtCustomOp *op, size_t index)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4005</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_ad987a4d026c004910e0823024d6082f4"><div class="ttname"><a href="struct_ort_custom_op.html#ad987a4d026c004910e0823024d6082f4">OrtCustomOp::GetVariadicInputMinArity</a></div><div class="ttdeci">int(* GetVariadicInputMinArity)(const struct OrtCustomOp *op)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4025</div></div>
|
|
<div class="ttc" id="astruct_ort_custom_op_html_afc0636bfc00f4db5e1c5eedc27eec9ea"><div class="ttname"><a href="struct_ort_custom_op.html#afc0636bfc00f4db5e1c5eedc27eec9ea">OrtCustomOp::KernelCompute</a></div><div class="ttdeci">void(* KernelCompute)(void *op_kernel, OrtKernelContext *context)</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:4009</div></div>
|
|
<div class="ttc" id="astruct_ort_m_i_graph_x_provider_options_html"><div class="ttname"><a href="struct_ort_m_i_graph_x_provider_options.html">OrtMIGraphXProviderOptions</a></div><div class="ttdoc">MIGraphX Provider Options.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:546</div></div>
|
|
<div class="ttc" id="astruct_ort_open_v_i_n_o_provider_options_html"><div class="ttname"><a href="struct_ort_open_v_i_n_o_provider_options.html">OrtOpenVINOProviderOptions</a></div><div class="ttdoc">OpenVINO Provider Options.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:556</div></div>
|
|
<div class="ttc" id="astruct_ort_r_o_c_m_provider_options_html"><div class="ttname"><a href="struct_ort_r_o_c_m_provider_options.html">OrtROCMProviderOptions</a></div><div class="ttdoc">ROCM Provider Options.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:445</div></div>
|
|
<div class="ttc" id="astruct_ort_tensor_r_t_provider_options_html"><div class="ttname"><a href="struct_ort_tensor_r_t_provider_options.html">OrtTensorRTProviderOptions</a></div><div class="ttdoc">TensorRT Provider Options.</div><div class="ttdef"><b>Definition:</b> onnxruntime_c_api.h:518</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_bc189d004de620d4aee5e15b2f51ec46.html">onnxruntime</a></li><li class="navelem"><a class="el" href="dir_d025c8619672e0440c2078d09a1495fb.html">core</a></li><li class="navelem"><a class="el" href="dir_351c36df885fe29cfe64fcd329bba02e.html">session</a></li><li class="navelem"><b>onnxruntime_cxx_api.h</b></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|