Skip to main content

Mojo function

apply_oob_mask

apply_oob_mask[ScoreModType: ScoreModTrait, //, *, use_score_mod: Bool, mask_strategy: MaskStrategy, apply_log2e_after_mask: Bool](s_arg: SIMD[DType.float32, 2], 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.float32, 2]

Returns:

SIMD

Was this page helpful?