tvm_tirx::ir::op_def

Module op_attr

Source
Expand description

The operator attributes of the shared IR (C++ tvm::op_attr). The hooks, FInferType and the region ones, have setters of their own on OpDef.

Constantsยง

  • The runtime effect of a call (C++ kCallEffectKind, TCallEffectKind).
  • The result type of every call, independent of its operands, attributes and type arguments, which takes precedence over FInferType (C++ kFixedReturnType, TFixedReturnType).