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

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

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