command.parameter
← command dialect
Associate immutable named parameter content with an explicit command-program buffer root. The pattern contains one canonical decimal placeholder for each index substitution. The result is a logical typed view; this operation performs no allocation, lookup, transfer, or synchronization.
Operation contract
| Property |
Value |
| Semantic phase |
executable |
| Traits |
Pure, RefinableResultTypeRefs |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
source |
buffer |
required |
Command-program buffer containing the parameter. |
| Operand |
substitutions |
index |
variadic |
Canonical decimal values substituted into the parameter pattern. |
| Result |
result |
view |
required |
Typed logical view of the named parameter. |
| Attribute |
pattern |
string |
required |
Parameter key with one '{}' placeholder per substitution operand. |
Examples
%embedding = command.parameter %parameters, "token_embd.weight" : view<175030272xi8>
%query = command.parameter %parameters, "blk.{}.attn_q.weight"[%layer] : view<4718592xi8>