|
tvm
|
Variables | |
| constexpr const char * | kPrimitive = "Primitive" |
| Mark the function as a primitive function. | |
| constexpr const char * | kCodegen = "Codegen" |
| Indicate the codegen that should be used for building this function. When this is unset or set to "default", the default compilation pipeline will be used. | |
| constexpr const char * | kComposite = "Composite" |
| Treat the function as a composite operator. | |
| constexpr const char * | kPartitionedFromPattern = "PartitionedFromPattern" |
| Indicate the function was created by the Pattern Partitioning Pass. | |
| constexpr const char * | kWorkspaceSize = "WorkspaceSize" |
| The required workspace for an external function. | |
| constexpr const char * | kForcePure = "relax.force_pure" |
| Override checking purity for this function and treat as pure (is_pure must be set to true) | |
| constexpr const char * | kNumInput = "num_input" |
| The number of inputs of a function. If a function has the num_input attribute, the last func->params.size() - num_inputs arguments are assumed to be weights that are fixed across invocations. | |
Indicate the codegen that should be used for building this function. When this is unset or set to "default", the default compilation pipeline will be used.
Treat the function as a composite operator.
Override checking purity for this function and treat as pure (is_pure must be set to true)
The number of inputs of a function. If a function has the num_input attribute, the last func->params.size() - num_inputs arguments are assumed to be weights that are fixed across invocations.
|
constexpr |
Indicate the function was created by the Pattern Partitioning Pass.
Mark the function as a primitive function.