Skip to contents

The schematic describes architecture metadata, not measured activity, causal influence or coefficients currently applied by an active worker. Unknown architectures use generic blocks; unsupported captures are labelled.

Usage

# S3 method for class 'llm'
plot(x, layers = NULL, ...)

Arguments

x

An open llm handle.

layers

NULL for up to 32 blocks, or explicit unique 1-based indices.

...

Named main, cex or col (one or three colors).

Value

Invisibly, the plain data frame of displayed sites and intervention counts. configured_projections counts static component projections, including zero coefficients; it does not count additive live revisions.

Examples

# Optional local model; never downloads a model during examples.
path <- Sys.getenv("RELM_EXAMPLE_MODEL", "")
if (nzchar(path) && file.exists(path)) {
  model <- llm(path, backend = "cpu")
  figure <- tempfile(fileext = ".pdf")
  grDevices::pdf(figure, width = 10, height = 7)
  tryCatch(plot(model, layers = 1:2),
           finally = { grDevices::dev.off(); close(model) })
  unlink(figure)
}