↓ 92 callersFunctionappend_call_sample_docstring(
model_class, checkpoint, output_type, config_class, mask=None, revision=None, real_checkpoint=None
)
src/transformers/src/transformers/modeling_flax_utils.py:1271
↓ 72 callersFunction_prepare_4d_attention_mask Creates a non-causal 4D mask of shape `(batch_size, 1, query_length, key_value_length)` from a 2D mask of shape `(batch_size, key_value_lengt
src/transformers/src/transformers/modeling_attn_mask_utils.py:410