Function tvm::script::printer::AddMetadata#
Defined in File support.h
Function Documentation#
-
ExprDoc tvm::script::printer::AddMetadata(DocTranslatorObj *d, ffi::Any value)#
Store a non-null value in the initialized metadata table.
- Parameters:
d – The translator with metadata state and identifier initialized.
value – The value, reusing an equal existing entry of the same type.
- Returns:
The metadata lookup Doc, recording the value’s origin when it is an object.