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

API¶

The public API to graphpatch consists of PatchableGraph, which is a wrapper around Module, and Patch, which is a compact representation of an intervention to perform on an intermediate Tensor value.

Reference¶

  • ExtractionOptions
  • Patch
  • PatchableGraph
Next
ExtractionOptions
Previous
Home
Copyright © 2023–2024, Evan Lloyd
Made with Sphinx and @pradyunsg's Furo
On this page
  • API
    • Reference