HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::Custom::Span< T > Struct Template Reference

#include <onnxruntime_lite_custom_op.h>

Public Member Functions

void Assign (const T *data, size_t size)
 
size_t size () const
 
operator[] (size_t indice) const
 
const T * data () const
 

Public Attributes

const T * data_ = {}
 
size_t size_ = {}
 

Detailed Description

template<typename T>
struct Ort::Custom::Span< T >

Definition at line 99 of file onnxruntime_lite_custom_op.h.

Member Function Documentation

template<typename T >
void Ort::Custom::Span< T >::Assign ( const T *  data,
size_t  size 
)
inline

Definition at line 102 of file onnxruntime_lite_custom_op.h.

template<typename T >
const T* Ort::Custom::Span< T >::data ( ) const
inline

Definition at line 110 of file onnxruntime_lite_custom_op.h.

template<typename T >
T Ort::Custom::Span< T >::operator[] ( size_t  indice) const
inline

Definition at line 107 of file onnxruntime_lite_custom_op.h.

template<typename T >
size_t Ort::Custom::Span< T >::size ( void  ) const
inline

Definition at line 106 of file onnxruntime_lite_custom_op.h.

Member Data Documentation

template<typename T >
const T* Ort::Custom::Span< T >::data_ = {}

Definition at line 100 of file onnxruntime_lite_custom_op.h.

template<typename T >
size_t Ort::Custom::Span< T >::size_ = {}

Definition at line 101 of file onnxruntime_lite_custom_op.h.


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