tvm_tirx.tirx.script.decl_mutable_cell_

tvm_tirx.tirx.script.decl_mutable_cell_#

tvm_tirx.tirx.script.decl_mutable_cell_(value=_base.MISSING, *, ty=None, name=None, loc=None, name_loc=None)#

Implements tvm_tirx.script.ir_builder.parser_protocol.decl_mutable_cell_().

Primitive annotations allocate scalar local storage; vector annotations allocate their declared shape. Var declaration producers retain their own effects.

Parameters:
  • value (Any)

  • ty (Any)

  • name (str | None)

  • loc (LocationEntry | Location | None)

  • name_loc (LocationEntry | Location | None)

Return type:

Any