Function tvm::script::ir_builder::ir::Region

Function tvm::script::ir_builder::ir::Region#

Function Documentation#

RegionFrame tvm::script::ir_builder::ir::Region(Op op, ffi::Array<Expr> args, ffi::Optional<ffi::Array<Var>> body_params = std::nullopt, DictAttrs attrs = DictAttrs())#

Construct a result-free region with lexical body parameters.

Parameters:
  • op – The region operation.

  • args – Operands evaluated outside the region body.

  • body_params – Existing body parameters, or omitted to generate them from the operation.

  • attrs – Additional operation attributes.