MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / save_debug_tensor

Function save_debug_tensor

src/infer.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26template <typename T>
27static void save_debug_tensor(const std::string& name, T* x, size_t size) {
28 _debug_map[name] = DebugTensor(copy_debug_tensor<T>(x, size));
29}
30void dump_debug_map(const std::string& filename) {
31 std::ofstream out(filename);
32 if (!out.is_open()) {

Callers

nothing calls this directly

Calls 1

DebugTensorClass · 0.85

Tested by

no test coverage detected