Function tvm::GetRegionBodyParams

Function tvm::GetRegionBodyParams#

Function Documentation#

ffi::Array<Var> tvm::GetRegionBodyParams(Op op, ffi::Array<Expr> args, DictAttrs attrs)#

Validate region operands and construct fresh typed body parameters.

Parameters:
  • op – The region operation.

  • args – Operands evaluated in the enclosing scope.

  • attrs – Attributes evaluated in the enclosing scope.

Throws:

ValueError – if the operation has no registered region hook.

Returns:

Parameters from the required FRegionGetBodyParams hook.