Skip to main content

Mojo function

apply_oob_mask

apply_oob_mask[dtype: DType, ScoreModType: ScoreModTrait, simd_width: Int, //, *, use_score_mod: Bool, mask_strategy: MaskStrategy, apply_log2e_after_mask: Bool](s_arg: SIMD[dtype, simd_width], score_mod: ScoreModType, *, 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, simd_width]

Returns:

SIMD

Was this page helpful?