tvm
Public Member Functions | List of all members
tvm::runtime::TVMArgsSetter Class Reference

#include <packed_func.h>

Collaboration diagram for tvm::runtime::TVMArgsSetter:

Public Member Functions

 TVMArgsSetter (TVMValue *values, int *type_codes)
 
template<typename T , typename = typename std::enable_if<std::is_integral<T>::value>::type>
TVM_ALWAYS_INLINE void operator() (size_t i, T value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, bool value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, uint64_t value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, double value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, std::nullptr_t value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, const TVMArgValue &value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, void *value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, DLTensor *value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, Device value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, DLDataType value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, DataType dtype) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, const char *value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, const std::string &value) const
 
TVM_ALWAYS_INLINE void operator() (size_t i, const TVMByteArray &value) const
 
template<typename FType >
TVM_ALWAYS_INLINE void operator() (size_t i, const TypedPackedFunc< FType > &value) const
 
void operator() (size_t i, const TVMRetValue &value) const
 
template<typename TObjectRef , typename = typename std::enable_if<std::is_base_of<ObjectRef, TObjectRef>::value>::type>
TVM_ALWAYS_INLINE void operator() (size_t i, const TObjectRef &value) const
 
template<typename TObjectRef , typename = typename std::enable_if<std::is_base_of< ObjectRef, typename std::remove_reference<TObjectRef>::type>::value>::type>
TVM_ALWAYS_INLINE void operator() (size_t i, TObjectRef &&value) const
 
template<typename T >
void SetObject (size_t i, T &&value) const
 

Constructor & Destructor Documentation

◆ TVMArgsSetter()

tvm::runtime::TVMArgsSetter::TVMArgsSetter ( TVMValue values,
int *  type_codes 
)
inline

Member Function Documentation

◆ operator()() [1/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
bool  value 
) const
inline

◆ operator()() [2/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const char *  value 
) const
inline

◆ operator()() [3/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const std::string &  value 
) const
inline

◆ operator()() [4/18]

template<typename TObjectRef , typename = typename std::enable_if<std::is_base_of<ObjectRef, TObjectRef>::value>::type>
TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const TObjectRef &  value 
) const
inline

◆ operator()() [5/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const TVMArgValue value 
) const
inline

◆ operator()() [6/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const TVMByteArray value 
) const
inline

◆ operator()() [7/18]

void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const TVMRetValue value 
) const
inline

◆ operator()() [8/18]

template<typename FType >
TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
const TypedPackedFunc< FType > &  value 
) const
inline

◆ operator()() [9/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
DataType  dtype 
) const
inline

◆ operator()() [10/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
Device  value 
) const
inline

◆ operator()() [11/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
DLDataType  value 
) const
inline

◆ operator()() [12/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
DLTensor *  value 
) const
inline

◆ operator()() [13/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
double  value 
) const
inline

◆ operator()() [14/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
std::nullptr_t  value 
) const
inline

◆ operator()() [15/18]

template<typename T , typename = typename std::enable_if<std::is_integral<T>::value>::type>
TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
value 
) const
inline

◆ operator()() [16/18]

template<typename TObjectRef , typename = typename std::enable_if<std::is_base_of< ObjectRef, typename std::remove_reference<TObjectRef>::type>::value>::type>
TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
TObjectRef &&  value 
) const
inline

◆ operator()() [17/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
uint64_t  value 
) const
inline

◆ operator()() [18/18]

TVM_ALWAYS_INLINE void tvm::runtime::TVMArgsSetter::operator() ( size_t  i,
void *  value 
) const
inline

◆ SetObject()

template<typename T >
void tvm::runtime::TVMArgsSetter::SetObject ( size_t  i,
T &&  value 
) const
inline

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