Skip to content

bloqade.geometry.dialects.grid.stmts.GetSubGrid

← Module overview

classGetSubGridsource

bloqade.geometry.dialects.grid.stmts.GetSubGrid

Bases: ir.Statement

class GetSubGrid

Attributes

NameTypeDefaultDescription
name—'get_sub_grid'
traits—frozenset({ir.Pure(), lowering.FromPythonCall()})
zoneir.SSAValueinfo.argument(type=(GridType[types.Any, types.Any]))
x_indicesir.SSAValueinfo.argument(ilist.IListType[types.Int, GetNumX := (types.TypeVar('GetNumX'))])
y_indicesir.SSAValueinfo.argument(ilist.IListType[types.Int, GetNumY := (types.TypeVar('GetNumY'))])
resultir.ResultValueinfo.result(GridType[GetNumX, GetNumY])