Although constructor methods can improve clarity, there are many
contexts in which it is useful to use range() as a shape: notably
Layout, but also Const and AnyConst/AnyValue. Instead of duplicating
these constructor methods everywhere (which is not even easily
possible for Layout), use casting to Shape, introduced in
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ast.py | ||
| cd.py | ||
| dsl.py | ||
| ir.py | ||
| mem.py | ||
| rec.py | ||
| xfrm.py | ||