| 319 | std::optional<QTensor> wkv_b() const { return _wkv_b; } |
| 320 | std::optional<QTensor> wo() const { return _wo; } |
| 321 | f16_t* key_cache() const { return _key_cache; } |
| 322 | f16_t* key_cache(int pos) const { return _key_cache + pos * _config->head_dim * _config->n_heads; } |
| 323 | f16_t* value_cache() const { return _value_cache; } |
| 324 | f16_t* value_cache(int pos) const { return _value_cache + pos * _config->v_head_dim * _config->n_heads; } |