For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
apply_oob_mask
def apply_oob_mask[*, mask_strategy: MaskStrategy, apply_log2e_after_mask: Bool](s_arg: SIMD[DType.float32, SIMDSize(2)], *, prompt_idx: UInt32, q_head_idx: UInt32, kv_tile_start_row: Int32, max_seq_len: UInt32, num_keys: Int32, score_row: Int32, score_col: Int32) -> SIMD[DType.float32, SIMDSize(2)]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!