ONNX Runtime
Loading...
Searching...
No Matches
Ort::detail::OpSchemaImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::detail::OpSchemaImpl< T >:
Ort::detail::Base< T >

Public Types

using B = Base< T >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 

Public Member Functions

int GetSinceVersion () const
 < Wraps OrtEpApi::OpSchema_GetSinceVersion
 
size_t GetNumInputs () const
 Wraps OrtEpApi::OpSchema_GetInputName.
 
std::string GetInputName (size_t index) const
 
ConstOpSchemaTypeConstraint GetInputTypeConstraint (size_t index) const
 Wraps OrtEpApi::OpSchema_GetNumOutputs.
 
size_t GetNumOutputs () const
 Wraps OrtEpApi::OpSchema_GetOutputName.
 
std::string GetOutputName (size_t index) const
 
ConstOpSchemaTypeConstraint GetOutputTypeConstraint (size_t index) const
 Wraps OrtEpApi::OpSchema_GetTypeConstraintCount.
 
size_t GetTypeConstraintCount () const
 Wraps OrtEpApi::OpSchema_GetTypeConstraint. Returns the i-th type constraint.
 
ConstOpSchemaTypeConstraint GetTypeConstraint (size_t index) const
 
- Public Member Functions inherited from Ort::detail::Base< T >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
constexpr contained_typeoperator* () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
 

Additional Inherited Members

- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Member Typedef Documentation

◆ B

template<typename T >
using Ort::detail::OpSchemaImpl< T >::B = Base<T>

Member Function Documentation

◆ GetInputName()

template<typename T >
std::string Ort::detail::OpSchemaImpl< T >::GetInputName ( size_t  index) const

Wraps OrtEpApi::OpSchema_GetInputTypeConstraint. Returns the type constraint for the given input, or a wrapper around nullptr if the input has no type constraint.

◆ GetInputTypeConstraint()

template<typename T >
ConstOpSchemaTypeConstraint Ort::detail::OpSchemaImpl< T >::GetInputTypeConstraint ( size_t  index) const

◆ GetNumInputs()

template<typename T >
size_t Ort::detail::OpSchemaImpl< T >::GetNumInputs ( ) const

◆ GetNumOutputs()

template<typename T >
size_t Ort::detail::OpSchemaImpl< T >::GetNumOutputs ( ) const

◆ GetOutputName()

template<typename T >
std::string Ort::detail::OpSchemaImpl< T >::GetOutputName ( size_t  index) const

Wraps OrtEpApi::OpSchema_GetOutputTypeConstraint. Returns the type constraint for the given output, or a wrapper around nullptr if the output has no type constraint.

◆ GetOutputTypeConstraint()

template<typename T >
ConstOpSchemaTypeConstraint Ort::detail::OpSchemaImpl< T >::GetOutputTypeConstraint ( size_t  index) const

◆ GetSinceVersion()

template<typename T >
int Ort::detail::OpSchemaImpl< T >::GetSinceVersion ( ) const

◆ GetTypeConstraint()

template<typename T >
ConstOpSchemaTypeConstraint Ort::detail::OpSchemaImpl< T >::GetTypeConstraint ( size_t  index) const

◆ GetTypeConstraintCount()

template<typename T >
size_t Ort::detail::OpSchemaImpl< T >::GetTypeConstraintCount ( ) const

Wraps OrtEpApi::OpSchema_GetTypeConstraint. Returns the i-th type constraint.