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