pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::CommitmentPatchResult Struct Reference

Step-resolved patching against the relevance relayed through each committed token. More...

#include <masked_diffusion_lrp.hpp>

Public Attributes

std::vector< int64_t > positions
 The generated positions patched: every non-target position written before the last target's step.
 
std::vector< float > relayed
 The relevance relayed through each (CommitmentRelevance::relayed).
 
std::vector< float > effect
 The value minus its value with the position left masked from its write step on.
 
double spearman = 0
 Spearman correlation of relayed relevance with the effect; 0 for fewer than 3 positions. A token the graph routes much relevance through should matter more.
 

Detailed Description

Step-resolved patching against the relevance relayed through each committed token.

Member Data Documentation

◆ effect

std::vector<float> pulsatrix::CommitmentPatchResult::effect

The value minus its value with the position left masked from its write step on.

◆ positions

std::vector<int64_t> pulsatrix::CommitmentPatchResult::positions

The generated positions patched: every non-target position written before the last target's step.

◆ relayed

std::vector<float> pulsatrix::CommitmentPatchResult::relayed

The relevance relayed through each (CommitmentRelevance::relayed).

◆ spearman

double pulsatrix::CommitmentPatchResult::spearman = 0

Spearman correlation of relayed relevance with the effect; 0 for fewer than 3 positions. A token the graph routes much relevance through should matter more.


The documentation for this struct was generated from the following file: