| 25 | } |
| 26 | template <typename T> |
| 27 | static 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 | } |
| 30 | void dump_debug_map(const std::string& filename) { |
| 31 | std::ofstream out(filename); |
| 32 | if (!out.is_open()) { |
nothing calls this directly
no test coverage detected