`NG_HIST` rows of `hc_dim` floats: the PLE conv's history, which is the ONLY PLE state that lives in the session arena. The table and the weights are model-level and the caller owns them.
| 48 | /// `NG_HIST` rows of `hc_dim` floats: the PLE conv's history, which is the ONLY PLE state that lives in the |
| 49 | /// session arena. The table and the weights are model-level and the caller owns them. |
| 50 | static uint64_t ple_hist_bytes() { |
| 51 | return (uint64_t) strata::kernels::NG_HIST * strata::kernels::NG_HC_DIM * sizeof(float); |
| 52 | } |
| 53 | |
| 54 | uint64_t session_bytes(const ModelGeometry& g, int64_t max_cells, int64_t k, int64_t layer_lo, int64_t layer_hi) { |
| 55 | if (layer_hi < 0 || layer_hi > g.n_layers) layer_hi = g.n_layers; |
no outgoing calls
no test coverage detected