Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions
OnnxUtils.cxx File Reference
#include "AthOnnxUtils/OnnxUtils.h"
#include <cassert>
#include <string>
Include dependency graph for OnnxUtils.cxx:

Go to the source code of this file.

Namespaces

 AthOnnxUtils
 

Functions

void AthOnnxUtils::getNodeInfo (const Ort::Session &session, std::vector< std::vector< int64_t > > &dataShape, std::vector< std::string > &nodeNames, bool isInput)
 
void AthOnnxUtils::getInputNodeInfo (const Ort::Session &session, std::vector< std::vector< int64_t > > &dataShape, std::vector< std::string > &nodeNames)
 
void AthOnnxUtils::getOutputNodeInfo (const Ort::Session &session, std::vector< std::vector< int64_t > > &dataShape, std::vector< std::string > &nodeNames)
 
void AthOnnxUtils::inferenceWithIOBinding (Ort::Session &session, const std::vector< std::string > &inputNames, const std::vector< Ort::Value > &inputData, const std::vector< std::string > &outputNames, const std::vector< Ort::Value > &outputData)
 
int64_t AthOnnxUtils::getTensorSize (const std::vector< int64_t > &dataShape)