bloqade.geometry.dialects.grid.stmts.GetSubGrid
← Module overview
class
classGetSubGrid¶source
bloqade.geometry.dialects.grid.stmts.GetSubGrid
Bases: ir.Statement
class GetSubGridAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'get_sub_grid' | |
traits | — | frozenset({ir.Pure(), lowering.FromPythonCall()}) | |
zone | ir.SSAValue | info.argument(type=(GridType[types.Any, types.Any])) | |
x_indices | ir.SSAValue | info.argument(ilist.IListType[types.Int, GetNumX := (types.TypeVar('GetNumX'))]) | |
y_indices | ir.SSAValue | info.argument(ilist.IListType[types.Int, GetNumY := (types.TypeVar('GetNumY'))]) | |
result | ir.ResultValue | info.result(GridType[GetNumX, GetNumY]) |