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

CKA between every pair from two lists of representations, such as the layers of two models: values[i * cols + j] compares a[i] with b[j]. More...

#include <representation_similarity.hpp>

Public Member Functions

double at (int64_t row, int64_t col) const
 

Public Attributes

int64_t rows = 0
 
int64_t cols = 0
 
std::vector< double > values
 

Detailed Description

CKA between every pair from two lists of representations, such as the layers of two models: values[i * cols + j] compares a[i] with b[j].

Member Function Documentation

◆ at()

double pulsatrix::CkaMatrix::at ( int64_t  row,
int64_t  col 
) const

Member Data Documentation

◆ cols

int64_t pulsatrix::CkaMatrix::cols = 0

◆ rows

int64_t pulsatrix::CkaMatrix::rows = 0

◆ values

std::vector<double> pulsatrix::CkaMatrix::values

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