List of all members | Public Member Functions | Public Attributes
casadi::OnnxRuntimeMemory Struct Reference

Per-checkout ONNX Runtime state (session + reusable eval scaffolding) More...

#include <ort_interface.hpp>

Detailed Description

Holds the mutable, per-evaluation handles so a single OnnxRuntimeInterface can be evaluated re-entrantly through independent memory objects, managed by alloc_mem/init_mem/free_mem.

Definition at line 46 of file ort_interface.hpp.

Inheritance diagram for casadi::OnnxRuntimeMemory:
Inheritance graph
[legend]
Collaboration diagram for casadi::OnnxRuntimeMemory:
Collaboration graph
[legend]

Public Member Functions

void add_stat (const std::string &s)
 

Public Attributes

casadi_onnxruntime_data d {}
 
bool stats_available
 
std::map< std::string, FStatsfstats
 
FStatst_total
 

Member Function Documentation

◆ add_stat()

void casadi::ProtoFunctionMemory::add_stat ( const std::string &  s)
inlineinherited

Member Data Documentation

◆ d

casadi_onnxruntime_data casadi::OnnxRuntimeMemory::d {}

Definition at line 47 of file ort_interface.hpp.

Referenced by casadi::OnnxRuntimeInterface::free_mem().

◆ fstats

std::map<std::string, FStats> casadi::ProtoFunctionMemory::fstats
inherited

◆ stats_available

bool casadi::FunctionMemory::stats_available
inherited

◆ t_total

FStats* casadi::ProtoFunctionMemory::t_total
inherited

Definition at line 71 of file function_internal.hpp.

Referenced by casadi::LinsolCall< Tr >::eval(), and casadi::Linsol::solve().


The documentation for this struct was generated from the following file: