Skip to content

bloqade.geometry.dialects.grid.stmts.FromPositions

← Module overview

classFromPositionssource

bloqade.geometry.dialects.grid.stmts.FromPositions

Bases: ir.Statement

class FromPositions

Attributes

NameTypeDefaultDescription
name—'from_positions'
traits—frozenset({ir.Pure(), lowering.FromPythonCall()})
x_positionsir.SSAValueinfo.argument(type=(ilist.IListType[types.Float, NumX := (types.TypeVar('NumX'))]))
y_positionsir.SSAValueinfo.argument(type=(ilist.IListType[types.Float, NumY := (types.TypeVar('NumY'))]))
resultir.ResultValueinfo.result(GridType[NumX, NumY])