tvm_tirx.tirx.script.abi_field_set

Contents

tvm_tirx.tirx.script.abi_field_set#

tvm_tirx.tirx.script.abi_field_set(arr, index, field, value, *, ty=None, loc=UNKNOWN_LOC)#

Set value in struct field in array

Parameters:
  • arr (StructType*) – The array of struct.

  • index (int) – The index of struct.

  • field (int) – The field of struct.

  • value (Expr) – The value to be set in field.

  • loc (Location)

Returns:

call (Expr) – The call expression.