Skip to main content

tiles_within_wasm_budget

Function tiles_within_wasm_budget 

Source
pub fn tiles_within_wasm_budget(cfg: &TileConfig, cost: &TileCost) -> usize
Expand description

How many tiles of this config fit a browser’s share of heap — at least one, however big the patch — for a network of this cost (ModelSpec::tile_cost).