Skip to main content

Mojo function

dispatch_mask_and_score_mod

dispatch_mask_and_score_mod[mask_type: String, score_mod_type: String, callback_fn: fn[mask_t: MHAMask, score_mod_t: ScoreModTrait](mask: mask_t, score_mod: score_mod_t) raises capturing -> None, local_window_size: Int = -1, num_heads: Int = -1]()

Was this page helpful?