MCPcopy Create free account
hub / github.com/Niko1221/Strata / row_bytes

Method row_bytes

engine/src/split/src/gguf.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59size_t Tensor::row_bytes() const {
60 const TypeInfo ti = type_info(type);
61 return (size_t) (ne[0] / ti.block) * ti.bytes;
62}
63
64namespace {
65struct Cur {

Callers 14

bindMethod · 0.45
make_q4_headMethod · 0.45
bindMethod · 0.45
mainFunction · 0.45
load_dflash2Function · 0.45
rowsMethod · 0.45
rows2Method · 0.45
rows3Method · 0.45
f32_rows2Method · 0.45
colsMethod · 0.45
expert_rowsMethod · 0.45
expert_rows2Method · 0.45

Calls 1

type_infoFunction · 0.70

Tested by 1

mainFunction · 0.36