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

#include <attrs.h>

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

Public Types

using TSelf = AttrTriggerNonDefaultEntry< T >
 

Public Member Functions

 AttrTriggerNonDefaultEntry (AttrVisitor *visitor, const char *key, T *data)
 
 ~AttrTriggerNonDefaultEntry () DMLC_THROW_EXCEPTION
 
TSelfdescribe (DMLC_ATTRIBUTE_UNUSED const char *str)
 
TSelfset_default (const T &value)
 
TSelfset_lower_bound (DMLC_ATTRIBUTE_UNUSED const T &begin)
 
TSelfset_upper_bound (DMLC_ATTRIBUTE_UNUSED const T &end)
 

Member Typedef Documentation

◆ TSelf

Constructor & Destructor Documentation

◆ AttrTriggerNonDefaultEntry()

template<typename T >
tvm::detail::AttrTriggerNonDefaultEntry< T >::AttrTriggerNonDefaultEntry ( AttrVisitor visitor,
const char *  key,
T *  data 
)
inline

◆ ~AttrTriggerNonDefaultEntry()

Member Function Documentation

◆ describe()

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

◆ set_default()

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

◆ set_lower_bound()

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

◆ set_upper_bound()

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

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