tvm
Public Types | Public Member Functions | Public Attributes | List of all members
tvm::detail::AttrInitEntry< T > Struct Template Reference

#include <attrs.h>

Collaboration diagram for tvm::detail::AttrInitEntry< T >:

Public Types

using TSelf = AttrInitEntry< T >
 

Public Member Functions

 AttrInitEntry ()=default
 
 AttrInitEntry (AttrInitEntry &&other)
 
 ~AttrInitEntry () DMLC_THROW_EXCEPTION
 
TSelfset_lower_bound (const T &begin)
 
TSelfset_upper_bound (const T &end)
 
TSelfset_default (const T &value)
 
TSelfdescribe (DMLC_ATTRIBUTE_UNUSED const char *str)
 

Public Attributes

const char * type_key_
 
const char * key_
 
T * value_
 
bool value_missing_ {false}
 

Member Typedef Documentation

◆ TSelf

template<typename T >
using tvm::detail::AttrInitEntry< T >::TSelf = AttrInitEntry<T>

Constructor & Destructor Documentation

◆ AttrInitEntry() [1/2]

template<typename T >
tvm::detail::AttrInitEntry< T >::AttrInitEntry ( )
default

◆ AttrInitEntry() [2/2]

template<typename T >
tvm::detail::AttrInitEntry< T >::AttrInitEntry ( AttrInitEntry< T > &&  other)
inline

◆ ~AttrInitEntry()

template<typename T >
tvm::detail::AttrInitEntry< T >::~AttrInitEntry ( )
inline

Member Function Documentation

◆ describe()

template<typename T >
TSelf& tvm::detail::AttrInitEntry< T >::describe ( DMLC_ATTRIBUTE_UNUSED const char *  str)
inline

◆ set_default()

template<typename T >
TSelf& tvm::detail::AttrInitEntry< T >::set_default ( const T &  value)
inline

◆ set_lower_bound()

template<typename T >
TSelf& tvm::detail::AttrInitEntry< T >::set_lower_bound ( const T &  begin)
inline

◆ set_upper_bound()

template<typename T >
TSelf& tvm::detail::AttrInitEntry< T >::set_upper_bound ( const T &  end)
inline

Member Data Documentation

◆ key_

template<typename T >
const char* tvm::detail::AttrInitEntry< T >::key_

◆ type_key_

template<typename T >
const char* tvm::detail::AttrInitEntry< T >::type_key_

◆ value_

template<typename T >
T* tvm::detail::AttrInitEntry< T >::value_

◆ value_missing_

template<typename T >
bool tvm::detail::AttrInitEntry< T >::value_missing_ {false}

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