Class repr#
Defined in File registry.h
Inheritance Relationships#
Base Type#
public tvm::ffi::reflection::InfoTrait(Struct InfoTrait)
Class Documentation#
-
class repr : public tvm::ffi::reflection::InfoTrait#
Trait that controls whether a field appears in repr output.
By default, all fields appear in repr. Use
repr(false)to exclude a field.Public Functions
-
inline explicit repr(bool show)#
Constructor.
- Parameters:
show – Whether the field should appear in repr output.
-
inline void Apply(TVMFFIFieldInfo *info) const#
Apply the repr flag to the field info.
- Parameters:
info – The field info.
-
inline explicit repr(bool show)#