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

Method at

src/framework/core/module.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int64_t TensorShape::at(size_t index) const {
54 if (index >= rank) {
55 throw std::runtime_error("TensorShape index out of range");
56 }
57 return dims[index];
58}
59
60int64_t TensorShape::last_dim() const {
61 return at(rank - 1);

Callers 15

buildMethod · 0.45
linear_nativeFunction · 0.45
linear_nativeFunction · 0.45
buildMethod · 0.45
kv_cache.cppFile · 0.45
char_weightMethod · 0.45
build_acoustic_decoderFunction · 0.45
first_order_updateMethod · 0.45
second_order_updateMethod · 0.45
VibeVoiceSessionMethod · 0.45

Calls

no outgoing calls

Tested by 2

jdstFunction · 0.36