24 #ifndef TVM_RELAY_ATTRS_ANNOTATION_H_ 25 #define TVM_RELAY_ATTRS_ANNOTATION_H_ 41 TVM_ATTR_FIELD(dtype).describe(
"The data type denoted to be cast.");
53 TVM_ATTR_FIELD(compiler).describe(
"A 3rd party compiler used for code generation.");
59 #endif // TVM_RELAY_ATTRS_ANNOTATION_H_ std::string compiler
A 3rd party compiler for code generation.
Definition: annotation.h:50
TVM_DECLARE_ATTRS(CompilerAttrs, "relay.attrs.CompilerAttrs")
Definition: annotation.h:52
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Options for the operators used to annotate a compiler.
Definition: annotation.h:48
TVM_DECLARE_ATTRS(CastHintAttrs, "relay.attrs.CastHintAttrs")
Definition: annotation.h:40
DataType dtype
Definition: annotation.h:38
Helpers for attribute objects.
Runtime primitive data type.
Definition: data_type.h:41
#define TVM_ATTR_FIELD(FieldName)
Declare an attribute field.
Definition: attrs.h:76
Annotate an expression to be cast into specific data type.
Definition: annotation.h:37
The base class of the all the Use "curiously recurring template pattern".
Definition: attrs.h:834