ONNX Runtime
Loading...
Searching...
No Matches
Ort::ShapeInferContext::SymbolicInteger Struct Reference

#include <onnxruntime_cxx_api.h>

Public Member Functions

 SymbolicInteger (int64_t i)
 
 SymbolicInteger (const char *s)
 
 SymbolicInteger (const SymbolicInteger &)=default
 
 SymbolicInteger (SymbolicInteger &&)=default
 
SymbolicIntegeroperator= (const SymbolicInteger &)=default
 
SymbolicIntegeroperator= (SymbolicInteger &&)=default
 
bool operator== (const SymbolicInteger &dim) const
 
bool IsInt () const
 
int64_t AsInt () const
 
const char * AsSym () const
 

Static Public Attributes

static constexpr int INVALID_INT_DIM = -2
 

Constructor & Destructor Documentation

◆ SymbolicInteger() [1/4]

Ort::ShapeInferContext::SymbolicInteger::SymbolicInteger ( int64_t  i)
inline

◆ SymbolicInteger() [2/4]

Ort::ShapeInferContext::SymbolicInteger::SymbolicInteger ( const char *  s)
inline

◆ SymbolicInteger() [3/4]

Ort::ShapeInferContext::SymbolicInteger::SymbolicInteger ( const SymbolicInteger )
default

◆ SymbolicInteger() [4/4]

Ort::ShapeInferContext::SymbolicInteger::SymbolicInteger ( SymbolicInteger &&  )
default

Member Function Documentation

◆ AsInt()

int64_t Ort::ShapeInferContext::SymbolicInteger::AsInt ( ) const
inline

◆ AsSym()

const char * Ort::ShapeInferContext::SymbolicInteger::AsSym ( ) const
inline

◆ IsInt()

bool Ort::ShapeInferContext::SymbolicInteger::IsInt ( ) const
inline

◆ operator=() [1/2]

SymbolicInteger & Ort::ShapeInferContext::SymbolicInteger::operator= ( const SymbolicInteger )
default

◆ operator=() [2/2]

SymbolicInteger & Ort::ShapeInferContext::SymbolicInteger::operator= ( SymbolicInteger &&  )
default

◆ operator==()

bool Ort::ShapeInferContext::SymbolicInteger::operator== ( const SymbolicInteger dim) const
inline

Member Data Documentation

◆ i_

int64_t Ort::ShapeInferContext::SymbolicInteger::i_

◆ INVALID_INT_DIM

constexpr int Ort::ShapeInferContext::SymbolicInteger::INVALID_INT_DIM = -2
staticconstexpr

◆ s_

const char* Ort::ShapeInferContext::SymbolicInteger::s_