Command
vraven anatomy
Inspect measured local anatomy of Linear layers for one sample
Minimal form
vraven anatomy <model>
Arguments and options
| Option | Meaning | Default |
|---|---|---|
model | PyTorch model file | None |
--model-format | Model storage format. VRAVEN instrumentation supports state_dict and trusted pickle models; TorchScript can be loaded but cannot expose PyTorch hooks. | state_dict |
--model-factory, --factory | Import path such as my_project.models:Classifier | None |
--factory-kwargs | JSON object passed to the model factory | {} |
--state-dict-key | — | None |
--strip-prefix | — | None |
--device | — | cpu |
--non-strict | — | False |
--trusted-model | Allow Python-pickle model loading | False |
--input | Input tensor file | None |
--sample-index | — | 0 |
--target | — | None |
--layers | Optional comma-separated Linear layer names | None |
--top-units | — | 12 |
--output | — | vraven_internal_anatomy.json |
Exact local helpRun
vraven anatomy --help against your installed version before automating a release workflow.