Contents Menu Expand Light mode Dark mode Auto light/dark mode
graphpatch 0.2.3 documentation
graphpatch 0.2.3 documentation
  • Overview
  • API
    • ExtractionOptions
    • Patch
    • PatchableGraph
  • Data structures
    • CompiledGraphModule
    • MultiplyInvokedModule
    • NodePath
    • OpaqueGraphModule
  • Notes on compilation
  • What is activation patching?
  • Working with graphpatch
Back to top

Data structures¶

PatchableGraph returns some types that are not meant to be directly constructed by users. CompiledGraphModule and OpaqueGraphModule are the transformed versions of the submodules of a module made patchable by graphpatch. NodePath is a REPL-oriented structure for easier navigation of the generated graphs.

Reference¶

  • CompiledGraphModule
  • MultiplyInvokedModule
  • NodePath
  • OpaqueGraphModule
Next
CompiledGraphModule
Previous
PatchableGraph
Copyright © 2023–2024, Evan Lloyd
Made with Sphinx and @pradyunsg's Furo
On this page
  • Data structures
    • Reference