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

Method to_string

src/framework/core/module.cpp:91–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 return result;
90}
91
92std::string TensorShape::to_string() const {
93 std::ostringstream out;
94 out << "[";
95 for (size_t i = 0; i < rank; ++i) {
96 if (i > 0) {
97 out << ", ";
98 }
99 out << dims[i];
100 }
101 out << "]";
102 return out.str();
103}
104
105bool TensorValue::valid() const noexcept {

Callers 4

wrap_tensorFunction · 0.80
validate_shapeFunction · 0.80
require_same_shapeFunction · 0.80
run_caseFunction · 0.80

Calls 1

strMethod · 0.80

Tested by 2

require_same_shapeFunction · 0.64
run_caseFunction · 0.64