the column slicers take block indices that the callers count in 32-value blocks (ff0 / 32, HS / 32, HD / 32)
| 256 | |
| 257 | // the column slicers take block indices that the callers count in 32-value blocks (ff0 / 32, HS / 32, HD / 32) |
| 258 | TypeInfo 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 | |
| 264 | struct Up { |
| 265 | CardW& c; |
no test coverage detected