2021-09-17 00:09:25 +00:00
<!-- HTML header for doxygen 1.9.2 -->
<!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.2" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2022-01-08 00:25:57 +00:00
< title > OnnxRuntime: onnxruntime_cxx_api.h Source File< / title >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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 >
2021-09-17 00:09:25 +00:00
< 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.2 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / 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.< / span > < / div >
< div class = "line" > < a id = "l00008" name = "l00008" > < / a > < span class = "lineno" > 8< / span > < span class = "comment" > //< / span > < / div >
< div class = "line" > < a id = "l00009" name = "l00009" > < / a > < span class = "lineno" > 9< / 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 = "l00010" name = "l00010" > < / a > < span class = "lineno" > 10< / span > < span class = "comment" > // To create an empty object, pass ' nullptr' to the constructor (for example, Env e{nullptr};).< / span > < / div >
< div class = "line" > < a id = "l00011" name = "l00011" > < / a > < span class = "lineno" > 11< / span > < span class = "comment" > //< / span > < / div >
< div class = "line" > < a id = "l00012" name = "l00012" > < / a > < span class = "lineno" > 12< / span > < span class = "comment" > // Only move assignment between objects is allowed, there are no copy constructors. Some objects have explicit ' Clone' < / span > < / div >
< div class = "line" > < a id = "l00013" name = "l00013" > < / a > < span class = "lineno" > 13< / span > < span class = "comment" > // methods for this purpose.< / span > < / div >
< div class = "line" > < a id = "l00014" name = "l00014" > < / a > < span class = "lineno" > 14< / span > < / div >
< div class = "line" > < a id = "l00015" name = "l00015" > < / a > < span class = "lineno" > 15< / span > < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a id = "l00016" name = "l00016" > < / a > < span class = "lineno" > 16< / span > < span class = "preprocessor" > #include " onnxruntime_c_api.h" < / span > < / div >
< div class = "line" > < a id = "l00017" name = "l00017" > < / a > < span class = "lineno" > 17< / span > < span class = "preprocessor" > #include < cstddef> < / span > < / div >
< div class = "line" > < a id = "l00018" name = "l00018" > < / a > < span class = "lineno" > 18< / span > < span class = "preprocessor" > #include < array> < / span > < / div >
< div class = "line" > < a id = "l00019" name = "l00019" > < / a > < span class = "lineno" > 19< / span > < span class = "preprocessor" > #include < memory> < / span > < / div >
< div class = "line" > < a id = "l00020" name = "l00020" > < / a > < span class = "lineno" > 20< / span > < span class = "preprocessor" > #include < stdexcept> < / span > < / div >
< div class = "line" > < a id = "l00021" name = "l00021" > < / a > < span class = "lineno" > 21< / span > < span class = "preprocessor" > #include < string> < / span > < / div >
< div class = "line" > < a id = "l00022" name = "l00022" > < / a > < span class = "lineno" > 22< / span > < span class = "preprocessor" > #include < vector> < / span > < / div >
< div class = "line" > < a id = "l00023" name = "l00023" > < / a > < span class = "lineno" > 23< / span > < span class = "preprocessor" > #include < utility> < / span > < / div >
< div class = "line" > < a id = "l00024" name = "l00024" > < / a > < span class = "lineno" > 24< / span > < span class = "preprocessor" > #include < type_traits> < / span > < / div >
< div class = "line" > < a id = "l00025" name = "l00025" > < / a > < span class = "lineno" > 25< / span > < / div >
< div class = "line" > < a id = "l00026" name = "l00026" > < / a > < span class = "lineno" > 26< / span > < span class = "preprocessor" > #ifdef ORT_NO_EXCEPTIONS< / span > < / div >
< div class = "line" > < a id = "l00027" name = "l00027" > < / a > < span class = "lineno" > 27< / span > < span class = "preprocessor" > #include < iostream> < / span > < / div >
< div class = "line" > < a id = "l00028" name = "l00028" > < / a > < span class = "lineno" > 28< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00029" name = "l00029" > < / a > < span class = "lineno" > 29< / span > < / div >
< div class = "line" > < a id = "l00033" name = "l00033" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html" > 33< / a > < / span > < span class = "keyword" > namespace < / span > < a class = "code hl_namespace" href = "namespace_ort.html" > Ort< / a > {< / div >
< div class = "line" > < a id = "l00034" name = "l00034" > < / a > < span class = "lineno" > 34< / span > < / div >
< div class = "line" > < a id = "l00039" name = "l00039" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_exception.html" > 39< / 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 = "l00040" name = "l00040" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_exception.html#afed85f6b183b268ba316a06e00fe313c" > 40< / 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 = "l00041" name = "l00041" > < / a > < span class = "lineno" > 41< / span > < / div >
< div class = "line" > < a id = "l00042" name = "l00042" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_exception.html#ae6f688af3ca6b3f34a2b8f730cc4432d" > 42< / 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 = "l00043" name = "l00043" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_exception.html#a03570d5990b5a35c818e6cca3e7b26e7" > 43< / 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 = "l00044" name = "l00044" > < / a > < span class = "lineno" > 44< / span > < / div >
< div class = "line" > < a id = "l00045" name = "l00045" > < / a > < span class = "lineno" > 45< / span > < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a id = "l00046" name = "l00046" > < / a > < span class = "lineno" > 46< / span > std::string message_;< / div >
< div class = "line" > < a id = "l00047" name = "l00047" > < / a > < span class = "lineno" > 47< / span > < a class = "code hl_enumeration" href = "group___global.html#gabab5349c294603a9eac437fdafd40a3d" > OrtErrorCode< / a > code_;< / div >
< div class = "line" > < a id = "l00048" name = "l00048" > < / a > < span class = "lineno" > 48< / span > };< / div >
< div class = "line" > < a id = "l00049" name = "l00049" > < / a > < span class = "lineno" > 49< / span > < / div >
< div class = "line" > < a id = "l00050" name = "l00050" > < / a > < span class = "lineno" > 50< / span > < span class = "preprocessor" > #ifdef ORT_NO_EXCEPTIONS< / span > < / div >
< div class = "line" > < a id = "l00051" name = "l00051" > < / a > < span class = "lineno" > 51< / span > < span class = "preprocessor" > #define ORT_CXX_API_THROW(string, code) \< / span > < / div >
< div class = "line" > < a id = "l00052" name = "l00052" > < / a > < span class = "lineno" > 52< / span > < span class = "preprocessor" > do { \< / span > < / div >
< div class = "line" > < a id = "l00053" name = "l00053" > < / a > < span class = "lineno" > 53< / span > < span class = "preprocessor" > std::cerr < < Ort::Exception(string, code) \< / span > < / div >
< div class = "line" > < a id = "l00054" name = "l00054" > < / a > < span class = "lineno" > 54< / span > < span class = "preprocessor" > .what() \< / span > < / div >
< div class = "line" > < a id = "l00055" name = "l00055" > < / a > < span class = "lineno" > 55< / span > < span class = "preprocessor" > < < std::endl; \< / span > < / div >
< div class = "line" > < a id = "l00056" name = "l00056" > < / a > < span class = "lineno" > 56< / span > < span class = "preprocessor" > abort(); \< / span > < / div >
< div class = "line" > < a id = "l00057" name = "l00057" > < / a > < span class = "lineno" > 57< / span > < span class = "preprocessor" > } while (false)< / span > < / div >
< div class = "line" > < a id = "l00058" name = "l00058" > < / a > < span class = "lineno" > 58< / span > < span class = "preprocessor" > #else< / span > < / div >
< div class = "line" > < a id = "l00059" name = "l00059" > < / a > < span class = "lineno" > 59< / span > < span class = "preprocessor" > #define ORT_CXX_API_THROW(string, code) \< / span > < / div >
< div class = "line" > < a id = "l00060" name = "l00060" > < / a > < span class = "lineno" > 60< / span > < span class = "preprocessor" > throw Ort::Exception(string, code)< / span > < / div >
< div class = "line" > < a id = "l00061" name = "l00061" > < / a > < span class = "lineno" > 61< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00062" name = "l00062" > < / a > < span class = "lineno" > 62< / span > < / div >
< div class = "line" > < a id = "l00063" name = "l00063" > < / a > < span class = "lineno" > 63< / span > < span class = "comment" > // This is used internally by the C++ API. This class holds the global variable that points to the OrtApi, 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 = "l00064" name = "l00064" > < / a > < span class = "lineno" > 64< / span > < span class = "comment" > // it transparent to the users of the API.< / span > < / div >
< div class = "line" > < a id = "l00065" name = "l00065" > < / a > < span class = "lineno" > 65< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00066" name = "l00066" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_global.html" > 66< / 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 = "l00067" name = "l00067" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_global.html#ab942ff324e47dc1fa29f5ee030fcf872" > 67< / 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 = "l00068" name = "l00068" > < / a > < span class = "lineno" > 68< / span > };< / div >
< div class = "line" > < a id = "l00069" name = "l00069" > < / a > < span class = "lineno" > 69< / span > < / div >
< div class = "line" > < a id = "l00070" name = "l00070" > < / a > < span class = "lineno" > 70< / 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 = "l00071" name = "l00071" > < / a > < span class = "lineno" > 71< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00072" name = "l00072" > < / a > < span class = "lineno" > 72< / span > < span class = "preprocessor" > #ifdef ORT_API_MANUAL_INIT< / span > < / div >
< div class = "line" > < a id = "l00073" name = "l00073" > < / a > < span class = "lineno" > 73< / 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 = "l00074" name = "l00074" > < / a > < span class = "lineno" > 74< / 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 = "l00075" name = "l00075" > < / a > < span class = "lineno" > 75< / span > < span class = "preprocessor" > #else< / span > < / div >
< div class = "line" > < a id = "l00076" name = "l00076" > < / a > < span class = "lineno" > 76< / 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 = "l00077" name = "l00077" > < / a > < span class = "lineno" > 77< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00078" name = "l00078" > < / a > < span class = "lineno" > 78< / span > < / div >
< div class = "line" > < a id = "l00080" name = "l00080" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a8930fa08683b5153ee3aa4df63745ce3" > 80< / 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 = "l00081" name = "l00081" > < / a > < span class = "lineno" > 81< / span > < / div >
< div class = "line" > < a id = "l00083" name = "l00083" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#ac2f785275bced9e6853a2f4ea6b71c04" > 83< / a > < / span > std::vector< std::string> < a class = "code hl_function" href = "namespace_ort.html#ac2f785275bced9e6853a2f4ea6b71c04" > GetAvailableProviders< / 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 > < 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 = "l00086" name = "l00086" > < / a > < span class = "lineno" > 86< / 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 = "l00087" name = "l00087" > < / a > < span class = "lineno" > 87< / span > < span class = "preprocessor" > #define ORT_DEFINE_RELEASE(NAME) \< / span > < / div >
< div class = "line" > < a id = "l00088" name = "l00088" > < / a > < span class = "lineno" > 88< / span > < span class = "preprocessor" > inline void OrtRelease(Ort##NAME* ptr) { GetApi().Release##NAME(ptr); }< / span > < / div >
< div class = "line" > < a id = "l00089" name = "l00089" > < / a > < span class = "lineno" > 89< / span > < / div >
< div class = "line" > < a id = "l00090" name = "l00090" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#ab02f1610bce528edcaf1c09ed3630c25" > 90< / 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 = "l00091" name = "l00091" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a7e8a0537db8dc9a1f1d474d8df764253" > 91< / 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 = "l00092" name = "l00092" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a42a9e1527a4596b9c7bc0d731ff8e597" > 92< / 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 = "l00093" name = "l00093" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a0523cd6f50eeb00346239ad6d85b93e3" > 93< / 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 = "l00094" name = "l00094" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#abab610880cf8f2ae81ffcd217e858a0c" > 94< / 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 = "l00095" name = "l00095" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a2922bb8e373883aa7bfdf3e33cfd4f09" > 95< / 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 = "l00096" name = "l00096" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a3cf5aee5cfc893c11846f9507f5cb583" > 96< / 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 = "l00097" name = "l00097" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a3e980c8d6acadaec690d7a2480cd19e3" > 97< / 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 = "l00098" name = "l00098" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a207276534c33f5048ef2be16c23ff567" > 98< / 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 = "l00099" name = "l00099" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a2f8a0c4927de067b8a6c3a1513ba076d" > 99< / 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 = "l00100" name = "l00100" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a2695b0e5218f684933dba53450a91717" > 100< / 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 = "l00101" name = "l00101" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a919918178eab6d71fa876d71370c08b2" > 101< / 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 = "l00102" name = "l00102" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#addb765adc55eafc99db2c02ef9ee54d8" > 102< / 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 = "l00103" name = "l00103" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#a8211ef33534e51dd6f28657da6da3447" > 103< / a > < / span > ORT_DEFINE_RELEASE(ThreadingOptions);< / div >
< div class = "line" > < a id = "l00104" name = "l00104" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#afc837cc56ad1b89a055790d38a44635e" > 104< / 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 = "l00105" name = "l00105" > < / a > < span class = "lineno" > < a class = "line" href = "namespace_ort.html#ae5dadf2e57c9191beaa3914e62a167bb" > 105< / 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 = "l00106" name = "l00106" > < / a > < span class = "lineno" > 106< / span > < / div >
< div class = "line" > < a id = "l00107" name = "l00107" > < / a > < span class = "lineno" > 107< / span > < span class = "preprocessor" > #undef ORT_DEFINE_RELEASE< / span > < / div >
< div class = "line" > < a id = "l00108" name = "l00108" > < / a > < span class = "lineno" > 108< / span > < / div >
< div class = "line" > < a id = "l00148" name = "l00148" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html" > 148< / 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 = "l00149" name = "l00149" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#a40e94744f6857e04292cb5af42023709" > 149< / 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 = "l00150" name = "l00150" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#aa6e9b056f00cd4f8536e75186a66a761" > 150< / 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 = "l00151" name = "l00151" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#a1c4bc779a26f3b76f7603ade55f8b406" > 151< / 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 = "l00152" name = "l00152" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#a8af796b50ea5871e362c4b7920d0818f" > 152< / 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 = "l00153" name = "l00153" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#a7c3e6b3763cd9ade3aeb4ff9a3fa756b" > 153< / 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 = "l00154" name = "l00154" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_float16__t.html#a075d0f6f5e3d01ee576e195fc831c077" > 154< / 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 = "l00155" name = "l00155" > < / a > < span class = "lineno" > 155< / span > };< / div >
< div class = "line" > < a id = "l00156" name = "l00156" > < / a > < span class = "lineno" > 156< / span > < / div >
< div class = "line" > < a id = "l00157" name = "l00157" > < / a > < span class = "lineno" > 157< / 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 = "l00158" name = "l00158" > < / a > < span class = "lineno" > 158< / span > < / div >
< div class = "line" > < a id = "l00167" name = "l00167" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html" > 167< / 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 = "l00168" name = "l00168" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#a045d540abc39bc03e4119cb70483979f" > 168< / 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 = "l00169" name = "l00169" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#abd5fd29e8aa239abf8bd0d09ad280222" > 169< / 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 = "l00170" name = "l00170" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#a6805de0ff7cfa6f60580dac30cbd056d" > 170< / 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 = "l00171" name = "l00171" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#a782a127afb72ac776f8853ea1b5314ec" > 171< / 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 = "l00172" name = "l00172" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#ab0db76a01b78a335e317c31d9cc96ffd" > 172< / 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 = "l00173" name = "l00173" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_b_float16__t.html#a346ce22f7bd22dece2a426c3826b05b4" > 173< / 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 = "l00174" name = "l00174" > < / a > < span class = "lineno" > 174< / span > };< / div >
< div class = "line" > < a id = "l00175" name = "l00175" > < / a > < span class = "lineno" > 175< / span > < / div >
< div class = "line" > < a id = "l00176" name = "l00176" > < / a > < span class = "lineno" > 176< / 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 = "l00177" name = "l00177" > < / a > < span class = "lineno" > 177< / span > < / div >
< div class = "line" > < a id = "l00185" name = "l00185" > < / a > < span class = "lineno" > 185< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00186" name = "l00186" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html" > 186< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > {< / div >
< div class = "line" > < a id = "l00187" name = "l00187" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#aea8ad8947b663fdcc1b81f129912e79e" > 187< / a > < / span > < span class = "keyword" > using< / span > < a class = "code hl_typedef" href = "struct_ort_1_1_base.html#aea8ad8947b663fdcc1b81f129912e79e" > contained_type< / a > = T;< / div >
< div class = "line" > < a id = "l00188" name = "l00188" > < / a > < span class = "lineno" > 188< / span > < / div >
< div class = "line" > < a id = "l00189" name = "l00189" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a66d10ddc7737be4e09ec0936f4268fef" > 189< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#a66d10ddc7737be4e09ec0936f4268fef" > Base< / a > () = < span class = "keywordflow" > default< / span > ;< / div >
< div class = "line" > < a id = "l00190" name = "l00190" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#ac871a942635518ffed7ba564c6a8f52e" > 190< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#ac871a942635518ffed7ba564c6a8f52e" > Base< / a > (T* p) : < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > {p} {< / div >
< div class = "line" > < a id = "l00191" name = "l00191" > < / a > < span class = "lineno" > 191< / span > < span class = "keywordflow" > if< / span > (!p)< / div >
< div class = "line" > < a id = "l00192" name = "l00192" > < / a > < span class = "lineno" > 192< / span > ORT_CXX_API_THROW(< span class = "stringliteral" > " Allocation failure" < / span > , < a class = "code hl_enumvalue" href = "group___global.html#ggabab5349c294603a9eac437fdafd40a3da736b6fe519254252e655cf37afd258a1" > ORT_FAIL< / a > );< / div >
< div class = "line" > < a id = "l00193" name = "l00193" > < / a > < span class = "lineno" > 193< / span > }< / div >
< div class = "line" > < a id = "l00194" name = "l00194" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a4596ebf9650803a86a84a1bc04cd78af" > 194< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#a4596ebf9650803a86a84a1bc04cd78af" > ~Base< / a > () { < a class = "code hl_function" href = "namespace_ort.html#ab02f1610bce528edcaf1c09ed3630c25" > OrtRelease< / a > (< a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > ); }< / 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" > < a class = "line" href = "struct_ort_1_1_base.html#a4b1270f1fe2a1242d89ad7ff31ea0523" > 196< / a > < / span > < span class = "keyword" > operator< / span > T*() { < span class = "keywordflow" > return< / span > < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > ; }< / div >
< div class = "line" > < a id = "l00197" name = "l00197" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a82c7f161984cf2803c17ae85bbd66176" > 197< / a > < / span > < span class = "keyword" > operator< / span > < span class = "keyword" > const< / span > T*() < span class = "keyword" > const< / span > { < span class = "keywordflow" > return< / span > < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > ; }< / div >
< div class = "line" > < a id = "l00198" name = "l00198" > < / a > < span class = "lineno" > 198< / span > < / div >
< div class = "line" > < a id = "l00200" name = "l00200" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a2f4ae170cb8adebc982cb2dea39325c9" > 200< / a > < / span > T* < a class = "code hl_function" href = "struct_ort_1_1_base.html#a2f4ae170cb8adebc982cb2dea39325c9" > release< / a > () {< / div >
< div class = "line" > < a id = "l00201" name = "l00201" > < / a > < span class = "lineno" > 201< / span > T* p = < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > ;< / div >
< div class = "line" > < a id = "l00202" name = "l00202" > < / a > < span class = "lineno" > 202< / span > < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > = < span class = "keyword" > nullptr< / span > ;< / div >
< div class = "line" > < a id = "l00203" name = "l00203" > < / a > < span class = "lineno" > 203< / span > < span class = "keywordflow" > return< / span > p;< / 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" > 205< / span > < / div >
< div class = "line" > < a id = "l00206" name = "l00206" > < / a > < span class = "lineno" > 206< / span > < span class = "keyword" > protected< / span > :< / div >
< div class = "line" > < a id = "l00207" name = "l00207" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#abe0c053fd682decf4149f7d788d6b9ed" > 207< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#abe0c053fd682decf4149f7d788d6b9ed" > Base< / a > (< span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > & ) = < span class = "keyword" > delete< / span > ;< / div >
< div class = "line" > < a id = "l00208" name = "l00208" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a2517f75e3511fd84579f99502bf39b1e" > 208< / a > < / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > & < a class = "code hl_function" href = "struct_ort_1_1_base.html#a2517f75e3511fd84579f99502bf39b1e" > operator=< / a > (< span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > & ) = < span class = "keyword" > delete< / span > ;< / div >
< div class = "line" > < a id = "l00209" name = "l00209" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#a9da2e4fc1874f3ec50c34ec5954d7be1" > 209< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#a9da2e4fc1874f3ec50c34ec5954d7be1" > Base< / a > (< a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > & & v) noexcept : < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > {v.p_} { v.p_ = < span class = "keyword" > nullptr< / span > ; }< / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00210" name = "l00210" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#ae1c3f4684de3e03acecaefd82b5e516b" > 210< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_base.html#ae1c3f4684de3e03acecaefd82b5e516b" > operator=< / a > (< a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > & & v) < span class = "keyword" > noexcept< / span > {< / div >
< div class = "line" > < a id = "l00211" name = "l00211" > < / a > < span class = "lineno" > 211< / span > < a class = "code hl_function" href = "namespace_ort.html#ab02f1610bce528edcaf1c09ed3630c25" > OrtRelease< / a > (< a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > );< / div >
< div class = "line" > < a id = "l00212" name = "l00212" > < / a > < span class = "lineno" > 212< / span > < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > = v.release();< / div >
< div class = "line" > < a id = "l00213" name = "l00213" > < / a > < span class = "lineno" > 213< / span > }< / div >
< div class = "line" > < a id = "l00214" name = "l00214" > < / a > < span class = "lineno" > 214< / span > < / div >
< div class = "line" > < a id = "l00215" name = "l00215" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > 215< / a > < / span > T* < a class = "code hl_variable" href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > p_< / a > {};< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00216" name = "l00216" > < / a > < span class = "lineno" > 216< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00217" name = "l00217" > < / a > < span class = "lineno" > 217< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > > < / div >
< div class = "line" > < a id = "l00218" name = "l00218" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_base.html#ae79c91592c8c7e55b5b8bc0b6076dc35" > 218< / a > < / span > < span class = "keyword" > friend< / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< / a > ; < span class = "comment" > // This friend line is needed to keep the centos C++ compiler from giving an error< / span > < / div >
< div class = "line" > < a id = "l00219" name = "l00219" > < / a > < span class = "lineno" > 219< / span > };< / div >
< div class = "line" > < a id = "l00220" name = "l00220" > < / a > < span class = "lineno" > 220< / span > < / div >
< div class = "line" > < a id = "l00225" name = "l00225" > < / a > < span class = "lineno" > 225< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00226" name = "l00226" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_unowned.html" > 226< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< / a > : T {< / div >
< div class = "line" > < a id = "l00227" name = "l00227" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_unowned.html#ad0f9c92c922fdb1cfb5c0d595c3ef8a8" > 227< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_unowned.html#ad0f9c92c922fdb1cfb5c0d595c3ef8a8" > Unowned< / a > (< span class = "keyword" > typename< / span > T::contained_type* p) : T{p} {}< / div >
< div class = "line" > < a id = "l00228" name = "l00228" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_unowned.html#a0ba813e48161c9b9a76315a8bf17a147" > 228< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_unowned.html#a0ba813e48161c9b9a76315a8bf17a147" > Unowned< / a > (< a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< / a > & & v) : T{v.p_} {}< / div >
< div class = "line" > < a id = "l00229" name = "l00229" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_unowned.html#a24755f54a4c54b384d5b2e43d29c63b2" > 229< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_unowned.html#a24755f54a4c54b384d5b2e43d29c63b2" > ~Unowned< / a > () { this-> release(); }< / div >
< div class = "line" > < a id = "l00230" name = "l00230" > < / a > < span class = "lineno" > 230< / span > };< / div >
< div class = "line" > < a id = "l00231" name = "l00231" > < / a > < span class = "lineno" > 231< / span > < / div >
< div class = "line" > < a id = "l00232" name = "l00232" > < / a > < span class = "lineno" > 232< / span > < span class = "keyword" > struct < / span > AllocatorWithDefaultOptions;< / div >
< div class = "line" > < a id = "l00233" name = "l00233" > < / a > < span class = "lineno" > 233< / span > < span class = "keyword" > struct < / span > MemoryInfo;< / div >
< div class = "line" > < a id = "l00234" name = "l00234" > < / a > < span class = "lineno" > 234< / span > < span class = "keyword" > struct < / span > Env;< / div >
< div class = "line" > < a id = "l00235" name = "l00235" > < / a > < span class = "lineno" > 235< / span > < span class = "keyword" > struct < / span > TypeInfo;< / div >
< div class = "line" > < a id = "l00236" name = "l00236" > < / a > < span class = "lineno" > 236< / span > < span class = "keyword" > struct < / span > Value;< / div >
< div class = "line" > < a id = "l00237" name = "l00237" > < / a > < span class = "lineno" > 237< / span > < span class = "keyword" > struct < / span > ModelMetadata;< / div >
< div class = "line" > < a id = "l00238" name = "l00238" > < / a > < span class = "lineno" > 238< / span > < / div >
< div class = "line" > < a id = "l00244" name = "l00244" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html" > 244< / 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_1_base.html" > Base< / a > < OrtEnv> {< / div >
< div class = "line" > < a id = "l00245" name = "l00245" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#a48bab6a5fcbe8f6d6c0ceb27afae810a" > 245< / 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 = "l00246" name = "l00246" > < / a > < span class = "lineno" > 246< / span > < / div >
< div class = "line" > < a id = "l00248" name = "l00248" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#a6d594538c1c9fd9da1a3fb0ce532fddc" > 248< / 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 = "l00249" name = "l00249" > < / a > < span class = "lineno" > 249< / span > < / div >
< div class = "line" > < a id = "l00251" name = "l00251" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#aacb1c1fec39c545a180c5c9b8fe37fb5" > 251< / 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 = "l00252" name = "l00252" > < / a > < span class = "lineno" > 252< / span > < / div >
< div class = "line" > < a id = "l00254" name = "l00254" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#a8406145b6539cd0676a29a56c1efe6be" > 254< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00255" name = "l00255" > < / a > < span class = "lineno" > 255< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00257" name = "l00257" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#a8b41eadfdbb6998e5d4307318bca8033" > 257< / 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 = "l00258" name = "l00258" > < / a > < span class = "lineno" > 258< / 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 = "l00259" name = "l00259" > < / a > < span class = "lineno" > 259< / span > < / div >
< div class = "line" > < a id = "l00261" name = "l00261" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#a25b49a5a089206ead63150b4e246bdbe" > 261< / 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_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#gaba9072a64b5081cd4d36cca5ef92bd08" > OrtEnv< / a > > {p} {}< / 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_1_env.html#a251b84b1a06a0d5f3f1cfa0d2591c033" > 263< / 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 = "l00264" name = "l00264" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_env.html#afc9b2d44c9db7812787904d5e3018f24" > 264< / 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 = "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_1_env.html#ace62e9a1fe461a42a0b1cc79ee40f421" > 266< / 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 = "l00267" name = "l00267" > < / a > < span class = "lineno" > 267< / span > };< / div >
< div class = "line" > < a id = "l00268" name = "l00268" > < / a > < span class = "lineno" > 268< / span > < / div >
< div class = "line" > < a id = "l00272" name = "l00272" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_domain.html" > 272< / 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_1_base.html" > Base< / a > < OrtCustomOpDomain> {< / div >
< div class = "line" > < a id = "l00273" name = "l00273" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_domain.html#a4718bfa2cc736c54c4da4cc828ba8899" > 273< / 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 = "l00274" name = "l00274" > < / a > < span class = "lineno" > 274< / span > < / div >
< div class = "line" > < a id = "l00276" name = "l00276" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_domain.html#a71fe5d662c516259a8e9816abc48eecb" > 276< / 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 = "l00277" name = "l00277" > < / a > < span class = "lineno" > 277< / span > < / div >
< div class = "line" > < a id = "l00278" name = "l00278" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_domain.html#af18dafed4860a3faf5417381665747a5" > 278< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_custom_op_domain.html#af18dafed4860a3faf5417381665747a5" > Add< / a > (< a class = "code hl_struct" href = "struct_ort_custom_op.html" > OrtCustomOp< / a > * op); < / div >
< div class = "line" > < a id = "l00279" name = "l00279" > < / a > < span class = "lineno" > 279< / span > };< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00280" name = "l00280" > < / a > < span class = "lineno" > 280< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00281" name = "l00281" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html" > 281< / 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_1_base.html" > Base< / a > < OrtRunOptions> {< / div >
< div class = "line" > < a id = "l00282" name = "l00282" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a89e09783a59b61dfb61bcfa052f7f4bc" > 282< / 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 = "l00283" name = "l00283" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#aecca727dda56bbefb1d339ed3b714168" > 283< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_run_options.html#aecca727dda56bbefb1d339ed3b714168" > RunOptions< / a > (); < / div >
< div class = "line" > < a id = "l00284" name = "l00284" > < / a > < span class = "lineno" > 284< / span > < / div >
< div class = "line" > < a id = "l00285" name = "l00285" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a933438fc8e24ff6d30470b4f54856783" > 285< / 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 = "l00286" name = "l00286" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a7ed22746c1f54eb112d4e5efc23ea2cd" > 286< / 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 = "l00287" name = "l00287" > < / a > < span class = "lineno" > 287< / span > < / div >
< div class = "line" > < a id = "l00288" name = "l00288" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a9ab00f70c1e5387247170e407b43005e" > 288< / 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 = "l00289" name = "l00289" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a159fd9dcb41fa9d44fa4e1d55af7c1dd" > 289< / 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 = "l00290" name = "l00290" > < / a > < span class = "lineno" > 290< / span > < / div >
< div class = "line" > < a id = "l00291" name = "l00291" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a71a86d105bcd6c57cdf1c6e3c05a092b" > 291< / 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 = "l00292" name = "l00292" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#ad033e3d5d7758e082d2a4b725b157b53" > 292< / 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 = "l00293" name = "l00293" > < / a > < span class = "lineno" > 293< / span > < / div >
< div class = "line" > < a id = "l00294" name = "l00294" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#ac752cfb944b9aa2621f626d3997b90d2" > 294< / 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 = "l00295" name = "l00295" > < / a > < span class = "lineno" > 295< / span > < / div >
< div class = "line" > < a id = "l00301" name = "l00301" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a15a8e02b1349d35a095c0314743b84d6" > 301< / 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 = "l00302" name = "l00302" > < / a > < span class = "lineno" > 302< / span > < / div >
< div class = "line" > < a id = "l00307" name = "l00307" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_run_options.html#a7ec93ca85331023091fb9f9696bfbdf0" > 307< / 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 = "l00308" name = "l00308" > < / a > < span class = "lineno" > 308< / span > };< / div >
< div class = "line" > < a id = "l00309" name = "l00309" > < / a > < span class = "lineno" > 309< / span > < / div >
< div class = "line" > < a id = "l00314" name = "l00314" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html" > 314< / 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_1_base.html" > Base< / a > < OrtSessionOptions> {< / div >
< div class = "line" > < a id = "l00315" name = "l00315" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a49e3a72e68b9ab75cdc7a6227a0c9a81" > 315< / 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 = "l00316" name = "l00316" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a635fd17cce38833b2aff64d9409187f2" > 316< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_session_options.html#a635fd17cce38833b2aff64d9409187f2" > SessionOptions< / a > (); < / div >
< div class = "line" > < a id = "l00317" name = "l00317" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#ae15251c52983461ccd5e2f204fe1259c" > 317< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#gaa6c56bcb36e39611481a17065d3ce620" > OrtSessionOptions< / a > > {p} {} < / 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" > < a class = "line" href = "struct_ort_1_1_session_options.html#a370427f223d1ab31116136f6599e1943" > 319< / 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_1_session_options.html#a370427f223d1ab31116136f6599e1943" > Clone< / a > () < span class = "keyword" > const< / span > ; < / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00320" name = "l00320" > < / a > < span class = "lineno" > 320< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00321" name = "l00321" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a23fcbc505d5a5d61123d5123509a7535" > 321< / 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_1_session_options.html#a23fcbc505d5a5d61123d5123509a7535" > SetIntraOpNumThreads< / a > (< span class = "keywordtype" > int< / span > intra_op_num_threads); < / div >
< div class = "line" > < a id = "l00322" name = "l00322" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a8efc94e38035e86262a9f3e430f6f35e" > 322< / 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_1_session_options.html#a8efc94e38035e86262a9f3e430f6f35e" > SetInterOpNumThreads< / a > (< span class = "keywordtype" > int< / span > inter_op_num_threads); < / div >
< div class = "line" > < a id = "l00323" name = "l00323" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a05da50ea9c8ea688c26cc76e19af05ad" > 323< / 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_1_session_options.html#a05da50ea9c8ea688c26cc76e19af05ad" > SetGraphOptimizationLevel< / a > (< a class = "code hl_enumeration" href = "group___global.html#gab086a52ca2f3a883cd1f7561eadd8ec9" > GraphOptimizationLevel< / a > graph_optimization_level); < / div >
< div class = "line" > < a id = "l00324" name = "l00324" > < / a > < span class = "lineno" > 324< / span > < / div >
< div class = "line" > < a id = "l00325" name = "l00325" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a7d1f3c3bf4aedc7b714ae5729daf97db" > 325< / 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_1_session_options.html#a7d1f3c3bf4aedc7b714ae5729daf97db" > EnableCpuMemArena< / a > (); < / div >
< div class = "line" > < a id = "l00326" name = "l00326" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#abe5a3ec3c1c94a231f753311b43e9af8" > 326< / 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_1_session_options.html#abe5a3ec3c1c94a231f753311b43e9af8" > DisableCpuMemArena< / a > (); < / div >
< div class = "line" > < a id = "l00327" name = "l00327" > < / a > < span class = "lineno" > 327< / span > < / div >
< div class = "line" > < a id = "l00328" name = "l00328" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a79b248ca385f9013224d44682eb1123d" > 328< / 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_1_session_options.html#a79b248ca385f9013224d44682eb1123d" > SetOptimizedModelFilePath< / a > (< span class = "keyword" > const< / span > ORTCHAR_T* optimized_model_file); < / div >
< div class = "line" > < a id = "l00329" name = "l00329" > < / a > < span class = "lineno" > 329< / span > < / div >
< div class = "line" > < a id = "l00330" name = "l00330" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a76f0bd0b6feeefe3b90ba941a7281102" > 330< / 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_1_session_options.html#a76f0bd0b6feeefe3b90ba941a7281102" > EnableProfiling< / a > (< span class = "keyword" > const< / span > ORTCHAR_T* profile_file_prefix); < / div >
< div class = "line" > < a id = "l00331" name = "l00331" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a244fa67143794b5e1792824f55a86491" > 331< / 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_1_session_options.html#a244fa67143794b5e1792824f55a86491" > DisableProfiling< / a > (); < / 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" > < a class = "line" href = "struct_ort_1_1_session_options.html#a5d430cf21a8253d5a368339fce2e5fb3" > 333< / 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_1_session_options.html#a5d430cf21a8253d5a368339fce2e5fb3" > EnableOrtCustomOps< / a > (); < / 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" > < a class = "line" href = "struct_ort_1_1_session_options.html#a09d108033fe67cacb09d576ba74d04fb" > 335< / 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_1_session_options.html#a09d108033fe67cacb09d576ba74d04fb" > EnableMemPattern< / a > (); < / div >
< div class = "line" > < a id = "l00336" name = "l00336" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a85495cc117b54771cb4d7632753532f0" > 336< / 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_1_session_options.html#a85495cc117b54771cb4d7632753532f0" > DisableMemPattern< / a > (); < / div >
< div class = "line" > < a id = "l00337" name = "l00337" > < / a > < span class = "lineno" > 337< / span > < / div >
< div class = "line" > < a id = "l00338" name = "l00338" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#ad653f996285d6ea2fa5356d8aab164fb" > 338< / 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_1_session_options.html#ad653f996285d6ea2fa5356d8aab164fb" > SetExecutionMode< / a > (< a class = "code hl_enumeration" href = "group___global.html#gad14b0c6d4ed8fcadff6dcf39c5cf17fd" > ExecutionMode< / a > execution_mode); < / div >
< div class = "line" > < a id = "l00339" name = "l00339" > < / a > < span class = "lineno" > 339< / span > < / div >
< div class = "line" > < a id = "l00340" name = "l00340" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#ad8ff24aee4eb33dadaab0b34aebe6a40" > 340< / 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_1_session_options.html#ad8ff24aee4eb33dadaab0b34aebe6a40" > SetLogId< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * logid); < / div >
< div class = "line" > < a id = "l00341" name = "l00341" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a8a32dda32dc98fc7002a3ea60532a3ae" > 341< / 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_1_session_options.html#a8a32dda32dc98fc7002a3ea60532a3ae" > SetLogSeverityLevel< / a > (< span class = "keywordtype" > int< / span > level); < / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00342" name = "l00342" > < / a > < span class = "lineno" > 342< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00343" name = "l00343" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#ae421fd429166a3edb84748fc485a9a8f" > 343< / 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_1_session_options.html#ae421fd429166a3edb84748fc485a9a8f" > Add< / a > (< a class = "code hl_typedef" href = "group___global.html#ga571f649a16d7052d4465ceabfdd26161" > OrtCustomOpDomain< / a > * custom_op_domain); < / div >
< div class = "line" > < a id = "l00344" name = "l00344" > < / a > < span class = "lineno" > 344< / span > < / div >
< div class = "line" > < a id = "l00345" name = "l00345" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a2fe38d2468c0d7c5d27967bb9804ed7b" > 345< / 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_1_session_options.html#a2fe38d2468c0d7c5d27967bb9804ed7b" > DisablePerSessionThreads< / a > (); < / div >
< div class = "line" > < a id = "l00346" name = "l00346" > < / a > < span class = "lineno" > 346< / span > < / div >
< div class = "line" > < a id = "l00347" name = "l00347" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a0b663133b32d005998b1c8c75adcd5f7" > 347< / 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_1_session_options.html#a0b663133b32d005998b1c8c75adcd5f7" > 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 = "l00348" name = "l00348" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a85b55eeb514e2cbef7fd57de6279b93d" > 348< / 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_1_session_options.html#a85b55eeb514e2cbef7fd57de6279b93d" > 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 = "l00349" name = "l00349" > < / a > < span class = "lineno" > 349< / span > < / div >
< div class = "line" > < a id = "l00350" name = "l00350" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#afea37bbd589b4acd151ce2cc49ac7844" > 350< / 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_1_session_options.html#afea37bbd589b4acd151ce2cc49ac7844" > 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 = "l00351" name = "l00351" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#aaa789e496dfdd6682344f7d3748ecf52" > 351< / 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_1_session_options.html#aaa789e496dfdd6682344f7d3748ecf52" > 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 = "l00352" name = "l00352" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a82914de4692c4cefdfc22dabd48e1b12" > 352< / 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_1_session_options.html#a82914de4692c4cefdfc22dabd48e1b12" > 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 = "l00353" name = "l00353" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a17bf9c1f81f7ac33cde7bb49034ca009" > 353< / 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_1_session_options.html#a17bf9c1f81f7ac33cde7bb49034ca009" > 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 = "l00354" name = "l00354" > < / a > < span class = "lineno" > 354< / span > < / div >
< div class = "line" > < a id = "l00355" name = "l00355" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a1b398d0102e5e9c924a3f4c8ee27d602" > 355< / 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_1_session_options.html#a1b398d0102e5e9c924a3f4c8ee27d602" > 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 = "l00356" name = "l00356" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#a9091ba0f274affc5728aa29822beed21" > 356< / 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_1_session_options.html#a9091ba0f274affc5728aa29822beed21" > SetCustomThreadCreationOptions< / a > (< span class = "keywordtype" > void< / span > * ort_custom_thread_creation_options); < / div >
< div class = "line" > < a id = "l00357" name = "l00357" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session_options.html#ac952056fad906c45467ba4a229850488" > 357< / 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_1_session_options.html#ac952056fad906c45467ba4a229850488" > 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 = "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 = "l00363" name = "l00363" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html" > 363< / 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_1_base.html" > Base< / a > < OrtModelMetadata> {< / div >
< div class = "line" > < a id = "l00364" name = "l00364" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#a396ffe03318e70e231632c84627ffd37" > 364< / 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 = "l00365" name = "l00365" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#ae3e92380b90266d5a18e3ca9b3d632a3" > 365< / 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_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#ga60c3d77af832d0d7fa5e14636009b408" > OrtModelMetadata< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00366" name = "l00366" > < / a > < span class = "lineno" > 366< / span > < / div >
< div class = "line" > < a id = "l00367" name = "l00367" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#a56420a877a1a217bd2fab85323f6a2bb" > 367< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#a56420a877a1a217bd2fab85323f6a2bb" > GetProducerName< / 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 = "l00368" name = "l00368" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#a69d06cb137909c4e85618b306c17f4b9" > 368< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#a69d06cb137909c4e85618b306c17f4b9" > GetGraphName< / 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 = "l00369" name = "l00369" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#a0ca53d70a862353d83b5e477f97b673a" > 369< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#a0ca53d70a862353d83b5e477f97b673a" > GetDomain< / 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 = "l00370" name = "l00370" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#ab3cad65b777f68580bdc7abf832d8c48" > 370< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#ab3cad65b777f68580bdc7abf832d8c48" > GetDescription< / 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 = "l00371" name = "l00371" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#aad940b66cd32d75c1f385ce6d528044c" > 371< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#aad940b66cd32d75c1f385ce6d528044c" > GetGraphDescription< / 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 = "l00372" name = "l00372" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#ad40f2997d9491bd3e69f3fc91f5918ac" > 372< / a > < / span > < span class = "keywordtype" > char< / span > ** < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#ad40f2997d9491bd3e69f3fc91f5918ac" > GetCustomMetadataMapKeys< / a > (< a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > * allocator, _Out_ int64_t& num_keys) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00373" name = "l00373" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#a348ce60f0b6f70a6bddb0d393b9b1d92" > 373< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_model_metadata.html#a348ce60f0b6f70a6bddb0d393b9b1d92" > LookupCustomMetadataMap< / 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 = "l00374" name = "l00374" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_model_metadata.html#af2dbdfcca90df0d532b60ab7b354a4ea" > 374< / 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 = "l00375" name = "l00375" > < / a > < span class = "lineno" > 375< / span > };< / div >
< div class = "line" > < a id = "l00376" name = "l00376" > < / a > < span class = "lineno" > 376< / span > < / div >
< div class = "line" > < a id = "l00380" name = "l00380" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html" > 380< / 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_1_base.html" > Base< / a > < OrtSession> {< / div >
< div class = "line" > < a id = "l00381" name = "l00381" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a333dc25d8897861ed3f0221c21b9b4dc" > 381< / 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 = "l00382" name = "l00382" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a1340c72e42d048d5e7fa8d71a26f2e60" > 382< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a1340c72e42d048d5e7fa8d71a26f2e60" > Session< / a > (< 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 = "l00383" name = "l00383" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a2d0f7354f12e01535b275e9b6ebfc205" > 383< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a2d0f7354f12e01535b275e9b6ebfc205" > Session< / a > (< 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, < a class = "code hl_typedef" href = "group___global.html#ga4b0ed31cf137ed2f763dddd2da40c2cf" > OrtPrepackedWeightsContainer< / a > * prepacked_weights_container); < / div >
< div class = "line" > < a id = "l00384" name = "l00384" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a8768dcc6052d4144b1dc8523b2cd4288" > 384< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a8768dcc6052d4144b1dc8523b2cd4288" > Session< / a > (< 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 = "l00385" name = "l00385" > < / a > < span class = "lineno" > 385< / span > < / div >
< div class = "line" > < a id = "l00403" name = "l00403" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#ae1149a662d2a2e218e5740672bbf0ebe" > 403< / a > < / span > std::vector< Value> < a class = "code hl_function" href = "struct_ort_1_1_session.html#ae1149a662d2a2e218e5740672bbf0ebe" > 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 = "l00404" name = "l00404" > < / a > < span class = "lineno" > 404< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00405" name = "l00405" > < / a > < span class = "lineno" > 405< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00409" name = "l00409" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a5e8b224cbe595da841897ac02fd20777" > 409< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a5e8b224cbe595da841897ac02fd20777" > 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 = "l00410" name = "l00410" > < / a > < span class = "lineno" > 410< / 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 = "l00411" name = "l00411" > < / a > < span class = "lineno" > 411< / span > < / div >
< div class = "line" > < a id = "l00412" name = "l00412" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#ad34947969abc55f205021ac968e783ff" > 412< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#ad34947969abc55f205021ac968e783ff" > 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 = "keyword" > struct< / span > < a class = "code hl_struct" href = "struct_ort_1_1_io_binding.html" > IoBinding< / a > & ); < / 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_session.html#a2a5985283caf77d65823318079fa4a6c" > 414< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a2a5985283caf77d65823318079fa4a6c" > GetInputCount< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00415" name = "l00415" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a74d8bee30facccd949c245fc50161af9" > 415< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a74d8bee30facccd949c245fc50161af9" > GetOutputCount< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00416" name = "l00416" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a6603e24602d46fd1fce04c7707039e07" > 416< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_session.html#a6603e24602d46fd1fce04c7707039e07" > GetOverridableInitializerCount< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00417" name = "l00417" > < / a > < span class = "lineno" > 417< / span > < / div >
< div class = "line" > < a id = "l00418" name = "l00418" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a147c44cc42331f7126cb892ec46b812b" > 418< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_session.html#a147c44cc42331f7126cb892ec46b812b" > GetInputName< / 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 = "l00419" name = "l00419" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a20e648093c056dd85d95f54cab637147" > 419< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_session.html#a20e648093c056dd85d95f54cab637147" > GetOutputName< / 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 = "l00420" name = "l00420" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#ac89a79b7fc58860ddf754a15dd1fab9a" > 420< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_session.html#ac89a79b7fc58860ddf754a15dd1fab9a" > GetOverridableInitializerName< / 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 = "l00421" name = "l00421" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a9c71afbbf1165d2fc265b2e8e1a08c49" > 421< / a > < / span > < span class = "keywordtype" > char< / span > * < a class = "code hl_function" href = "struct_ort_1_1_session.html#a9c71afbbf1165d2fc265b2e8e1a08c49" > EndProfiling< / 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 = "l00422" name = "l00422" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a98f99ec7569ee0b9603982117d1cbcfc" > 422< / a > < / span > uint64_t < a class = "code hl_function" href = "struct_ort_1_1_session.html#a98f99ec7569ee0b9603982117d1cbcfc" > GetProfilingStartTimeNs< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00423" name = "l00423" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a5a333fa810f984651f46917c83073d5d" > 423< / 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_1_session.html#a5a333fa810f984651f46917c83073d5d" > GetModelMetadata< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00424" name = "l00424" > < / a > < span class = "lineno" > 424< / span > < / div >
< div class = "line" > < a id = "l00425" name = "l00425" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#ac6b0307dab98100e892d3138307e0693" > 425< / 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_1_session.html#ac6b0307dab98100e892d3138307e0693" > GetInputTypeInfo< / a > (< span class = "keywordtype" > size_t< / span > index) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00426" name = "l00426" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#a3bce075963cbe5dcb3d43703973b83f6" > 426< / 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_1_session.html#a3bce075963cbe5dcb3d43703973b83f6" > GetOutputTypeInfo< / a > (< span class = "keywordtype" > size_t< / span > index) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00427" name = "l00427" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_session.html#aca46440a0096d0811ae47a0f36080999" > 427< / 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_1_session.html#aca46440a0096d0811ae47a0f36080999" > GetOverridableInitializerTypeInfo< / a > (< span class = "keywordtype" > size_t< / span > index) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00428" name = "l00428" > < / a > < span class = "lineno" > 428< / span > };< / div >
< div class = "line" > < a id = "l00429" name = "l00429" > < / a > < span class = "lineno" > 429< / span > < / div >
< div class = "line" > < a id = "l00433" name = "l00433" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html" > 433< / 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_1_base.html" > Base< / a > < OrtTensorTypeAndShapeInfo> {< / div >
< div class = "line" > < a id = "l00434" name = "l00434" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a2b3a98e53f2e2164b939ed222f4ad8fb" > 434< / 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 = "l00435" name = "l00435" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a3d8e30e6f410d181be73a7f9d9f24297" > 435< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#ga6af32c548904330b6bd7e8cba6e186c1" > OrtTensorTypeAndShapeInfo< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00436" name = "l00436" > < / a > < span class = "lineno" > 436< / span > < / div >
< div class = "line" > < a id = "l00437" name = "l00437" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a7ff0be82da5010986a5fecdc80786a71" > 437< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#gaec63cdda46c29b8183997f38930ce38e" > ONNXTensorElementDataType< / a > < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a7ff0be82da5010986a5fecdc80786a71" > GetElementType< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00438" name = "l00438" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#ab7128aa311e84d2840e208d939d82630" > 438< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#ab7128aa311e84d2840e208d939d82630" > GetElementCount< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00439" name = "l00439" > < / a > < span class = "lineno" > 439< / span > < / div >
< div class = "line" > < a id = "l00440" name = "l00440" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a6ebc72c10f10b400bbf53eee4b26e368" > 440< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a6ebc72c10f10b400bbf53eee4b26e368" > GetDimensionsCount< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00441" name = "l00441" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a42370b300519e3af7d0b34f91778bb44" > 441< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a42370b300519e3af7d0b34f91778bb44" > GetDimensions< / a > (int64_t* values, < span class = "keywordtype" > size_t< / span > values_count) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00442" name = "l00442" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#aef76cb346e08340608fd21e89cc8eb8a" > 442< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#aef76cb346e08340608fd21e89cc8eb8a" > 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 = "l00443" name = "l00443" > < / a > < span class = "lineno" > 443< / span > < / div >
< div class = "line" > < a id = "l00444" name = "l00444" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a4625a99a32e126b4b03a9289183fe723" > 444< / a > < / span > std::vector< int64_t> < a class = "code hl_function" href = "struct_ort_1_1_tensor_type_and_shape_info.html#a4625a99a32e126b4b03a9289183fe723" > GetShape< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00445" name = "l00445" > < / a > < span class = "lineno" > 445< / span > };< / div >
< div class = "line" > < a id = "l00446" name = "l00446" > < / a > < span class = "lineno" > 446< / span > < / div >
< div class = "line" > < a id = "l00450" name = "l00450" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_sequence_type_info.html" > 450< / 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_1_base.html" > Base< / a > < OrtSequenceTypeInfo> {< / div >
< div class = "line" > < a id = "l00451" name = "l00451" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_sequence_type_info.html#a803fe74cd83e82bb1d5529c9e320dd14" > 451< / 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 = "l00452" name = "l00452" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_sequence_type_info.html#aa255aec0a6272cafec6dcc7c2f2ed411" > 452< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#ga3cf68e3a575b0330628f7955c4ec3388" > OrtSequenceTypeInfo< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00453" name = "l00453" > < / a > < span class = "lineno" > 453< / span > < / div >
< div class = "line" > < a id = "l00454" name = "l00454" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_sequence_type_info.html#a736331a9ed4239c98493229d63504b4e" > 454< / 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_1_sequence_type_info.html#a736331a9ed4239c98493229d63504b4e" > GetSequenceElementType< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00455" name = "l00455" > < / a > < span class = "lineno" > 455< / span > };< / div >
< div class = "line" > < a id = "l00456" name = "l00456" > < / a > < span class = "lineno" > 456< / span > < / div >
< div class = "line" > < a id = "l00460" name = "l00460" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_map_type_info.html" > 460< / 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_1_base.html" > Base< / a > < OrtMapTypeInfo> {< / div >
< div class = "line" > < a id = "l00461" name = "l00461" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_map_type_info.html#ac8b21422b2cfb8bc127aed99082f1602" > 461< / 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 = "l00462" name = "l00462" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_map_type_info.html#ac3fbee650e27172698ed4ee135b495ca" > 462< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#gac87280b8593f74df62181b124d9a790d" > OrtMapTypeInfo< / a > > {p} {} < / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00463" name = "l00463" > < / a > < span class = "lineno" > 463< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00464" name = "l00464" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_map_type_info.html#a24df1bc38d24e714699073892218eba1" > 464< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#gaec63cdda46c29b8183997f38930ce38e" > ONNXTensorElementDataType< / a > < a class = "code hl_function" href = "struct_ort_1_1_map_type_info.html#a24df1bc38d24e714699073892218eba1" > GetMapKeyType< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00465" name = "l00465" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_map_type_info.html#ab8fee8f1b4912e4baaaf34e5dee0477a" > 465< / 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_1_map_type_info.html#ab8fee8f1b4912e4baaaf34e5dee0477a" > GetMapValueType< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00466" name = "l00466" > < / a > < span class = "lineno" > 466< / span > };< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00467" name = "l00467" > < / a > < span class = "lineno" > 467< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00468" name = "l00468" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html" > 468< / 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_1_base.html" > Base< / a > < OrtTypeInfo> {< / div >
< div class = "line" > < a id = "l00469" name = "l00469" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#aa6787301bc9889578cf63fea55a8841a" > 469< / 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 = "l00470" name = "l00470" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#aecea6a3091f45864acb1e0ad13d0a8d6" > 470< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#ga651ed4317ee24a2fb83ae63dd03687b2" > OrtTypeInfo< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00471" name = "l00471" > < / a > < span class = "lineno" > 471< / span > < / div >
< div class = "line" > < a id = "l00472" name = "l00472" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#a8fe048f9eed0d71b2edb237a35a8aa57" > 472< / a > < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< TensorTypeAndShapeInfo> < / a > < a class = "code hl_function" href = "struct_ort_1_1_type_info.html#a8fe048f9eed0d71b2edb237a35a8aa57" > GetTensorTypeAndShapeInfo< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00473" name = "l00473" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#a79b37f73c113ca399e354c354564798a" > 473< / a > < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< SequenceTypeInfo> < / a > < a class = "code hl_function" href = "struct_ort_1_1_type_info.html#a79b37f73c113ca399e354c354564798a" > GetSequenceTypeInfo< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00474" name = "l00474" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#a4450368a55551a8f7a839ccb4a0cabc6" > 474< / a > < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< MapTypeInfo> < / a > < a class = "code hl_function" href = "struct_ort_1_1_type_info.html#a4450368a55551a8f7a839ccb4a0cabc6" > GetMapTypeInfo< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00475" name = "l00475" > < / a > < span class = "lineno" > 475< / span > < / div >
< div class = "line" > < a id = "l00476" name = "l00476" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_type_info.html#a8f383706fc3f51b0cfb2cbfb81f944d9" > 476< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#gaba5b3718087699f596432d5649b9a28d" > ONNXType< / a > < a class = "code hl_function" href = "struct_ort_1_1_type_info.html#a8f383706fc3f51b0cfb2cbfb81f944d9" > GetONNXType< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00477" name = "l00477" > < / a > < span class = "lineno" > 477< / span > };< / div >
< div class = "line" > < a id = "l00478" name = "l00478" > < / a > < span class = "lineno" > 478< / span > < / div >
< div class = "line" > < a id = "l00479" name = "l00479" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html" > 479< / 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_1_base.html" > Base< / a > < OrtValue> {< / div >
< div class = "line" > < a id = "l00480" name = "l00480" > < / a > < span class = "lineno" > 480< / span > < span class = "comment" > // This structure is used to feed sparse tensor values< / span > < / div >
< div class = "line" > < a id = "l00481" name = "l00481" > < / a > < span class = "lineno" > 481< / span > < span class = "comment" > // information for use with FillSparseTensor< Format> () API< / span > < / div >
< div class = "line" > < a id = "l00482" name = "l00482" > < / a > < span class = "lineno" > 482< / span > < span class = "comment" > // if the data type for the sparse tensor values is numeric< / span > < / div >
< div class = "line" > < a id = "l00483" name = "l00483" > < / a > < span class = "lineno" > 483< / span > < span class = "comment" > // use data.p_data, otherwise, use data.str pointer to feed< / span > < / div >
< div class = "line" > < a id = "l00484" name = "l00484" > < / a > < span class = "lineno" > 484< / span > < span class = "comment" > // values. data.str is an array of const char* that are zero terminated.< / span > < / div >
< div class = "line" > < a id = "l00485" name = "l00485" > < / a > < span class = "lineno" > 485< / span > < span class = "comment" > // number of strings in the array must match shape size.< / span > < / div >
< div class = "line" > < a id = "l00486" name = "l00486" > < / a > < span class = "lineno" > 486< / span > < span class = "comment" > // For fully sparse tensors use shape {0} and set p_data/str< / span > < / div >
< div class = "line" > < a id = "l00487" name = "l00487" > < / a > < span class = "lineno" > 487< / span > < span class = "comment" > // to nullptr.< / span > < / div >
< div class = "line" > < a id = "l00488" name = "l00488" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html" > 488< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html" > OrtSparseValuesParam< / a > {< / div >
< div class = "line" > < a id = "l00489" name = "l00489" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#abd1d9ea2538a718ee0121f657dc13007" > 489< / a > < / span > < span class = "keyword" > const< / span > int64_t* < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#abd1d9ea2538a718ee0121f657dc13007" > values_shape< / a > ;< / div >
< div class = "line" > < a id = "l00490" name = "l00490" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a797733f72114674cca173d26245b159a" > 490< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a797733f72114674cca173d26245b159a" > values_shape_len< / a > ;< / div >
< div class = "line" > < a id = "l00491" name = "l00491" > < / a > < span class = "lineno" > 491< / span > < span class = "keyword" > union < / span > {< / div >
< div class = "line" > < a id = "l00492" name = "l00492" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#acf74425df27cfaf9b148d2b8a37711c0" > 492< / a > < / span > < span class = "keyword" > const< / span > < span class = "keywordtype" > void< / span > * < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#acf74425df27cfaf9b148d2b8a37711c0" > p_data< / a > ;< / div >
< div class = "line" > < a id = "l00493" name = "l00493" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a4bd0e42ad665e4fdfe78df3d72bd6707" > 493< / a > < / span > < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > ** < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a4bd0e42ad665e4fdfe78df3d72bd6707" > str< / a > ;< / div >
< div class = "line" > < a id = "l00494" name = "l00494" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#aea8bef6e03c8581002ed6f084c1d7232" > 494< / a > < / span > } < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#aea8bef6e03c8581002ed6f084c1d7232" > data< / a > ;< / div >
< div class = "line" > < a id = "l00495" name = "l00495" > < / a > < span class = "lineno" > 495< / span > };< / div >
< div class = "line" > < a id = "l00496" name = "l00496" > < / a > < span class = "lineno" > 496< / span > < / div >
< div class = "line" > < a id = "l00497" name = "l00497" > < / a > < span class = "lineno" > 497< / span > < span class = "comment" > // Provides a way to pass shape in a single< / span > < / div >
< div class = "line" > < a id = "l00498" name = "l00498" > < / a > < span class = "lineno" > 498< / span > < span class = "comment" > // argument< / span > < / div >
< div class = "line" > < a id = "l00499" name = "l00499" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_shape.html" > 499< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_shape.html" > Shape< / a > {< / div >
< div class = "line" > < a id = "l00500" name = "l00500" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_shape.html#a97c0d68bb16ad96d266e88f0e2135527" > 500< / a > < / span > < span class = "keyword" > const< / span > int64_t* < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_shape.html#a97c0d68bb16ad96d266e88f0e2135527" > shape< / a > ;< / div >
< div class = "line" > < a id = "l00501" name = "l00501" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value_1_1_shape.html#accbf7f9897a9c16ab9ae3f56913d0217" > 501< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_variable" href = "struct_ort_1_1_value_1_1_shape.html#accbf7f9897a9c16ab9ae3f56913d0217" > shape_len< / a > ;< / div >
< div class = "line" > < a id = "l00502" name = "l00502" > < / a > < span class = "lineno" > 502< / span > };< / div >
< div class = "line" > < a id = "l00503" name = "l00503" > < / a > < span class = "lineno" > 503< / span > < / div >
< div class = "line" > < a id = "l00505" name = "l00505" > < / a > < span class = "lineno" > 505< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00506" name = "l00506" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a3898146b5fc35b838bd48db807dd6c8e" > 506< / 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 = "l00508" name = "l00508" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#ab19ff01babfb77660ed022c4057046ef" > 508< / 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 = "l00509" name = "l00509" > < / a > < span class = "lineno" > 509< / span > < a class = "code hl_enumeration" href = "group___global.html#gaec63cdda46c29b8183997f38930ce38e" > ONNXTensorElementDataType< / a > type);< / 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 = "preprocessor" > #if !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00522" name = "l00522" > < / a > < span class = "lineno" > 522< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00523" name = "l00523" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a07bd3c4da603a8fc23ea6e1f86482f6b" > 523< / 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_1_value_1_1_shape.html" > Shape< / a > & dense_shape,< / div >
< div class = "line" > < a id = "l00524" name = "l00524" > < / a > < span class = "lineno" > 524< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_shape.html" > Shape< / a > & values_shape);< / div >
< div class = "line" > < a id = "l00525" name = "l00525" > < / a > < span class = "lineno" > 525< / span > < / div >
< div class = "line" > < a id = "l00542" name = "l00542" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a059315bd22476066e30a2d6034bfb9d3" > 542< / 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_1_value_1_1_shape.html" > Shape< / a > & dense_shape,< / div >
< div class = "line" > < a id = "l00543" name = "l00543" > < / a > < span class = "lineno" > 543< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_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 = "l00544" name = "l00544" > < / a > < span class = "lineno" > 544< / span > < / div >
< div class = "line" > < a id = "l00553" name = "l00553" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a1b6ef55a1a122063d3af38e47c340963" > 553< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a1b6ef55a1a122063d3af38e47c340963" > UseCooIndices< / a > (int64_t* indices_data, < span class = "keywordtype" > size_t< / span > indices_num);< / div >
< div class = "line" > < a id = "l00554" name = "l00554" > < / a > < span class = "lineno" > 554< / span > < / div >
< div class = "line" > < a id = "l00565" name = "l00565" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a475c1d0e4610b9ace64a71c938fd64d2" > 565< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a475c1d0e4610b9ace64a71c938fd64d2" > 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 = "l00566" name = "l00566" > < / a > < span class = "lineno" > 566< / span > < / div >
< div class = "line" > < a id = "l00575" name = "l00575" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a8f8b5207913f0c484bc14ee7518ff17e" > 575< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a8f8b5207913f0c484bc14ee7518ff17e" > UseBlockSparseIndices< / a > (< span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_shape.html" > Shape< / a > & indices_shape, int32_t* indices_data);< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00576" name = "l00576" > < / a > < span class = "lineno" > 576< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00577" name = "l00577" > < / a > < span class = "lineno" > 577< / span > < span class = "preprocessor" > #endif < / span > < span class = "comment" > // !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00578" name = "l00578" > < / a > < span class = "lineno" > 578< / span > < / div >
< div class = "line" > < a id = "l00579" name = "l00579" > < / a > < span class = "lineno" > 579< / span > < span class = "comment" > // \brief Wraps OrtApi::CreateTensorAsOrtValue< / span > < / div >
< div class = "line" > < a id = "l00580" name = "l00580" > < / a > < span class = "lineno" > 580< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00581" name = "l00581" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#acacfe668acf9b55ffcd9d375c7f32053" > 581< / 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 = "l00582" name = "l00582" > < / a > < span class = "lineno" > 582< / span > < span class = "comment" > // \brief Wraps OrtApi::CreateTensorAsOrtValue< / span > < / div >
< div class = "line" > < a id = "l00583" name = "l00583" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a5d35080239ae47cdbc9e505666dc32ec" > 583< / 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 = "l00584" name = "l00584" > < / a > < span class = "lineno" > 584< / span > < / div >
< div class = "line" > < a id = "l00585" name = "l00585" > < / a > < span class = "lineno" > 585< / span > < span class = "preprocessor" > #if !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00595" name = "l00595" > < / a > < span class = "lineno" > 595< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00596" name = "l00596" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a560452c9940a9756089e42d767932e46" > 596< / 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_1_value_1_1_shape.html" > Shape< / a > & dense_shape);< / div >
< div class = "line" > < a id = "l00597" name = "l00597" > < / a > < span class = "lineno" > 597< / span > < / div >
< div class = "line" > < a id = "l00609" name = "l00609" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a15ae05c786194af9ba2e541a91233b2f" > 609< / 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_1_value_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 = "l00610" name = "l00610" > < / a > < span class = "lineno" > 610< / span > < / div >
< div class = "line" > < a id = "l00620" name = "l00620" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#aa938f89369a0754d673d57c30ca15a07" > 620< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#aa938f89369a0754d673d57c30ca15a07" > 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_1_value_1_1_ort_sparse_values_param.html" > OrtSparseValuesParam< / a > & values_param,< / div >
< div class = "line" > < a id = "l00621" name = "l00621" > < / a > < span class = "lineno" > 621< / span > < span class = "keyword" > const< / span > int64_t* indices_data, < span class = "keywordtype" > size_t< / span > indices_num);< / div >
< div class = "line" > < a id = "l00622" name = "l00622" > < / a > < span class = "lineno" > 622< / span > < / div >
< div class = "line" > < a id = "l00634" name = "l00634" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#adb67431539beec2b8229be2924ff0cc6" > 634< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#adb67431539beec2b8229be2924ff0cc6" > 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 = "l00635" name = "l00635" > < / a > < span class = "lineno" > 635< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html" > OrtSparseValuesParam< / a > & values,< / div >
< div class = "line" > < a id = "l00636" name = "l00636" > < / a > < span class = "lineno" > 636< / 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 = "l00637" name = "l00637" > < / a > < span class = "lineno" > 637< / 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 = "l00638" name = "l00638" > < / a > < span class = "lineno" > 638< / span > < / div >
< div class = "line" > < a id = "l00648" name = "l00648" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a969cce2f5429f038ffe9662538e484b5" > 648< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a969cce2f5429f038ffe9662538e484b5" > 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 = "l00649" name = "l00649" > < / a > < span class = "lineno" > 649< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html" > OrtSparseValuesParam< / a > & values,< / div >
< div class = "line" > < a id = "l00650" name = "l00650" > < / a > < span class = "lineno" > 650< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_value_1_1_shape.html" > Shape< / a > & indices_shape,< / div >
< div class = "line" > < a id = "l00651" name = "l00651" > < / a > < span class = "lineno" > 651< / span > < span class = "keyword" > const< / span > int32_t* indices_data);< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00652" name = "l00652" > < / a > < span class = "lineno" > 652< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00659" name = "l00659" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#afb0f62eb042c6bf25f023331fbf821f1" > 659< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#gaba2697542109e4ab6b24a8fbb847812d" > OrtSparseFormat< / a > < a class = "code hl_function" href = "struct_ort_1_1_value.html#afb0f62eb042c6bf25f023331fbf821f1" > GetSparseFormat< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00660" name = "l00660" > < / a > < span class = "lineno" > 660< / span > < / div >
< div class = "line" > < a id = "l00666" name = "l00666" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a8c671843b4a34071311d7d5ce7af38d9" > 666< / 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_1_value.html#a8c671843b4a34071311d7d5ce7af38d9" > GetSparseTensorValuesTypeAndShapeInfo< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00667" name = "l00667" > < / a > < span class = "lineno" > 667< / span > < / div >
< div class = "line" > < a id = "l00675" name = "l00675" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a6fafbe9098011d60978cfe9f7c9b7083" > 675< / 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_1_value.html#a6fafbe9098011d60978cfe9f7c9b7083" > 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 = "l00676" name = "l00676" > < / a > < span class = "lineno" > 676< / span > < / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00686" name = "l00686" > < / a > < span class = "lineno" > 686< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00687" name = "l00687" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a0eaf1f9f96f18194ead77ee855698503" > 687< / a > < / span > < span class = "keyword" > const< / span > T* < a class = "code hl_function" href = "struct_ort_1_1_value.html#a0eaf1f9f96f18194ead77ee855698503" > 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00688" name = "l00688" > < / a > < span class = "lineno" > 688< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00689" name = "l00689" > < / a > < span class = "lineno" > 689< / span > < span class = "preprocessor" > #endif < / span > < span class = "comment" > // !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00690" name = "l00690" > < / a > < span class = "lineno" > 690< / span > < / div >
< div class = "line" > < a id = "l00691" name = "l00691" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a028498f12d19f373b7479abe8a4a8b75" > 691< / 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 = "l00692" name = "l00692" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#ad4ca9c86f4996e9490e7e9de960f7afc" > 692< / 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 = "l00693" name = "l00693" > < / a > < span class = "lineno" > 693< / span > < / div >
< div class = "line" > < a id = "l00694" name = "l00694" > < / a > < span class = "lineno" > 694< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00695" name = "l00695" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#aba8bad055b8cdaa1fb57f9aba9e6773e" > 695< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00696" name = "l00696" > < / a > < span class = "lineno" > 696< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00697" name = "l00697" > < / a > < span class = "lineno" > 697< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00698" name = "l00698" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#af8813a399df6e6576923c1c40d39c67e" > 698< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#af8813a399df6e6576923c1c40d39c67e" > 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, T& ) < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00699" name = "l00699" > < / a > < span class = "lineno" > 699< / span > < / div >
< div class = "line" > < a id = "l00700" name = "l00700" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a233d9a9878a69295ad504ea2b22b4d1f" > 700< / 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 = "l00701" name = "l00701" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a4e744a54c1fe6c477cccbe33b580fe3b" > 701< / 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_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#gaab167acf3fe9dabc0195b993fbe7ee7d" > OrtValue< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00702" name = "l00702" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a1b7884f57758a06ca3b1203fcff98a08" > 702< / 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 = "l00703" name = "l00703" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a14ce9c0a1b41a61eb0f94bc9070539eb" > 703< / 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 = "l00704" name = "l00704" > < / a > < span class = "lineno" > 704< / span > < / div >
< div class = "line" > < a id = "l00705" name = "l00705" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a2df13bf81010090da46eee36c4a9b5a4" > 705< / a > < / span > < span class = "keywordtype" > bool< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a2df13bf81010090da46eee36c4a9b5a4" > IsTensor< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00706" name = "l00706" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#acf4d6700f1e1d961b02a39c2a43689ad" > 706< / a > < / span > < span class = "keywordtype" > bool< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#acf4d6700f1e1d961b02a39c2a43689ad" > HasValue< / a > () < 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 = "l00708" name = "l00708" > < / a > < span class = "lineno" > 708< / span > < span class = "preprocessor" > #if !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00713" name = "l00713" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a6db197c9c78aafe5b1a6f4e1e5d743dc" > 713< / a > < / span > < span class = "keywordtype" > bool< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a6db197c9c78aafe5b1a6f4e1e5d743dc" > IsSparseTensor< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00714" name = "l00714" > < / a > < span class = "lineno" > 714< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00715" name = "l00715" > < / a > < span class = "lineno" > 715< / span > < / div >
< div class = "line" > < a id = "l00716" name = "l00716" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a67248a12bf88d9093c18f719cf45b934" > 716< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a67248a12bf88d9093c18f719cf45b934" > 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 = "l00717" name = "l00717" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#ac1dd63c5d27e40ef9836f276a8b94dec" > 717< / 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#ac1dd63c5d27e40ef9836f276a8b94dec" > 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 = "l00718" name = "l00718" > < / a > < span class = "lineno" > 718< / span > < / div >
< div class = "line" > < a id = "l00725" name = "l00725" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#afd9c45362170384c33eccdbf1ab1fa87" > 725< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#afd9c45362170384c33eccdbf1ab1fa87" > GetStringTensorDataLength< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00726" name = "l00726" > < / a > < span class = "lineno" > 726< / span > < / div >
< div class = "line" > < a id = "l00741" name = "l00741" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a50a029dee567f88be916994cc14da4b3" > 741< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a50a029dee567f88be916994cc14da4b3" > 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 = "l00742" name = "l00742" > < / a > < span class = "lineno" > 742< / span > < / div >
< div class = "line" > < a id = "l00743" name = "l00743" > < / a > < span class = "lineno" > 743< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00744" name = "l00744" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a008fc5074d15a9af5a971de7dd8834ac" > 744< / a > < / span > T* < a class = "code hl_function" href = "struct_ort_1_1_value.html#a008fc5074d15a9af5a971de7dd8834ac" > GetTensorMutableData< / a > (); < / div >
< div class = "line" > < a id = "l00745" name = "l00745" > < / a > < span class = "lineno" > 745< / span > < / div >
< div class = "line" > < a id = "l00746" name = "l00746" > < / a > < span class = "lineno" > 746< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00747" name = "l00747" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a35c4cc546773ba410659bb67ea5a6c10" > 747< / a > < / span > < span class = "keyword" > const< / span > T* < a class = "code hl_function" href = "struct_ort_1_1_value.html#a35c4cc546773ba410659bb67ea5a6c10" > GetTensorData< / a > () < span class = "keyword" > const< / span > ; < / div >
< div class = "line" > < a id = "l00748" name = "l00748" > < / a > < span class = "lineno" > 748< / span > < / div >
< div class = "line" > < a id = "l00749" name = "l00749" > < / a > < span class = "lineno" > 749< / span > < span class = "preprocessor" > #if !defined(DISABLE_SPARSE_TENSORS)< / span > < / div >
< div class = "line" > < a id = "l00758" name = "l00758" > < / a > < span class = "lineno" > 758< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00759" name = "l00759" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#af6f22b4c04a4b8182bf0b3c1da334c84" > 759< / a > < / span > < span class = "keyword" > const< / span > T* < a class = "code hl_function" href = "struct_ort_1_1_value.html#af6f22b4c04a4b8182bf0b3c1da334c84" > GetSparseTensorValues< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00760" name = "l00760" > < / a > < span class = "lineno" > 760< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00761" name = "l00761" > < / a > < span class = "lineno" > 761< / span > < / div >
< div class = "line" > < a id = "l00762" name = "l00762" > < / a > < span class = "lineno" > 762< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00763" name = "l00763" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a9823fe23891528c075f2d5ddc4b45efc" > 763< / a > < / span > T& < a class = "code hl_function" href = "struct_ort_1_1_value.html#a9823fe23891528c075f2d5ddc4b45efc" > At< / a > (< span class = "keyword" > const< / span > std::vector< int64_t> & location);< / div >
< div class = "line" > < a id = "l00764" name = "l00764" > < / a > < span class = "lineno" > 764< / span > < / div >
< div class = "line" > < a id = "l00771" name = "l00771" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a9a568ff40447e756b3a62ec7c903b45e" > 771< / 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_1_value.html#a9a568ff40447e756b3a62ec7c903b45e" > GetTypeInfo< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00772" name = "l00772" > < / a > < span class = "lineno" > 772< / span > < / div >
< div class = "line" > < a id = "l00779" name = "l00779" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a3fe6e43ecc5679d3e547183f36248c9d" > 779< / 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_1_value.html#a3fe6e43ecc5679d3e547183f36248c9d" > GetTensorTypeAndShapeInfo< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00780" name = "l00780" > < / a > < span class = "lineno" > 780< / span > < / div >
< div class = "line" > < a id = "l00787" name = "l00787" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a759a2a4e0c3c37dd0d164e60ce3ae301" > 787< / a > < / span > < span class = "keywordtype" > size_t< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a759a2a4e0c3c37dd0d164e60ce3ae301" > GetStringTensorElementLength< / a > (< span class = "keywordtype" > size_t< / span > element_index) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00788" name = "l00788" > < / a > < span class = "lineno" > 788< / span > < / div >
< div class = "line" > < a id = "l00797" name = "l00797" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#ad50d9f9c09d7305d37b51b9dc71001c3" > 797< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#ad50d9f9c09d7305d37b51b9dc71001c3" > 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 = "l00798" name = "l00798" > < / a > < span class = "lineno" > 798< / span > < / div >
< div class = "line" > < a id = "l00799" name = "l00799" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#a939aa860fb784dd7a2d47bdd8eecb294" > 799< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#a939aa860fb784dd7a2d47bdd8eecb294" > 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 = "l00800" name = "l00800" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_value.html#ae733e1a8c0bfbb7667f5ce1a2db90d17" > 800< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_value.html#ae733e1a8c0bfbb7667f5ce1a2db90d17" > 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 = "l00801" name = "l00801" > < / a > < span class = "lineno" > 801< / span > };< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00802" name = "l00802" > < / a > < span class = "lineno" > 802< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00803" name = "l00803" > < / a > < span class = "lineno" > 803< / span > < span class = "comment" > // Represents native memory allocation< / span > < / div >
< div class = "line" > < a id = "l00804" name = "l00804" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html" > 804< / 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 = "l00805" name = "l00805" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#ad452330302589764f470e18d50ea99cc" > 805< / 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 = "l00806" name = "l00806" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#a668c96690c510873dd2a66b3d2819405" > 806< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_memory_allocation.html#a668c96690c510873dd2a66b3d2819405" > ~MemoryAllocation< / a > ();< / div >
< div class = "line" > < a id = "l00807" name = "l00807" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#a9f1fccffe728b743aaf5de046f45b3ae" > 807< / 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 = "l00808" name = "l00808" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#a0ab8a17a34f5db87320088c4ad0081f4" > 808< / 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 = "l00809" name = "l00809" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#a07e6b48d0ceba7fd7498c1e441ec87a9" > 809< / 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 = "l00810" name = "l00810" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#aef9695cd978aa505546ef46c98e32894" > 810< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00811" name = "l00811" > < / a > < span class = "lineno" > 811< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00812" name = "l00812" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#a42a142a6fb7abd3fa8ca04332cf924d6" > 812< / 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 = "l00813" name = "l00813" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_allocation.html#aedec2ec4928b1a6c7dbfd0d33dc87caf" > 813< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00814" name = "l00814" > < / a > < span class = "lineno" > 814< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00815" name = "l00815" > < / a > < span class = "lineno" > 815< / span > < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a id = "l00816" name = "l00816" > < / a > < span class = "lineno" > 816< / span > < a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > * allocator_;< / div >
< div class = "line" > < a id = "l00817" name = "l00817" > < / a > < span class = "lineno" > 817< / span > < span class = "keywordtype" > void< / span > * p_;< / div >
< div class = "line" > < a id = "l00818" name = "l00818" > < / a > < span class = "lineno" > 818< / span > < span class = "keywordtype" > size_t< / span > size_;< / div >
< div class = "line" > < a id = "l00819" name = "l00819" > < / a > < span class = "lineno" > 819< / span > };< / div >
< div class = "line" > < a id = "l00820" name = "l00820" > < / a > < span class = "lineno" > 820< / span > < / div >
< div class = "line" > < a id = "l00821" name = "l00821" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html" > 821< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_allocator_with_default_options.html" > AllocatorWithDefaultOptions< / a > {< / div >
< div class = "line" > < a id = "l00822" name = "l00822" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#ad25e08123ae46e2202996d121e7d29e7" > 822< / 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 = "l00823" name = "l00823" > < / a > < span class = "lineno" > 823< / span > < / div >
< div class = "line" > < a id = "l00824" name = "l00824" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#a4371a69330393bcba337999260d61cf6" > 824< / a > < / span > < span class = "keyword" > operator< / span > < a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > *() { < span class = "keywordflow" > return< / span > p_; }< / div >
< div class = "line" > < a id = "l00825" name = "l00825" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#aa4fdf1e377e934d933404ea279d8e60c" > 825< / a > < / span > < span class = "keyword" > operator< / span > < span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > *() < span class = "keyword" > const< / span > { < span class = "keywordflow" > return< / span > p_; }< / 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" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#aaf5cfa706c5aacf878a4a1369e846093" > 827< / a > < / span > < span class = "keywordtype" > void< / span > * < a class = "code hl_function" href = "struct_ort_1_1_allocator_with_default_options.html#aaf5cfa706c5aacf878a4a1369e846093" > Alloc< / a > (< span class = "keywordtype" > size_t< / span > size);< / div >
< div class = "line" > < a id = "l00828" name = "l00828" > < / a > < span class = "lineno" > 828< / span > < span class = "comment" > // The return value will own the allocation< / span > < / div >
< div class = "line" > < a id = "l00829" name = "l00829" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#ae0e766405387de258a31cf9d2fd34887" > 829< / 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_allocator_with_default_options.html#ae0e766405387de258a31cf9d2fd34887" > GetAllocation< / a > (< span class = "keywordtype" > size_t< / span > size);< / div >
< div class = "line" > < a id = "l00830" name = "l00830" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#a47be218f8f1d90c72197d55b0263015e" > 830< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_allocator_with_default_options.html#a47be218f8f1d90c72197d55b0263015e" > Free< / a > (< span class = "keywordtype" > void< / span > * p);< / div >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00831" name = "l00831" > < / a > < span class = "lineno" > 831< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00832" name = "l00832" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator_with_default_options.html#a3fc2425246addedd47ba028309bb1cc5" > 832< / a > < / 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_allocator_with_default_options.html#a3fc2425246addedd47ba028309bb1cc5" > GetInfo< / a > () < span class = "keyword" > const< / span > ;< / 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" > 834< / span > < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a id = "l00835" name = "l00835" > < / a > < span class = "lineno" > 835< / span > < a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > * p_{};< / 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" > 837< / span > < / div >
< div class = "line" > < a id = "l00838" name = "l00838" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html" > 838< / 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_1_base.html" > Base< / a > < OrtMemoryInfo> {< / div >
< div class = "line" > < a id = "l00839" name = "l00839" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a6aba847b75d4d939b825d8a8d291f1e7" > 839< / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00840" name = "l00840" > < / a > < span class = "lineno" > 840< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00841" name = "l00841" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a4f517caf94801d72a8a0dc306e78747b" > 841< / 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 = "l00842" name = "l00842" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a64f805cacefdefa63148156e816f1c0d" > 842< / 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) : < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < < a class = "code hl_typedef" href = "group___global.html#ga088f45e429651ac29b4a9efb4d88571a" > OrtMemoryInfo< / a > > {p} {} < / div >
< div class = "line" > < a id = "l00843" name = "l00843" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a3ace49fabf70f845f9f9747d913a8aff" > 843< / 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 = "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_1_memory_info.html#a7656cad8ec7a5fefbecacd071e6af161" > 845< / a > < / span > std::string < a class = "code hl_function" href = "struct_ort_1_1_memory_info.html#a7656cad8ec7a5fefbecacd071e6af161" > GetAllocatorName< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00846" name = "l00846" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a20ca087c345fe6df1ffd26274211ad47" > 846< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#ga5b765504a386db304d59e999de9bd1d6" > OrtAllocatorType< / a > < a class = "code hl_function" href = "struct_ort_1_1_memory_info.html#a20ca087c345fe6df1ffd26274211ad47" > GetAllocatorType< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00847" name = "l00847" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#aa6461605bc76e446422a64fde8e36ecf" > 847< / a > < / span > < span class = "keywordtype" > int< / span > < a class = "code hl_function" href = "struct_ort_1_1_memory_info.html#aa6461605bc76e446422a64fde8e36ecf" > GetDeviceId< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00848" name = "l00848" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_memory_info.html#ad9359ba8398929e1475ef03405134ca8" > 848< / a > < / span > < a class = "code hl_enumeration" href = "group___global.html#gab7805016f4b26871e899a3cf4114ee0d" > OrtMemType< / a > < a class = "code hl_function" href = "struct_ort_1_1_memory_info.html#ad9359ba8398929e1475ef03405134ca8" > GetMemoryType< / a > () < span class = "keyword" > const< / 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" > < a class = "line" href = "struct_ort_1_1_memory_info.html#a963dcc5e07579bf15e6c98c46807bd64" > 850< / a > < / span > < span class = "keywordtype" > bool< / span > < a class = "code hl_function" href = "struct_ort_1_1_memory_info.html#a963dcc5e07579bf15e6c98c46807bd64" > operator==< / a > (< span class = "keyword" > const< / span > < a class = "code hl_struct" href = "struct_ort_1_1_memory_info.html" > MemoryInfo< / a > & o) < span class = "keyword" > const< / 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" > 852< / span > < / div >
< div class = "line" > < a id = "l00853" name = "l00853" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html" > 853< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_allocator.html" > Allocator< / a > : < span class = "keyword" > public< / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < OrtAllocator> {< / div >
< div class = "line" > < a id = "l00854" name = "l00854" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html#af4b20c5ca170d5468cd595a8db380baa" > 854< / a > < / span > < a class = "code hl_function" href = "struct_ort_1_1_allocator.html#af4b20c5ca170d5468cd595a8db380baa" > 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_struct" href = "struct_ort_1_1_memory_info.html" > MemoryInfo< / a > & );< / div >
< div class = "line" > < a id = "l00855" name = "l00855" > < / a > < span class = "lineno" > 855< / span > < / div >
< div class = "line" > < a id = "l00856" name = "l00856" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html#a7788c9fedefbe00dc1c5fdd7dba7175c" > 856< / a > < / span > < span class = "keywordtype" > void< / span > * < a class = "code hl_function" href = "struct_ort_1_1_allocator.html#a7788c9fedefbe00dc1c5fdd7dba7175c" > Alloc< / a > (< span class = "keywordtype" > size_t< / span > size) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00857" name = "l00857" > < / a > < span class = "lineno" > 857< / span > < span class = "comment" > // The return value will own the allocation< / span > < / div >
< div class = "line" > < a id = "l00858" name = "l00858" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html#a437ec9ce865838c48dde3c3b99b904f7" > 858< / 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_allocator.html#a437ec9ce865838c48dde3c3b99b904f7" > GetAllocation< / a > (< span class = "keywordtype" > size_t< / span > size);< / div >
< div class = "line" > < a id = "l00859" name = "l00859" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html#a1176635d8fef8c846cd54d971dd2dfbb" > 859< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_allocator.html#a1176635d8fef8c846cd54d971dd2dfbb" > Free< / a > (< span class = "keywordtype" > void< / span > * p) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00860" name = "l00860" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_allocator.html#a9ce5425dab3b2dfb51855f101201e407" > 860< / a > < / span > < a class = "code hl_struct" href = "struct_ort_1_1_unowned.html" > Unowned< const MemoryInfo> < / a > < a class = "code hl_function" href = "struct_ort_1_1_allocator.html#a9ce5425dab3b2dfb51855f101201e407" > GetInfo< / a > () < span class = "keyword" > const< / span > ;< / 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" > < a class = "line" href = "struct_ort_1_1_io_binding.html" > 863< / a > < / span > < span class = "keyword" > struct < / span > < a class = "code hl_struct" href = "struct_ort_1_1_io_binding.html" > IoBinding< / a > : < span class = "keyword" > public< / span > < a class = "code hl_struct" href = "struct_ort_1_1_base.html" > Base< / a > < OrtIoBinding> {< / div >
< div class = "line" > < a id = "l00864" name = "l00864" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#aeae142c9f100a5f34c29fbdecde58cf4" > 864< / 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 = "l00865" name = "l00865" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a1b16bf337c9ea690329f8a2ecb61c9a7" > 865< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a1b16bf337c9ea690329f8a2ecb61c9a7" > 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 = "l00866" name = "l00866" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#ae3066c54eeab959922e88435f3762c2b" > 866< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#ae3066c54eeab959922e88435f3762c2b" > 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 = "l00867" name = "l00867" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#abea31b388fe8e702f6290cee7c7bd9d9" > 867< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#abea31b388fe8e702f6290cee7c7bd9d9" > 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_memory_info.html" > MemoryInfo< / a > & );< / div >
< div class = "line" > < a id = "l00868" name = "l00868" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a74dd1e588e1fa13259823549ac4dd71b" > 868< / a > < / span > std::vector< std::string> < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a74dd1e588e1fa13259823549ac4dd71b" > GetOutputNames< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00869" name = "l00869" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a95c306e1e6682e7462669f477ff4f65b" > 869< / a > < / span > std::vector< std::string> < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a95c306e1e6682e7462669f477ff4f65b" > GetOutputNames< / a > (< a class = "code hl_struct" href = "struct_ort_1_1_allocator.html" > Allocator< / a > & ) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00870" name = "l00870" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a32f4ebbfc39913bb89afe7bf9af9c652" > 870< / a > < / span > std::vector< Value> < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a32f4ebbfc39913bb89afe7bf9af9c652" > GetOutputValues< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00871" name = "l00871" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a8cbf585065d10b9b2ad920b802c4b083" > 871< / a > < / span > std::vector< Value> < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a8cbf585065d10b9b2ad920b802c4b083" > GetOutputValues< / a > (< a class = "code hl_struct" href = "struct_ort_1_1_allocator.html" > Allocator< / a > & ) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00872" name = "l00872" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#ade0e30c3727bf1eb4ccc8952fd8265ca" > 872< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#ade0e30c3727bf1eb4ccc8952fd8265ca" > ClearBoundInputs< / a > ();< / div >
< div class = "line" > < a id = "l00873" name = "l00873" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#ad4daf2e07456fd68ae0c8d4dcf4e8357" > 873< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#ad4daf2e07456fd68ae0c8d4dcf4e8357" > ClearBoundOutputs< / a > ();< / div >
< div class = "line" > < a id = "l00874" name = "l00874" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#ad6696497b21831e2539dfb9ddac3ec31" > 874< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#ad6696497b21831e2539dfb9ddac3ec31" > SynchronizeInputs< / a > ();< / div >
< div class = "line" > < a id = "l00875" name = "l00875" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_io_binding.html#a6690ef71a4a3590203f0dba03fbdaa4b" > 875< / a > < / span > < span class = "keywordtype" > void< / span > < a class = "code hl_function" href = "struct_ort_1_1_io_binding.html#a6690ef71a4a3590203f0dba03fbdaa4b" > SynchronizeOutputs< / a > ();< / div >
< div class = "line" > < a id = "l00876" name = "l00876" > < / a > < span class = "lineno" > 876< / span > < / div >
< div class = "line" > < a id = "l00877" name = "l00877" > < / a > < span class = "lineno" > 877< / span > < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a id = "l00878" name = "l00878" > < / a > < span class = "lineno" > 878< / span > std::vector< std::string> GetOutputNamesHelper(< a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > *) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00879" name = "l00879" > < / a > < span class = "lineno" > 879< / span > std::vector< Value> GetOutputValuesHelper(< a class = "code hl_struct" href = "struct_ort_allocator.html" > OrtAllocator< / a > *) < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a id = "l00880" name = "l00880" > < / a > < span class = "lineno" > 880< / span > };< / div >
< div class = "line" > < a id = "l00881" name = "l00881" > < / a > < span class = "lineno" > 881< / span > < / div >
< div class = "line" > < a id = "l00886" name = "l00886" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_arena_cfg.html" > 886< / 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_1_base.html" > Base< / a > < OrtArenaCfg> {< / div >
< div class = "line" > < a id = "l00887" name = "l00887" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_arena_cfg.html#a1c6f844ba4da1cbdaf64978c18883390" > 887< / 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 = "l00896" name = "l00896" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_arena_cfg.html#af5984643b2ec4748e45df6e50b9f2720" > 896< / 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 = "l00897" name = "l00897" > < / a > < span class = "lineno" > 897< / span > };< / div >
< div class = "line" > < a id = "l00898" name = "l00898" > < / a > < span class = "lineno" > 898< / span > < / div >
< div class = "line" > < a id = "l00899" name = "l00899" > < / a > < span class = "lineno" > 899< / span > < span class = "comment" > //< / span > < / div >
< div class = "line" > < a id = "l00900" name = "l00900" > < / a > < span class = "lineno" > 900< / span > < span class = "comment" > // Custom OPs (only needed to implement custom OPs)< / span > < / div >
< div class = "line" > < a id = "l00901" name = "l00901" > < / a > < span class = "lineno" > 901< / span > < span class = "comment" > //< / span > < / div >
< div class = "line" > < a id = "l00902" name = "l00902" > < / a > < span class = "lineno" > 902< / span > < / div >
< div class = "line" > < a id = "l00903" name = "l00903" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html" > 903< / 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 = "l00904" name = "l00904" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#abf028f27de7ac28bf78d89917dfe56b9" > 904< / 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 = "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" > 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 = "l00907" name = "l00907" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a47632080bea3d198cc8036e6c57a9288" > 907< / a > < / 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 = "l00908" name = "l00908" > < / a > < span class = "lineno" > 908< / span > < / div >
< div class = "line" > < a id = "l00909" name = "l00909" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a4bac2252005fbe045acb35090a545a3d" > 909< / a > < / 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 = "l00910" name = "l00910" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a769b23926ee250807eda73df88746bc9" > 910< / a > < / 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 = "l00911" name = "l00911" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a880d0346b32ddada9c42dad22898ee20" > 911< / a > < / 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 = "l00912" name = "l00912" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a09e1878a345d126e64b59e193fc06050" > 912< / a > < / 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 = "l00913" name = "l00913" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a53dbeeb8fba97a7c5c1e5a97a8f1978a" > 913< / a > < / 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 = "l00914" name = "l00914" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#ad5fd03a24b54f6a42dc1660499d789e1" > 914< / a > < / 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 = "l00915" name = "l00915" > < / a > < span class = "lineno" > 915< / span > < / div >
< div class = "line" > < a id = "l00916" name = "l00916" > < / a > < span class = "lineno" > 916< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00917" name = "l00917" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#af9e61c4eb4c8f906b0e82671913e1980" > 917< / a > < / 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 = "l00918" name = "l00918" > < / a > < span class = "lineno" > 918< / span > < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a id = "l00919" name = "l00919" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#afd1a695491b0cd72147170e6ff28ef61" > 919< / a > < / 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 = "l00920" name = "l00920" > < / a > < span class = "lineno" > 920< / span > < / div >
< div class = "line" > < a id = "l00921" name = "l00921" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#afb1a70a3d307af25e828b35bcf5f04b8" > 921< / a > < / 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 >
2021-09-17 00:09:25 +00:00
< div class = "line" > < a id = "l00922" name = "l00922" > < / a > < span class = "lineno" > 922< / span > < / div >
2022-01-08 00:25:57 +00:00
< div class = "line" > < a id = "l00923" name = "l00923" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a4c60b4f47540791b366228dd6f790a7c" > 923< / a > < / 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 = "l00924" name = "l00924" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a42981ee288830f4b60683bbd4a21627d" > 924< / a > < / 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 = "l00925" name = "l00925" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a17348789cfde3e1a93bf1e2af67c183e" > 925< / a > < / 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 = "l00926" name = "l00926" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#afa21769ea0c1dca10da330d4d4544baa" > 926< / a > < / 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 = "l00927" name = "l00927" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a015cb844d1127a400228c2756892d453" > 927< / a > < / 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 = "l00928" name = "l00928" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a3ee901b1e84cc4c47221dc230d357b66" > 928< / a > < / 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 = "l00929" name = "l00929" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a0bb133692d307824f5da57019963d4a2" > 929< / a > < / 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 = "l00930" name = "l00930" > < / a > < span class = "lineno" > 930< / span > < / div >
< div class = "line" > < a id = "l00931" name = "l00931" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_api.html#a5e6b792b3e87a2c4fcf79d9e8bf3773c" > 931< / a > < / 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 = "l00932" name = "l00932" > < / a > < span class = "lineno" > 932< / span > < / div >
< div class = "line" > < a id = "l00933" name = "l00933" > < / a > < span class = "lineno" > 933< / span > < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a id = "l00934" name = "l00934" > < / a > < span class = "lineno" > 934< / 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 = "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" > template< / span > < < span class = "keyword" > typename< / span > TOp, < span class = "keyword" > typename< / span > TKernel> < / div >
< div class = "line" > < a id = "l00938" name = "l00938" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_base.html" > 938< / 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 = "l00939" name = "l00939" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_base.html#a341d9bd1288f0a0629c4c4dbf53d2b05" > 939< / 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 = "l00940" name = "l00940" > < / a > < span class = "lineno" > 940< / 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 = "l00941" name = "l00941" > < / a > < span class = "lineno" > 941< / 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 = "l00942" name = "l00942" > < / a > < span class = "lineno" > 942< / 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 = "l00943" name = "l00943" > < / a > < span class = "lineno" > 943< / span > < / div >
< div class = "line" > < a id = "l00944" name = "l00944" > < / a > < span class = "lineno" > 944< / 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 = "l00945" name = "l00945" > < / a > < span class = "lineno" > 945< / span > < / div >
< div class = "line" > < a id = "l00946" name = "l00946" > < / a > < span class = "lineno" > 946< / 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 = "l00947" name = "l00947" > < / a > < span class = "lineno" > 947< / 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 = "l00948" name = "l00948" > < / a > < span class = "lineno" > 948< / span > < / div >
< div class = "line" > < a id = "l00949" name = "l00949" > < / a > < span class = "lineno" > 949< / 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 = "l00950" name = "l00950" > < / a > < span class = "lineno" > 950< / 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 = "l00951" name = "l00951" > < / a > < span class = "lineno" > 951< / span > < / div >
< div class = "line" > < a id = "l00952" name = "l00952" > < / a > < span class = "lineno" > 952< / 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 = "l00953" name = "l00953" > < / a > < span class = "lineno" > 953< / span > < span class = "preprocessor" > #if defined(_MSC_VER) & & !defined(__clang__)< / span > < / div >
< div class = "line" > < a id = "l00954" name = "l00954" > < / a > < span class = "lineno" > 954< / span > < span class = "preprocessor" > #pragma warning(push)< / span > < / div >
< div class = "line" > < a id = "l00955" name = "l00955" > < / a > < span class = "lineno" > 955< / span > < span class = "preprocessor" > #pragma warning(disable : 26409)< / span > < / div >
< div class = "line" > < a id = "l00956" name = "l00956" > < / a > < span class = "lineno" > 956< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00957" name = "l00957" > < / a > < span class = "lineno" > 957< / 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 = "l00958" name = "l00958" > < / a > < span class = "lineno" > 958< / span > < span class = "preprocessor" > #if defined(_MSC_VER) & & !defined(__clang__)< / span > < / div >
< div class = "line" > < a id = "l00959" name = "l00959" > < / a > < span class = "lineno" > 959< / span > < span class = "preprocessor" > #pragma warning(pop)< / span > < / div >
< div class = "line" > < a id = "l00960" name = "l00960" > < / a > < span class = "lineno" > 960< / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a id = "l00961" name = "l00961" > < / a > < span class = "lineno" > 961< / 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 = "l00962" name = "l00962" > < / a > < span class = "lineno" > 962< / 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 = "l00963" name = "l00963" > < / a > < span class = "lineno" > 963< / span > }< / div >
< div class = "line" > < a id = "l00964" name = "l00964" > < / a > < span class = "lineno" > 964< / span > < / div >
< div class = "line" > < a id = "l00965" name = "l00965" > < / a > < span class = "lineno" > 965< / span > < span class = "comment" > // Default implementation of GetExecutionProviderType that returns nullptr to default to the CPU provider< / span > < / div >
< div class = "line" > < a id = "l00966" name = "l00966" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_base.html#a858ecd6400a9e8e4ee8781fb2d25d64d" > 966< / 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 = "l00967" name = "l00967" > < / a > < span class = "lineno" > 967< / span > < / div >
< div class = "line" > < a id = "l00968" name = "l00968" > < / a > < span class = "lineno" > 968< / span > < span class = "comment" > // Default implementations of GetInputCharacteristic() and GetOutputCharacteristic() below< / span > < / div >
< div class = "line" > < a id = "l00969" name = "l00969" > < / a > < span class = "lineno" > 969< / span > < span class = "comment" > // (inputs and outputs are required by default)< / span > < / div >
< div class = "line" > < a id = "l00970" name = "l00970" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_base.html#aae85f833c3ecfbaa72ccdff8583b7643" > 970< / 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 = "l00971" name = "l00971" > < / a > < span class = "lineno" > 971< / span > < span class = "keywordflow" > return< / span > < a class = "code hl_enumvalue" href = "group___global.html#gga316232eea9d4ddeab0d18752f5084c06acb253c35506131993553c30d6eaeaf5d" > OrtCustomOpInputOutputCharacteristic::INPUT_OUTPUT_REQUIRED< / a > ;< / 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" > 973< / span > < / div >
< div class = "line" > < a id = "l00974" name = "l00974" > < / a > < span class = "lineno" > < a class = "line" href = "struct_ort_1_1_custom_op_base.html#a1b2e0ec89870c94a520d2fc898cee701" > 974< / 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 = "l00975" name = "l00975" > < / a > < span class = "lineno" > 975< / span > < span class = "keywordflow" > return< / span > < a class = "code hl_enumvalue" href = "group___global.html#gga316232eea9d4ddeab0d18752f5084c06acb253c35506131993553c30d6eaeaf5d" > OrtCustomOpInputOutputCharacteristic::INPUT_OUTPUT_REQUIRED< / a > ;< / div >
< div class = "line" > < a id = "l00976" name = "l00976" > < / a > < span class = "lineno" > 976< / span > }< / div >
< div class = "line" > < a id = "l00977" name = "l00977" > < / a > < span class = "lineno" > 977< / span > };< / div >
< div class = "line" > < a id = "l00978" name = "l00978" > < / a > < span class = "lineno" > 978< / span > < / div >
< div class = "line" > < a id = "l00979" name = "l00979" > < / a > < span class = "lineno" > 979< / span > } < span class = "comment" > // namespace Ort< / span > < / div >
< div class = "line" > < a id = "l00980" name = "l00980" > < / a > < span class = "lineno" > 980< / span > < / div >
< div class = "line" > < a id = "l00981" name = "l00981" > < / a > < span class = "lineno" > 981< / 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:242< / 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:315< / 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_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:280< / 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:554< / 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:3278< / 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:255< / 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:252< / 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:257< / 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:250< / 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:321< / 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:253< / 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:247< / 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:248< / 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:317< / 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:249< / 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:245< / 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:289< / 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:330< / 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:240< / 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:241< / 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:251< / 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:256< / 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:296< / 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:547< / 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 >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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_gga316232eea9d4ddeab0d18752f5084c06acb253c35506131993553c30d6eaeaf5d" > < div class = "ttname" > < a href = "group___global.html#gga316232eea9d4ddeab0d18752f5084c06acb253c35506131993553c30d6eaeaf5d" > INPUT_OUTPUT_REQUIRED< / a > < / div > < div class = "ttdeci" > @ INPUT_OUTPUT_REQUIRED< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_c_api.h:3280< / div > < / div >
< div class = "ttc" id = "agroup___global_html_ggabab5349c294603a9eac437fdafd40a3da736b6fe519254252e655cf37afd258a1" > < div class = "ttname" > < a href = "group___global.html#ggabab5349c294603a9eac437fdafd40a3da736b6fe519254252e655cf37afd258a1" > ORT_FAIL< / a > < / div > < div class = "ttdeci" > @ ORT_FAIL< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_c_api.h:217< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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:33< / 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:80< / div > < / div >
< div class = "ttc" id = "anamespace_ort_html_ab02f1610bce528edcaf1c09ed3630c25" > < div class = "ttname" > < a href = "namespace_ort.html#ab02f1610bce528edcaf1c09ed3630c25" > Ort::OrtRelease< / a > < / div > < div class = "ttdeci" > void OrtRelease(OrtAllocator *ptr)< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:90< / 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 >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:853< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_allocator_html_a1176635d8fef8c846cd54d971dd2dfbb" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator.html#a1176635d8fef8c846cd54d971dd2dfbb" > Ort::Allocator::Free< / a > < / div > < div class = "ttdeci" > void Free(void *p) const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_html_a437ec9ce865838c48dde3c3b99b904f7" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator.html#a437ec9ce865838c48dde3c3b99b904f7" > Ort::Allocator::GetAllocation< / a > < / div > < div class = "ttdeci" > MemoryAllocation GetAllocation(size_t size)< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_html_a7788c9fedefbe00dc1c5fdd7dba7175c" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator.html#a7788c9fedefbe00dc1c5fdd7dba7175c" > Ort::Allocator::Alloc< / a > < / div > < div class = "ttdeci" > void * Alloc(size_t size) const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_html_a9ce5425dab3b2dfb51855f101201e407" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator.html#a9ce5425dab3b2dfb51855f101201e407" > Ort::Allocator::GetInfo< / a > < / div > < div class = "ttdeci" > Unowned< const MemoryInfo > GetInfo() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_html_af4b20c5ca170d5468cd595a8db380baa" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator.html#af4b20c5ca170d5468cd595a8db380baa" > Ort::Allocator::Allocator< / a > < / div > < div class = "ttdeci" > Allocator(const Session & session, const MemoryInfo & )< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:821< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_allocator_with_default_options_html_a3fc2425246addedd47ba028309bb1cc5" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator_with_default_options.html#a3fc2425246addedd47ba028309bb1cc5" > Ort::AllocatorWithDefaultOptions::GetInfo< / a > < / div > < div class = "ttdeci" > const OrtMemoryInfo * GetInfo() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_with_default_options_html_a47be218f8f1d90c72197d55b0263015e" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator_with_default_options.html#a47be218f8f1d90c72197d55b0263015e" > Ort::AllocatorWithDefaultOptions::Free< / a > < / div > < div class = "ttdeci" > void Free(void *p)< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_allocator_with_default_options_html_aaf5cfa706c5aacf878a4a1369e846093" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator_with_default_options.html#aaf5cfa706c5aacf878a4a1369e846093" > Ort::AllocatorWithDefaultOptions::Alloc< / a > < / div > < div class = "ttdeci" > void * Alloc(size_t size)< / 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_allocator_with_default_options_html_ae0e766405387de258a31cf9d2fd34887" > < div class = "ttname" > < a href = "struct_ort_1_1_allocator_with_default_options.html#ae0e766405387de258a31cf9d2fd34887" > Ort::AllocatorWithDefaultOptions::GetAllocation< / a > < / div > < div class = "ttdeci" > MemoryAllocation GetAllocation(size_t size)< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:886< / 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:887< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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:167< / 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:168< / 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:173< / 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:170< / 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:172< / 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:169< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html" > Ort::Base< / a > < / div > < div class = "ttdoc" > Used internally by the C++ API. C++ wrapper types inherit from this.< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:186< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_a2517f75e3511fd84579f99502bf39b1e" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#a2517f75e3511fd84579f99502bf39b1e" > Ort::Base::operator=< / a > < / div > < div class = "ttdeci" > Base & operator=(const Base & )=delete< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_a2f4ae170cb8adebc982cb2dea39325c9" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#a2f4ae170cb8adebc982cb2dea39325c9" > Ort::Base::release< / a > < / div > < div class = "ttdeci" > T * release()< / div > < div class = "ttdoc" > Releases ownership of the contained pointer.< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:200< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_a4596ebf9650803a86a84a1bc04cd78af" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#a4596ebf9650803a86a84a1bc04cd78af" > Ort::Base::~Base< / a > < / div > < div class = "ttdeci" > ~Base()< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:194< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_a66d10ddc7737be4e09ec0936f4268fef" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#a66d10ddc7737be4e09ec0936f4268fef" > Ort::Base::Base< / a > < / div > < div class = "ttdeci" > Base()=default< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_a9da2e4fc1874f3ec50c34ec5954d7be1" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#a9da2e4fc1874f3ec50c34ec5954d7be1" > Ort::Base::Base< / a > < / div > < div class = "ttdeci" > Base(Base & & v) noexcept< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:209< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_base_html_ab6424ea36bd85db866473e004a6915e5" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#ab6424ea36bd85db866473e004a6915e5" > Ort::Base::p_< / a > < / div > < div class = "ttdeci" > T * p_< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:215< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_base_html_abe0c053fd682decf4149f7d788d6b9ed" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#abe0c053fd682decf4149f7d788d6b9ed" > Ort::Base::Base< / a > < / div > < div class = "ttdeci" > Base(const Base & )=delete< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_ac871a942635518ffed7ba564c6a8f52e" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#ac871a942635518ffed7ba564c6a8f52e" > Ort::Base::Base< / a > < / div > < div class = "ttdeci" > Base(T *p)< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:190< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_ae1c3f4684de3e03acecaefd82b5e516b" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#ae1c3f4684de3e03acecaefd82b5e516b" > Ort::Base::operator=< / a > < / div > < div class = "ttdeci" > void operator=(Base & & v) noexcept< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:210< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_base_html_aea8ad8947b663fdcc1b81f129912e79e" > < div class = "ttname" > < a href = "struct_ort_1_1_base.html#aea8ad8947b663fdcc1b81f129912e79e" > Ort::Base::contained_type< / a > < / div > < div class = "ttdeci" > T contained_type< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:187< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:903< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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 >
2021-09-17 00:09:25 +00:00
< 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_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_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 >
2022-01-08 00:25:57 +00:00
< 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:904< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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_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 >
2022-01-08 00:25:57 +00:00
< 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 >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:938< / 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:974< / 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:939< / 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:966< / 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:970< / 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:272< / 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:273< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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_af18dafed4860a3faf5417381665747a5" > < div class = "ttname" > < a href = "struct_ort_1_1_custom_op_domain.html#af18dafed4860a3faf5417381665747a5" > Ort::CustomOpDomain::Add< / a > < / div > < div class = "ttdeci" > void Add(OrtCustomOp *op)< / div > < div class = "ttdoc" > Wraps CustomOpDomain_Add.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:244< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:261< / 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:245< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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_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:39< / 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:43< / 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:42< / 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:40< / 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:148< / 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:154< / 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:151< / 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:149< / 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:153< / 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:150< / 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:66< / 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:67< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:863< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a1b16bf337c9ea690329f8a2ecb61c9a7" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a1b16bf337c9ea690329f8a2ecb61c9a7" > Ort::IoBinding::BindInput< / a > < / div > < div class = "ttdeci" > void BindInput(const char *name, const Value & )< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a32f4ebbfc39913bb89afe7bf9af9c652" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a32f4ebbfc39913bb89afe7bf9af9c652" > Ort::IoBinding::GetOutputValues< / a > < / div > < div class = "ttdeci" > std::vector< Value > GetOutputValues() const< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a6690ef71a4a3590203f0dba03fbdaa4b" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a6690ef71a4a3590203f0dba03fbdaa4b" > Ort::IoBinding::SynchronizeOutputs< / a > < / div > < div class = "ttdeci" > void SynchronizeOutputs()< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a74dd1e588e1fa13259823549ac4dd71b" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a74dd1e588e1fa13259823549ac4dd71b" > Ort::IoBinding::GetOutputNames< / a > < / div > < div class = "ttdeci" > std::vector< std::string > GetOutputNames() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a8cbf585065d10b9b2ad920b802c4b083" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a8cbf585065d10b9b2ad920b802c4b083" > Ort::IoBinding::GetOutputValues< / a > < / div > < div class = "ttdeci" > std::vector< Value > GetOutputValues(Allocator & ) const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_a95c306e1e6682e7462669f477ff4f65b" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#a95c306e1e6682e7462669f477ff4f65b" > Ort::IoBinding::GetOutputNames< / a > < / div > < div class = "ttdeci" > std::vector< std::string > GetOutputNames(Allocator & ) const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_abea31b388fe8e702f6290cee7c7bd9d9" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#abea31b388fe8e702f6290cee7c7bd9d9" > Ort::IoBinding::BindOutput< / a > < / div > < div class = "ttdeci" > void BindOutput(const char *name, const MemoryInfo & )< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_ad4daf2e07456fd68ae0c8d4dcf4e8357" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#ad4daf2e07456fd68ae0c8d4dcf4e8357" > Ort::IoBinding::ClearBoundOutputs< / a > < / div > < div class = "ttdeci" > void ClearBoundOutputs()< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_ad6696497b21831e2539dfb9ddac3ec31" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#ad6696497b21831e2539dfb9ddac3ec31" > Ort::IoBinding::SynchronizeInputs< / a > < / div > < div class = "ttdeci" > void SynchronizeInputs()< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_ade0e30c3727bf1eb4ccc8952fd8265ca" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#ade0e30c3727bf1eb4ccc8952fd8265ca" > Ort::IoBinding::ClearBoundInputs< / a > < / div > < div class = "ttdeci" > void ClearBoundInputs()< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_io_binding_html_ae3066c54eeab959922e88435f3762c2b" > < div class = "ttname" > < a href = "struct_ort_1_1_io_binding.html#ae3066c54eeab959922e88435f3762c2b" > Ort::IoBinding::BindOutput< / a > < / div > < div class = "ttdeci" > void BindOutput(const char *name, const Value & )< / 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 >
2022-01-08 00:25:57 +00:00
< 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:460< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_map_type_info_html_a24df1bc38d24e714699073892218eba1" > < div class = "ttname" > < a href = "struct_ort_1_1_map_type_info.html#a24df1bc38d24e714699073892218eba1" > Ort::MapTypeInfo::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_1_map_type_info_html_ab8fee8f1b4912e4baaaf34e5dee0477a" > < div class = "ttname" > < a href = "struct_ort_1_1_map_type_info.html#ab8fee8f1b4912e4baaaf34e5dee0477a" > Ort::MapTypeInfo::GetMapValueType< / a > < / div > < div class = "ttdeci" > TypeInfo GetMapValueType() const< / div > < div class = "ttdoc" > Wraps OrtApi::GetMapValueType.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:462< / 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:461< / 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:804< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:812< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:813< / 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:838< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_memory_info_html_a20ca087c345fe6df1ffd26274211ad47" > < div class = "ttname" > < a href = "struct_ort_1_1_memory_info.html#a20ca087c345fe6df1ffd26274211ad47" > Ort::MemoryInfo::GetAllocatorType< / a > < / div > < div class = "ttdeci" > OrtAllocatorType GetAllocatorType() const< / 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 >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:841< / 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" > Used for interop with the C API.< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:842< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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_a7656cad8ec7a5fefbecacd071e6af161" > < div class = "ttname" > < a href = "struct_ort_1_1_memory_info.html#a7656cad8ec7a5fefbecacd071e6af161" > Ort::MemoryInfo::GetAllocatorName< / a > < / div > < div class = "ttdeci" > std::string GetAllocatorName() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_memory_info_html_a963dcc5e07579bf15e6c98c46807bd64" > < div class = "ttname" > < a href = "struct_ort_1_1_memory_info.html#a963dcc5e07579bf15e6c98c46807bd64" > Ort::MemoryInfo::operator==< / a > < / div > < div class = "ttdeci" > bool operator==(const MemoryInfo & o) const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_memory_info_html_aa6461605bc76e446422a64fde8e36ecf" > < div class = "ttname" > < a href = "struct_ort_1_1_memory_info.html#aa6461605bc76e446422a64fde8e36ecf" > Ort::MemoryInfo::GetDeviceId< / a > < / div > < div class = "ttdeci" > int GetDeviceId() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_memory_info_html_ad9359ba8398929e1475ef03405134ca8" > < div class = "ttname" > < a href = "struct_ort_1_1_memory_info.html#ad9359ba8398929e1475ef03405134ca8" > Ort::MemoryInfo::GetMemoryType< / a > < / div > < div class = "ttdeci" > OrtMemType GetMemoryType() const< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:363< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_a0ca53d70a862353d83b5e477f97b673a" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#a0ca53d70a862353d83b5e477f97b673a" > Ort::ModelMetadata::GetDomain< / a > < / div > < div class = "ttdeci" > char * GetDomain(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetDomain.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_a348ce60f0b6f70a6bddb0d393b9b1d92" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#a348ce60f0b6f70a6bddb0d393b9b1d92" > Ort::ModelMetadata::LookupCustomMetadataMap< / a > < / div > < div class = "ttdeci" > char * LookupCustomMetadataMap(const char *key, OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataLookupCustomMetadataMap.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:364< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_a56420a877a1a217bd2fab85323f6a2bb" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#a56420a877a1a217bd2fab85323f6a2bb" > Ort::ModelMetadata::GetProducerName< / a > < / div > < div class = "ttdeci" > char * GetProducerName(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetProducerName.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_a69d06cb137909c4e85618b306c17f4b9" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#a69d06cb137909c4e85618b306c17f4b9" > Ort::ModelMetadata::GetGraphName< / a > < / div > < div class = "ttdeci" > char * GetGraphName(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetGraphName.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_aad940b66cd32d75c1f385ce6d528044c" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#aad940b66cd32d75c1f385ce6d528044c" > Ort::ModelMetadata::GetGraphDescription< / a > < / div > < div class = "ttdeci" > char * GetGraphDescription(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetGraphDescription.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_ab3cad65b777f68580bdc7abf832d8c48" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#ab3cad65b777f68580bdc7abf832d8c48" > Ort::ModelMetadata::GetDescription< / a > < / div > < div class = "ttdeci" > char * GetDescription(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetDescription.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_model_metadata_html_ad40f2997d9491bd3e69f3fc91f5918ac" > < div class = "ttname" > < a href = "struct_ort_1_1_model_metadata.html#ad40f2997d9491bd3e69f3fc91f5918ac" > Ort::ModelMetadata::GetCustomMetadataMapKeys< / a > < / div > < div class = "ttdeci" > char ** GetCustomMetadataMapKeys(OrtAllocator *allocator, int64_t & num_keys) const< / div > < div class = "ttdoc" > Wraps OrtApi::ModelMetadataGetCustomMetadataMapKeys.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:365< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:281< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:282< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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 >
2022-01-08 00:25:57 +00:00
< 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:450< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_sequence_type_info_html_a736331a9ed4239c98493229d63504b4e" > < div class = "ttname" > < a href = "struct_ort_1_1_sequence_type_info.html#a736331a9ed4239c98493229d63504b4e" > Ort::SequenceTypeInfo::GetSequenceElementType< / a > < / div > < div class = "ttdeci" > TypeInfo GetSequenceElementType() const< / div > < div class = "ttdoc" > Wraps OrtApi::GetSequenceElementType.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:451< / 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:452< / 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:380< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_html_a1340c72e42d048d5e7fa8d71a26f2e60" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a1340c72e42d048d5e7fa8d71a26f2e60" > Ort::Session::Session< / a > < / div > < div class = "ttdeci" > Session(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_a147c44cc42331f7126cb892ec46b812b" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a147c44cc42331f7126cb892ec46b812b" > Ort::Session::GetInputName< / a > < / div > < div class = "ttdeci" > char * GetInputName(size_t index, OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::SessionGetInputName.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_html_a20e648093c056dd85d95f54cab637147" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a20e648093c056dd85d95f54cab637147" > Ort::Session::GetOutputName< / a > < / div > < div class = "ttdeci" > char * GetOutputName(size_t index, OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::SessionGetOutputName.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_html_a2a5985283caf77d65823318079fa4a6c" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a2a5985283caf77d65823318079fa4a6c" > Ort::Session::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_1_session_html_a2d0f7354f12e01535b275e9b6ebfc205" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a2d0f7354f12e01535b275e9b6ebfc205" > Ort::Session::Session< / a > < / div > < div class = "ttdeci" > Session(Env & env, const char *model_path, const SessionOptions & options, OrtPrepackedWeightsContainer *prepacked_weights_container)< / div > < div class = "ttdoc" > Wraps OrtApi::CreateSessionWithPrepackedWeightsContainer.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:381< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_html_a3bce075963cbe5dcb3d43703973b83f6" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a3bce075963cbe5dcb3d43703973b83f6" > Ort::Session::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_1_session_html_a5a333fa810f984651f46917c83073d5d" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a5a333fa810f984651f46917c83073d5d" > Ort::Session::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_1_session_html_a5e8b224cbe595da841897ac02fd20777" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a5e8b224cbe595da841897ac02fd20777" > Ort::Session::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_1_session_html_a6603e24602d46fd1fce04c7707039e07" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a6603e24602d46fd1fce04c7707039e07" > Ort::Session::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_1_session_html_a74d8bee30facccd949c245fc50161af9" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a74d8bee30facccd949c245fc50161af9" > Ort::Session::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_1_session_html_a8768dcc6052d4144b1dc8523b2cd4288" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a8768dcc6052d4144b1dc8523b2cd4288" > Ort::Session::Session< / a > < / div > < div class = "ttdeci" > Session(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_html_a98f99ec7569ee0b9603982117d1cbcfc" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a98f99ec7569ee0b9603982117d1cbcfc" > Ort::Session::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_1_session_html_a9c71afbbf1165d2fc265b2e8e1a08c49" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#a9c71afbbf1165d2fc265b2e8e1a08c49" > Ort::Session::EndProfiling< / a > < / div > < div class = "ttdeci" > char * EndProfiling(OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::SessionEndProfiling.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_html_ac6b0307dab98100e892d3138307e0693" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#ac6b0307dab98100e892d3138307e0693" > Ort::Session::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_1_session_html_ac89a79b7fc58860ddf754a15dd1fab9a" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#ac89a79b7fc58860ddf754a15dd1fab9a" > Ort::Session::GetOverridableInitializerName< / a > < / div > < div class = "ttdeci" > char * GetOverridableInitializerName(size_t index, OrtAllocator *allocator) const< / div > < div class = "ttdoc" > Wraps OrtApi::SessionGetOverridableInitializerName.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_html_aca46440a0096d0811ae47a0f36080999" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#aca46440a0096d0811ae47a0f36080999" > Ort::Session::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_1_session_html_ad34947969abc55f205021ac968e783ff" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#ad34947969abc55f205021ac968e783ff" > Ort::Session::Run< / a > < / div > < div class = "ttdeci" > void Run(const RunOptions & run_options, const struct IoBinding & )< / div > < div class = "ttdoc" > Wraps OrtApi::RunWithBinding.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_html_ae1149a662d2a2e218e5740672bbf0ebe" > < div class = "ttname" > < a href = "struct_ort_1_1_session.html#ae1149a662d2a2e218e5740672bbf0ebe" > Ort::Session::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 >
2022-01-08 00:25:57 +00:00
< 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" > Options object used when creating a new Session object.< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:314< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a05da50ea9c8ea688c26cc76e19af05ad" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a05da50ea9c8ea688c26cc76e19af05ad" > Ort::SessionOptions::SetGraphOptimizationLevel< / a > < / div > < div class = "ttdeci" > SessionOptions & SetGraphOptimizationLevel(GraphOptimizationLevel graph_optimization_level)< / div > < div class = "ttdoc" > Wraps OrtApi::SetSessionGraphOptimizationLevel.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a09d108033fe67cacb09d576ba74d04fb" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a09d108033fe67cacb09d576ba74d04fb" > Ort::SessionOptions::EnableMemPattern< / a > < / div > < div class = "ttdeci" > SessionOptions & EnableMemPattern()< / div > < div class = "ttdoc" > Wraps OrtApi::EnableMemPattern.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a0b663133b32d005998b1c8c75adcd5f7" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a0b663133b32d005998b1c8c75adcd5f7" > Ort::SessionOptions::AddConfigEntry< / a > < / div > < div class = "ttdeci" > SessionOptions & 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_1_session_options_html_a17bf9c1f81f7ac33cde7bb49034ca009" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a17bf9c1f81f7ac33cde7bb49034ca009" > Ort::SessionOptions::AppendExecutionProvider_TensorRT< / a > < / div > < div class = "ttdeci" > SessionOptions & AppendExecutionProvider_TensorRT(const OrtTensorRTProviderOptions & provider_options)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a1b398d0102e5e9c924a3f4c8ee27d602" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a1b398d0102e5e9c924a3f4c8ee27d602" > Ort::SessionOptions::SetCustomCreateThreadFn< / a > < / div > < div class = "ttdeci" > SessionOptions & SetCustomCreateThreadFn(OrtCustomCreateThreadFn ort_custom_create_thread_fn)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsSetCustomCreateThreadFn.< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a23fcbc505d5a5d61123d5123509a7535" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a23fcbc505d5a5d61123d5123509a7535" > Ort::SessionOptions::SetIntraOpNumThreads< / a > < / div > < div class = "ttdeci" > SessionOptions & SetIntraOpNumThreads(int intra_op_num_threads)< / div > < div class = "ttdoc" > Wraps OrtApi::SetIntraOpNumThreads.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a244fa67143794b5e1792824f55a86491" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a244fa67143794b5e1792824f55a86491" > Ort::SessionOptions::DisableProfiling< / a > < / div > < div class = "ttdeci" > SessionOptions & DisableProfiling()< / div > < div class = "ttdoc" > Wraps OrtApi::DisableProfiling.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a2fe38d2468c0d7c5d27967bb9804ed7b" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a2fe38d2468c0d7c5d27967bb9804ed7b" > Ort::SessionOptions::DisablePerSessionThreads< / a > < / div > < div class = "ttdeci" > SessionOptions & DisablePerSessionThreads()< / div > < div class = "ttdoc" > Wraps OrtApi::DisablePerSessionThreads.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a370427f223d1ab31116136f6599e1943" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a370427f223d1ab31116136f6599e1943" > Ort::SessionOptions::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 >
2022-01-08 00:25:57 +00:00
< 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:315< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a5d430cf21a8253d5a368339fce2e5fb3" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a5d430cf21a8253d5a368339fce2e5fb3" > Ort::SessionOptions::EnableOrtCustomOps< / a > < / div > < div class = "ttdeci" > SessionOptions & EnableOrtCustomOps()< / div > < div class = "ttdoc" > Wraps OrtApi::EnableOrtCustomOps.< / 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_a76f0bd0b6feeefe3b90ba941a7281102" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a76f0bd0b6feeefe3b90ba941a7281102" > Ort::SessionOptions::EnableProfiling< / a > < / div > < div class = "ttdeci" > SessionOptions & EnableProfiling(const char *profile_file_prefix)< / div > < div class = "ttdoc" > Wraps OrtApi::EnableProfiling.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a79b248ca385f9013224d44682eb1123d" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a79b248ca385f9013224d44682eb1123d" > Ort::SessionOptions::SetOptimizedModelFilePath< / a > < / div > < div class = "ttdeci" > SessionOptions & SetOptimizedModelFilePath(const char *optimized_model_file)< / div > < div class = "ttdoc" > Wraps OrtApi::SetOptimizedModelFilePath.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a7d1f3c3bf4aedc7b714ae5729daf97db" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a7d1f3c3bf4aedc7b714ae5729daf97db" > Ort::SessionOptions::EnableCpuMemArena< / a > < / div > < div class = "ttdeci" > SessionOptions & EnableCpuMemArena()< / div > < div class = "ttdoc" > Wraps OrtApi::EnableCpuMemArena.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a82914de4692c4cefdfc22dabd48e1b12" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a82914de4692c4cefdfc22dabd48e1b12" > Ort::SessionOptions::AppendExecutionProvider_OpenVINO< / a > < / div > < div class = "ttdeci" > SessionOptions & AppendExecutionProvider_OpenVINO(const OrtOpenVINOProviderOptions & provider_options)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a85495cc117b54771cb4d7632753532f0" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a85495cc117b54771cb4d7632753532f0" > Ort::SessionOptions::DisableMemPattern< / a > < / div > < div class = "ttdeci" > SessionOptions & DisableMemPattern()< / div > < div class = "ttdoc" > Wraps OrtApi::DisableMemPattern.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a85b55eeb514e2cbef7fd57de6279b93d" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a85b55eeb514e2cbef7fd57de6279b93d" > Ort::SessionOptions::AddInitializer< / a > < / div > < div class = "ttdeci" > SessionOptions & AddInitializer(const char *name, const OrtValue *ort_val)< / div > < div class = "ttdoc" > Wraps OrtApi::AddInitializer.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a8a32dda32dc98fc7002a3ea60532a3ae" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a8a32dda32dc98fc7002a3ea60532a3ae" > Ort::SessionOptions::SetLogSeverityLevel< / a > < / div > < div class = "ttdeci" > SessionOptions & SetLogSeverityLevel(int level)< / div > < div class = "ttdoc" > Wraps OrtApi::SetSessionLogSeverityLevel.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a8efc94e38035e86262a9f3e430f6f35e" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a8efc94e38035e86262a9f3e430f6f35e" > Ort::SessionOptions::SetInterOpNumThreads< / a > < / div > < div class = "ttdeci" > SessionOptions & SetInterOpNumThreads(int inter_op_num_threads)< / div > < div class = "ttdoc" > Wraps OrtApi::SetInterOpNumThreads.< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_a9091ba0f274affc5728aa29822beed21" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#a9091ba0f274affc5728aa29822beed21" > Ort::SessionOptions::SetCustomThreadCreationOptions< / a > < / div > < div class = "ttdeci" > SessionOptions & SetCustomThreadCreationOptions(void *ort_custom_thread_creation_options)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsSetCustomThreadCreationOptions.< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_aaa789e496dfdd6682344f7d3748ecf52" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#aaa789e496dfdd6682344f7d3748ecf52" > Ort::SessionOptions::AppendExecutionProvider_ROCM< / a > < / div > < div class = "ttdeci" > SessionOptions & AppendExecutionProvider_ROCM(const OrtROCMProviderOptions & provider_options)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsAppendExecutionProvider_ROCM.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_abe5a3ec3c1c94a231f753311b43e9af8" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#abe5a3ec3c1c94a231f753311b43e9af8" > Ort::SessionOptions::DisableCpuMemArena< / a > < / div > < div class = "ttdeci" > SessionOptions & DisableCpuMemArena()< / div > < div class = "ttdoc" > Wraps OrtApi::DisableCpuMemArena.< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_ac952056fad906c45467ba4a229850488" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#ac952056fad906c45467ba4a229850488" > Ort::SessionOptions::SetCustomJoinThreadFn< / a > < / div > < div class = "ttdeci" > SessionOptions & SetCustomJoinThreadFn(OrtCustomJoinThreadFn ort_custom_join_thread_fn)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsSetCustomJoinThreadFn.< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_ad653f996285d6ea2fa5356d8aab164fb" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#ad653f996285d6ea2fa5356d8aab164fb" > Ort::SessionOptions::SetExecutionMode< / a > < / div > < div class = "ttdeci" > SessionOptions & SetExecutionMode(ExecutionMode execution_mode)< / div > < div class = "ttdoc" > Wraps OrtApi::SetSessionExecutionMode.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_ad8ff24aee4eb33dadaab0b34aebe6a40" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#ad8ff24aee4eb33dadaab0b34aebe6a40" > Ort::SessionOptions::SetLogId< / a > < / div > < div class = "ttdeci" > SessionOptions & SetLogId(const char *logid)< / div > < div class = "ttdoc" > Wraps OrtApi::SetSessionLogId.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:317< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_ae421fd429166a3edb84748fc485a9a8f" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#ae421fd429166a3edb84748fc485a9a8f" > Ort::SessionOptions::Add< / a > < / div > < div class = "ttdeci" > SessionOptions & Add(OrtCustomOpDomain *custom_op_domain)< / div > < div class = "ttdoc" > Wraps OrtApi::AddCustomOpDomain.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_session_options_html_afea37bbd589b4acd151ce2cc49ac7844" > < div class = "ttname" > < a href = "struct_ort_1_1_session_options.html#afea37bbd589b4acd151ce2cc49ac7844" > Ort::SessionOptions::AppendExecutionProvider_CUDA< / a > < / div > < div class = "ttdeci" > SessionOptions & AppendExecutionProvider_CUDA(const OrtCUDAProviderOptions & provider_options)< / div > < div class = "ttdoc" > Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:433< / 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:434< / 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:435< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_tensor_type_and_shape_info_html_a42370b300519e3af7d0b34f91778bb44" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#a42370b300519e3af7d0b34f91778bb44" > Ort::TensorTypeAndShapeInfo::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_1_tensor_type_and_shape_info_html_a4625a99a32e126b4b03a9289183fe723" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#a4625a99a32e126b4b03a9289183fe723" > Ort::TensorTypeAndShapeInfo::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_1_tensor_type_and_shape_info_html_a6ebc72c10f10b400bbf53eee4b26e368" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#a6ebc72c10f10b400bbf53eee4b26e368" > Ort::TensorTypeAndShapeInfo::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_1_tensor_type_and_shape_info_html_a7ff0be82da5010986a5fecdc80786a71" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#a7ff0be82da5010986a5fecdc80786a71" > Ort::TensorTypeAndShapeInfo::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_1_tensor_type_and_shape_info_html_ab7128aa311e84d2840e208d939d82630" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#ab7128aa311e84d2840e208d939d82630" > Ort::TensorTypeAndShapeInfo::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_1_tensor_type_and_shape_info_html_aef76cb346e08340608fd21e89cc8eb8a" > < div class = "ttname" > < a href = "struct_ort_1_1_tensor_type_and_shape_info.html#aef76cb346e08340608fd21e89cc8eb8a" > Ort::TensorTypeAndShapeInfo::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 >
2022-01-08 00:25:57 +00:00
< 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:468< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_type_info_html_a4450368a55551a8f7a839ccb4a0cabc6" > < div class = "ttname" > < a href = "struct_ort_1_1_type_info.html#a4450368a55551a8f7a839ccb4a0cabc6" > Ort::TypeInfo::GetMapTypeInfo< / a > < / div > < div class = "ttdeci" > Unowned< MapTypeInfo > GetMapTypeInfo() const< / div > < div class = "ttdoc" > Wraps OrtApi::CastTypeInfoToMapTypeInfo.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_type_info_html_a79b37f73c113ca399e354c354564798a" > < div class = "ttname" > < a href = "struct_ort_1_1_type_info.html#a79b37f73c113ca399e354c354564798a" > Ort::TypeInfo::GetSequenceTypeInfo< / a > < / div > < div class = "ttdeci" > Unowned< SequenceTypeInfo > GetSequenceTypeInfo() const< / div > < div class = "ttdoc" > Wraps OrtApi::CastTypeInfoToSequenceTypeInfo.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_type_info_html_a8f383706fc3f51b0cfb2cbfb81f944d9" > < div class = "ttname" > < a href = "struct_ort_1_1_type_info.html#a8f383706fc3f51b0cfb2cbfb81f944d9" > Ort::TypeInfo::GetONNXType< / a > < / div > < div class = "ttdeci" > ONNXType GetONNXType() const< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_type_info_html_a8fe048f9eed0d71b2edb237a35a8aa57" > < div class = "ttname" > < a href = "struct_ort_1_1_type_info.html#a8fe048f9eed0d71b2edb237a35a8aa57" > Ort::TypeInfo::GetTensorTypeAndShapeInfo< / a > < / div > < div class = "ttdeci" > Unowned< TensorTypeAndShapeInfo > GetTensorTypeAndShapeInfo() const< / div > < div class = "ttdoc" > Wraps OrtApi::CastTypeInfoToTensorInfo.< / div > < / div >
2022-01-08 00:25:57 +00:00
< 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:469< / 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:470< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_unowned_html" > < div class = "ttname" > < a href = "struct_ort_1_1_unowned.html" > Ort::Unowned< / a > < / div > < div class = "ttdoc" > Wraps an object that inherits from Ort::Base and stops it from deleting the contained pointer on dest...< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:226< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_unowned_html_a0ba813e48161c9b9a76315a8bf17a147" > < div class = "ttname" > < a href = "struct_ort_1_1_unowned.html#a0ba813e48161c9b9a76315a8bf17a147" > Ort::Unowned::Unowned< / a > < / div > < div class = "ttdeci" > Unowned(Unowned & & v)< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:228< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_unowned_html_a24755f54a4c54b384d5b2e43d29c63b2" > < div class = "ttname" > < a href = "struct_ort_1_1_unowned.html#a24755f54a4c54b384d5b2e43d29c63b2" > Ort::Unowned::~Unowned< / a > < / div > < div class = "ttdeci" > ~Unowned()< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:229< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_unowned_html_ad0f9c92c922fdb1cfb5c0d595c3ef8a8" > < div class = "ttname" > < a href = "struct_ort_1_1_unowned.html#ad0f9c92c922fdb1cfb5c0d595c3ef8a8" > Ort::Unowned::Unowned< / a > < / div > < div class = "ttdeci" > Unowned(typename T::contained_type *p)< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:227< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html" > Ort::Value::OrtSparseValuesParam< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:488< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html_a4bd0e42ad665e4fdfe78df3d72bd6707" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a4bd0e42ad665e4fdfe78df3d72bd6707" > Ort::Value::OrtSparseValuesParam::str< / a > < / div > < div class = "ttdeci" > const char ** str< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:493< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html_a797733f72114674cca173d26245b159a" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#a797733f72114674cca173d26245b159a" > Ort::Value::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:490< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html_abd1d9ea2538a718ee0121f657dc13007" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#abd1d9ea2538a718ee0121f657dc13007" > Ort::Value::OrtSparseValuesParam::values_shape< / a > < / div > < div class = "ttdeci" > const int64_t * values_shape< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:489< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html_acf74425df27cfaf9b148d2b8a37711c0" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#acf74425df27cfaf9b148d2b8a37711c0" > Ort::Value::OrtSparseValuesParam::p_data< / a > < / div > < div class = "ttdeci" > const void * p_data< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:492< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_ort_sparse_values_param_html_aea8bef6e03c8581002ed6f084c1d7232" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_ort_sparse_values_param.html#aea8bef6e03c8581002ed6f084c1d7232" > Ort::Value::OrtSparseValuesParam::data< / a > < / div > < div class = "ttdeci" > union Ort::Value::OrtSparseValuesParam::@0 data< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_shape_html" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_shape.html" > Ort::Value::Shape< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:499< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_shape_html_a97c0d68bb16ad96d266e88f0e2135527" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_shape.html#a97c0d68bb16ad96d266e88f0e2135527" > Ort::Value::Shape::shape< / a > < / div > < div class = "ttdeci" > const int64_t * shape< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:500< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_1_1_shape_html_accbf7f9897a9c16ab9ae3f56913d0217" > < div class = "ttname" > < a href = "struct_ort_1_1_value_1_1_shape.html#accbf7f9897a9c16ab9ae3f56913d0217" > Ort::Value::Shape::shape_len< / a > < / div > < div class = "ttdeci" > size_t shape_len< / div > < div class = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:501< / 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 = "ttdef" > < b > Definition:< / b > onnxruntime_cxx_api.h:479< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_a008fc5074d15a9af5a971de7dd8834ac" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a008fc5074d15a9af5a971de7dd8834ac" > Ort::Value::GetTensorMutableData< / a > < / div > < div class = "ttdeci" > T * GetTensorMutableData()< / div > < div class = "ttdoc" > Wraps OrtApi::GetTensorMutableData.< / 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_a0eaf1f9f96f18194ead77ee855698503" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a0eaf1f9f96f18194ead77ee855698503" > Ort::Value::GetSparseTensorIndicesData< / a > < / div > < div class = "ttdeci" > const T * 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_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_a1b6ef55a1a122063d3af38e47c340963" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a1b6ef55a1a122063d3af38e47c340963" > Ort::Value::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_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 >
2022-01-08 00:25:57 +00:00
< 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:700< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_a2df13bf81010090da46eee36c4a9b5a4" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a2df13bf81010090da46eee36c4a9b5a4" > Ort::Value::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_1_value_html_a35c4cc546773ba410659bb67ea5a6c10" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a35c4cc546773ba410659bb67ea5a6c10" > Ort::Value::GetTensorData< / a > < / div > < div class = "ttdeci" > const T * GetTensorData() const< / div > < div class = "ttdoc" > Wraps OrtApi::GetTensorMutableData.< / 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" > Wraps OrtApi::CreateTensorWithDataAsOrtValue.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_html_a3fe6e43ecc5679d3e547183f36248c9d" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a3fe6e43ecc5679d3e547183f36248c9d" > Ort::Value::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_1_value_html_a475c1d0e4610b9ace64a71c938fd64d2" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a475c1d0e4610b9ace64a71c938fd64d2" > Ort::Value::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 >
2022-01-08 00:25:57 +00:00
< 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:701< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_a50a029dee567f88be916994cc14da4b3" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a50a029dee567f88be916994cc14da4b3" > Ort::Value::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_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 the below CreateSparseTensor. This helps to specify data type enum...< / 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 >
< div class = "ttc" id = "astruct_ort_1_1_value_html_a67248a12bf88d9093c18f719cf45b934" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a67248a12bf88d9093c18f719cf45b934" > Ort::Value::GetCount< / a > < / div > < div class = "ttdeci" > size_t GetCount() const< / div > < / div >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_a6db197c9c78aafe5b1a6f4e1e5d743dc" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a6db197c9c78aafe5b1a6f4e1e5d743dc" > Ort::Value::IsSparseTensor< / a > < / div > < div class = "ttdeci" > bool IsSparseTensor() const< / div > < div class = "ttdoc" > < Return true if OrtValue contains data and returns false if the OrtValue is a None< / div > < / div >
2021-09-17 00:09:25 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_a6fafbe9098011d60978cfe9f7c9b7083" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a6fafbe9098011d60978cfe9f7c9b7083" > Ort::Value::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_1_value_html_a759a2a4e0c3c37dd0d164e60ce3ae301" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a759a2a4e0c3c37dd0d164e60ce3ae301" > Ort::Value::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_1_value_html_a8c671843b4a34071311d7d5ce7af38d9" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a8c671843b4a34071311d7d5ce7af38d9" > Ort::Value::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_1_value_html_a8f8b5207913f0c484bc14ee7518ff17e" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a8f8b5207913f0c484bc14ee7518ff17e" > Ort::Value::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_1_value_html_a939aa860fb784dd7a2d47bdd8eecb294" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a939aa860fb784dd7a2d47bdd8eecb294" > Ort::Value::FillStringTensor< / a > < / div > < div class = "ttdeci" > void FillStringTensor(const char *const *s, size_t s_len)< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_html_a969cce2f5429f038ffe9662538e484b5" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a969cce2f5429f038ffe9662538e484b5" > Ort::Value::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_1_value_html_a9823fe23891528c075f2d5ddc4b45efc" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a9823fe23891528c075f2d5ddc4b45efc" > Ort::Value::At< / a > < / div > < div class = "ttdeci" > T & At(const std::vector< int64_t > & location)< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_html_a9a568ff40447e756b3a62ec7c903b45e" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#a9a568ff40447e756b3a62ec7c903b45e" > Ort::Value::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_1_value_html_aa938f89369a0754d673d57c30ca15a07" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#aa938f89369a0754d673d57c30ca15a07" > Ort::Value::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_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" > 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_ac1dd63c5d27e40ef9836f276a8b94dec" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#ac1dd63c5d27e40ef9836f276a8b94dec" > Ort::Value::GetValue< / a > < / div > < div class = "ttdeci" > Value GetValue(int index, OrtAllocator *allocator) const< / 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 >
2022-01-08 00:25:57 +00:00
< div class = "ttc" id = "astruct_ort_1_1_value_html_acf4d6700f1e1d961b02a39c2a43689ad" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#acf4d6700f1e1d961b02a39c2a43689ad" > Ort::Value::HasValue< / a > < / div > < div class = "ttdeci" > bool HasValue() const< / div > < / div >
2021-09-17 00:09:25 +00:00
< 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_ad50d9f9c09d7305d37b51b9dc71001c3" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#ad50d9f9c09d7305d37b51b9dc71001c3" > Ort::Value::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_1_value_html_adb67431539beec2b8229be2924ff0cc6" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#adb67431539beec2b8229be2924ff0cc6" > Ort::Value::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_1_1_value_html_ae733e1a8c0bfbb7667f5ce1a2db90d17" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#ae733e1a8c0bfbb7667f5ce1a2db90d17" > Ort::Value::FillStringTensorElement< / a > < / div > < div class = "ttdeci" > void FillStringTensorElement(const char *s, size_t index)< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_html_af6f22b4c04a4b8182bf0b3c1da334c84" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#af6f22b4c04a4b8182bf0b3c1da334c84" > Ort::Value::GetSparseTensorValues< / a > < / div > < div class = "ttdeci" > const T * 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_1_value_html_af8813a399df6e6576923c1c40d39c67e" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#af8813a399df6e6576923c1c40d39c67e" > Ort::Value::GetOpaqueData< / a > < / div > < div class = "ttdeci" > void GetOpaqueData(const char *domain, const char *type_name, T & ) const< / div > < div class = "ttdoc" > Wraps OrtApi::GetOpaqueValue.< / div > < / div >
< div class = "ttc" id = "astruct_ort_1_1_value_html_afb0f62eb042c6bf25f023331fbf821f1" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#afb0f62eb042c6bf25f023331fbf821f1" > Ort::Value::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_1_value_html_afd9c45362170384c33eccdbf1ab1fa87" > < div class = "ttname" > < a href = "struct_ort_1_1_value.html#afd9c45362170384c33eccdbf1ab1fa87" > Ort::Value::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 >
2022-01-08 00:25:57 +00:00
< 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:273< / 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:522< / 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:563< / 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:349< / 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:3288< / 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:3313< / 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:3303< / 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:3296< / 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:3305< / 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:3309< / 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:3292< / 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:3289< / 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:3302< / 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:3312< / 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:3299< / 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:3304< / 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:3308< / 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:491< / 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:408< / 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:466< / div > < / div >
2021-09-17 00:09:25 +00:00
< / 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.2 < / li >
< / ul >
< / div >
< / body >
< / html >