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

Function block32

engine/src/split/src/model.cpp:258–262  ·  view source on GitHub ↗

the column slicers take block indices that the callers count in 32-value blocks (ff0 / 32, HS / 32, HD / 32)

Source from the content-addressed store, hash-verified

256
257// the column slicers take block indices that the callers count in 32-value blocks (ff0 / 32, HS / 32, HD / 32)
258TypeInfo block32(const Tensor& t) {
259 const TypeInfo ti = type_info(t.type);
260 if (ti.block != 32) throw std::runtime_error(t.name + ": sliced by columns, which needs 32-value blocks, not " + std::to_string(ti.block));
261 return ti;
262}
263
264struct Up {
265 CardW& c;

Callers 2

colsMethod · 0.85
expert_colsMethod · 0.85

Calls 2

type_infoFunction · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected