Skip to main content

Module op_def

Module op_def 

Source
Expand description

Operator registration. An OpDef registers an Op with a signature of sig descriptors, from which its call validator is generated, and attribute values keyed by an AttrKey, such as the shared ones in op_attr.

Modules§

op_attr
The keys of the operator attributes of the shared IR.
sig
Signature descriptors for OpDef::signature.

Structs§

AttrKey
The key of an operator attribute: its name and the type T of its values.
OpDef
A chain of steps that registers a new operator.

Enums§

CallEffectKind
The runtime effect of an operator call: the value of op_attr::CALL_EFFECT_KIND.