Class DefaultValue#
Defined in File registry.h
Inheritance Relationships#
Base Type#
public tvm::ffi::reflection::FieldInfoTrait
(Struct FieldInfoTrait)
Class Documentation#
-
class DefaultValue : public tvm::ffi::reflection::FieldInfoTrait#
Trait that can be used to set field 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#