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

Function product

src/framework/audio/zipenhancer.cpp:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63int64_t product(const std::vector<int64_t> & shape) {
64 return std::accumulate(shape.begin(), shape.end(), int64_t{1}, std::multiplies<int64_t>{});
65}
66
67core::TensorShape tensor_shape_from_vector(const std::vector<int64_t> & shape) {
68 if (shape.empty()) {

Callers 1

load_from_directoryMethod · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected