Contents:
Turn a dynamic shape into a compile-time constant. Example:
hl.specialize(tensor.size(1))
value (int | SymInt) – The symbolic value to specialize on.
int
SymInt
The specialized value.
See also
ConstExpr: Create compile-time constants for kernel parameters
ConstExpr