Class DefaultValue#
Defined in File registry.h
Inheritance Relationships#
Base Type#
public tvm::ffi::reflection::InfoTrait(Struct InfoTrait)
Derived Type#
public tvm::ffi::reflection::default_value(Class default_value)
Class Documentation#
-
class DefaultValue : public tvm::ffi::reflection::InfoTrait#
Trait that can be used to set field default value.
Subclassed by tvm::ffi::reflection::default_value
Public Functions
-
inline void Apply(TVMFFIFieldInfo *info) const#
Apply the default value to the field info.
- Parameters:
info – The field info.
-
inline void Apply(TVMFFIFieldInfo *info) const#