tvm
|
Helper structure to register Runtimes. More...
#include <runtime.h>
Public Member Functions | |
template<typename ValueType > | |
RuntimeRegEntry & | add_attr_option (const String &key) |
Register a valid configuration option and its ValueType for validation. More... | |
template<typename ValueType > | |
RuntimeRegEntry & | add_attr_option (const String &key, ObjectRef default_value) |
Register a valid configuration option and its ValueType for validation. More... | |
Static Public Member Functions | |
static RuntimeRegEntry & | RegisterOrGet (const String &name) |
Register or get a new entry. More... | |
Friends | |
template<typename > | |
class | AttrRegistryMapContainerMap |
template<typename , typename > | |
class | tvm::AttrRegistry |
class | Runtime |
Helper structure to register Runtimes.
|
inline |
Register a valid configuration option and its ValueType for validation.
key | The configuration key |
ValueType | The value type to be registered |
|
inline |
Register a valid configuration option and its ValueType for validation.
key | The configuration key |
default_value | The default value of the key |
ValueType | The value type to be registered |
|
static |
Register or get a new entry.
name | The name of the operator. |
|
friend |
|
friend |
|
friend |