tvm
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions
tvm::detail Namespace Reference

Classes

class  AttrDocEntry
 
class  AttrDocVisitor
 
class  AttrExistVisitor
 
struct  AttrInitEntry
 
class  AttrInitVisitor
 
class  AttrNonDefaultVisitor
 
struct  AttrNopEntry
 
class  AttrNormalVisitor
 
class  AttrsSEqualVisitor
 
class  AttrsSHashVisitor
 
struct  AttrTriggerNonDefaultEntry
 
struct  ImplSEqualReduce
 
struct  ImplSEqualReduce< T, true >
 
struct  ImplSHashReduce
 
struct  ImplSHashReduce< T, true >
 
struct  ImplVisitAttrs
 
struct  ImplVisitAttrs< T, true >
 
struct  is_specialized
 
struct  is_specialized< Container< Args... >, Container >
 
struct  ReflectionTrait
 
struct  SelectSEqualReduce
 
struct  SelectSEqualReduce< T, TraitName, false >
 
struct  SelectSHashReduce
 
struct  SelectSHashReduce< T, TraitName, false >
 
struct  SelectVisitAttrs
 
struct  SelectVisitAttrs< T, TraitName, false >
 
struct  TypeName
 Helper struct to get the type name known to tvm. More...
 
struct  TypeName< bool >
 
struct  TypeName< DataType >
 
struct  TypeName< double >
 
struct  TypeName< int >
 
struct  TypeName< int64_t >
 
struct  TypeName< std::string >
 
struct  TypeName< uint64_t >
 
struct  TypeName< void * >
 
struct  ValueTypeInfoMaker
 
struct  ValueTypeInfoMaker< ValueType, std::false_type, std::false_type >
 
struct  ValueTypeInfoMaker< ValueType, std::false_type, std::true_type >
 
struct  ValueTypeInfoMaker< ValueType, std::true_type, std::false_type >
 

Functions

template<typename T >
void SetValue (T *ptr, const TVMArgValue &val)
 
template<typename T >
void SetIntValue (T *ptr, const TVMArgValue &val)
 
template<>
void SetValue< DataType > (DataType *ptr, const TVMArgValue &val)
 
template<>
void SetValue< double > (double *ptr, const TVMArgValue &val)
 
template<>
void SetValue< int > (int *ptr, const TVMArgValue &val)
 
template<>
void SetValue< int64_t > (int64_t *ptr, const TVMArgValue &val)
 
template<>
void SetValue< uint64_t > (uint64_t *ptr, const TVMArgValue &val)
 
template<>
void SetValue< bool > (bool *ptr, const TVMArgValue &val)
 
template<typename FFind >
AttrInitVisitor< FFind > CreateInitVisitor (const char *type_key, FFind ffind)
 

Function Documentation

◆ CreateInitVisitor()

template<typename FFind >
AttrInitVisitor<FFind> tvm::detail::CreateInitVisitor ( const char *  type_key,
FFind  ffind 
)
inline

◆ SetIntValue()

template<typename T >
void tvm::detail::SetIntValue ( T *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue()

template<typename T >
void tvm::detail::SetValue ( T *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue< bool >()

template<>
void tvm::detail::SetValue< bool > ( bool *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue< DataType >()

template<>
void tvm::detail::SetValue< DataType > ( DataType ptr,
const TVMArgValue val 
)
inline

◆ SetValue< double >()

template<>
void tvm::detail::SetValue< double > ( double *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue< int >()

template<>
void tvm::detail::SetValue< int > ( int *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue< int64_t >()

template<>
void tvm::detail::SetValue< int64_t > ( int64_t *  ptr,
const TVMArgValue val 
)
inline

◆ SetValue< uint64_t >()

template<>
void tvm::detail::SetValue< uint64_t > ( uint64_t *  ptr,
const TVMArgValue val 
)
inline