MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / format_dims

Function format_dims

src/framework/debug/trace.cpp:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151bool timing_log_enabled() {
152 return log_enabled();
153}
154
155std::string format_dims(const std::vector<int64_t> & dims) {
156 std::ostringstream oss;
157 oss << "[";
158 for (size_t i = 0; i < dims.size(); ++i) {
159 if (i != 0) {
160 oss << ",";
161 }
162 oss << dims[i];
163 }
164 oss << "]";
165 return oss.str();
166}
167

Callers 2

trace_log_f32Function · 0.85
trace_log_i32Function · 0.85

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected