code: def from_batch_payloads(
      cls,
      payloads: t.Sequence[Payload],
      batch_dim: int = 0,
  ) -> tuple[jax.Array, list[int]]:
      batches = [cls.from_payload(payload) for payload in payloads]
      return cls.batches_to_batch(batches, batch_dim)
  
file_path: BentoML/grpc-client/bentoml/_internal/frameworks/common/jax.py
imports: from __future__ import annotations
  import itertools
  import pickle
  import typing
  from typing import TYPE_CHECKING
  from simple_di import inject
  from ....exceptions import MissingDependencyException
  from ...runner.container import DataContainer
  from ...runner.container import DataContainerRegistry
  from ...runner.container import Payload
  from ...types import LazyType
  from ...utils import LazyLoader
label_desc: Use image node_id 6 for calling the JaxArrayContainer obj's underlying member method code with example usage: obj.from_batch_payloads(cls, payloads, batch_dim) and returns: cls