bloqade.lanes.dialects.stack_move.SetDetector
← Module overview
class
classSetDetector¶source
bloqade.lanes.dialects.stack_move.SetDetector
Bases: ir.Statement
Build a detector record from a 1-D array of measurement results. Matches annotate.SetDetector's signature — produces a Detector.
class SetDetectorThe array type is tightened to require MeasurementResult elements (the output of AwaitMeasure) and a 1-D shape (dim1=0 per the bytecode convention). Validation of this constraint is the job of type-inference passes, not the decoder.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({lowering.FromPythonCall()}) | |
array | ir.SSAValue | info.argument(type=(ArrayType[MeasurementResultType, types.Any, types.Literal(0)])) | |
result | ir.ResultValue | info.result(DetectorType) |