All pages
Read a model's frozen parameters
(frozen-parameters roots) returns a path-keyed plist of nonbuffer parameters
outside the trainable floating-point tree: parameters declared
:trainable false, and integer or boolean parameters. It accepts a model or a
static list/vector/plist of model roots. Paths are ordered lexically, a tied
value appears once, and shapes, kinds and shared values are preserved.
Save the buffered model as
buffered.sx, then inspect its frozen scale:
sexpgpu probe buffered.sx --expr '(getf (frozen-parameters model) :model.scale)' --max-elements 100The result is 4.0. The tree is nil when there are no such parameters.
Combine it with parameters and buffers using
tree-merge to bind every value a
functional-call reads. Differentiate only the trainable
parameter tree and capture the other two trees outside that argument.
Like parameters, query inside a function or lambda after model paths are
assigned. An early query during top-level loading is E-FUNC-003. Reading or
replacing a leaf does not change the model's stored values.