tvm_tirx.script.ir_builder.parser_protocol.continue_

Contents

tvm_tirx.script.ir_builder.parser_protocol.continue_#

tvm_tirx.script.ir_builder.parser_protocol.continue_(*, loc=None)#

Emit continue for the enclosing language variant loop.

Parameters:

loc (LocationEntry, Location or None, optional) – Location for the constructed result. None (the default) leaves explicit location unspecified; active source-call provenance is composed by the builder. Frames retain their location until finalization.

Returns:

AlreadyEmitted[Any] – Receipt retaining the exact emitted statement; consuming it emits nothing again.

Return type:

AlreadyEmitted[Any]

Notes

TIRx requires an enclosing native ForFrame or WhileFrame inside the current primitive function, emits continue for that loop and raises ValueError otherwise. Relax raises TypeError. Explicit constexpr loops retain ordinary Python control flow.

# Source
continue
# Generated builder
X.continue_()