MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / update_summary

Function update_summary

tests/test_phase4.cpp:136–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136static void update_summary(summary_row & row,
137 const std::string & tensor_name,
138 const compare_result & r,
139 bool ok) {
140 if (!row.measured || r.max_diff >= row.max_diff) {
141 row.max_diff = r.max_diff;
142 row.mean_diff = r.mean_diff;
143 row.cosine_sim = r.cosine_sim;
144 row.worst_tensor = tensor_name;
145 }
146 row.measured = true;
147 row.ok = row.ok && ok;
148}
149
150int main(int argc, char ** argv) {
151 if (argc < 4) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected