Skip to main content

Module verify_structure

Module verify_structure 

Source
Expand description

pv verify-structure — verify model architecture matches contracts.

Two modes:

  1. Contract-only (no model file): enumerate expected tensors from apr-architecture-schema-v1 equations for a given config.
  2. With model file (future): compare expected vs actual tensors.

Spec: docs/specifications/sub/model-layout-provability.md (§36, P0-4)

Functions§

run
Run the verify-structure command.