Function sequant::eval::dryrun::make_dryrun_array_ops

Function Documentation

inline BackendArrayOps sequant::eval::dryrun::make_dryrun_array_ops(std::shared_ptr<CostModel const> cm)

Build a BackendArrayOps for the dry-run cost backend.

The dry-run analogue of make_ta_array_ops: make_zeros returns a full-extent dry-run token shaped by the descriptor (every mode at its space’s natural CostModel extent), and axis_batches partitions an axis’s full space extent exactly as DryRunOps::mode_batches does for an unsliced, override-free single-mode token (so the dry run realizes the same batch count the wet backend does, via the shared SizeRegime::space_slice_extents partition). Install it on the eval cache (CacheManager::set_array_ops) for a dry-run batched eval.