code: def _splash_attention_forward(
      fwd_mask_info: mask_info_lib.MaskInfo,
      q: jax.Array,
      k: jax.Array,
      v: jax.Array,
      segment_ids: SegmentIds | None,
      mask_value: float,
      is_mqa: bool,
      block_sizes: BlockSizes,
      residual_checkpoint_name: str | None,
      mask_function: MaskFunctionType | None,
      save_residuals: Literal[True],
      attn_logits_soft_cap: float | None = None,
  ) -> SplashCustomReturnType:
      ...
  
imports: from __future__ import annotations
  import dataclasses
  import enum
  import functools
  from typing import Any, Callable, Literal, NamedTuple, Union, Optional, overload
  import jax
  from jax import ad_checkpoint
  from jax import lax
  from jax import tree_util
  from jax.experimental import pallas
  from jax.experimental.pallas import tpu
  from jax.experimental.pallas.ops.tpu.splash_attention import splash_attention_mask
  from jax.experimental.pallas.ops.tpu.splash_attention import splash_attention_mask_info
  import jax.numpy
  import numpy
label_desc: Use image node_id 16 for calling a global function with example usage: _splash_attention_forward(fwd_mask_info, q, k, v, segment_ids, mask_value, is_mqa, block_sizes, residual_checkpoint_name, mask_function, save_residuals, attn_logits_soft_cap) without return types