code: def split_params_for_pmap(param: jnp.ndarray) -> jnp.ndarray:
      return jnp.stack(jnp.split(param, jax.local_device_count()))
  
imports: import logging
  from functools import partial
  from typing import Tuple
  from typing import Union
  import time
  import jax
  import jax.numpy
  from jax import random
  from jax.tree_util import tree_map
  from evojax.obs_norm import ObsNormalizer
  from evojax.task.base import TaskState
  from evojax.task.base import VectorizedTask
  from evojax.policy.base import PolicyState
  from evojax.policy.base import PolicyNetwork
  from evojax.util import create_logger
label_desc: Use image node_id 2 for calling a global function with example usage: split_params_for_pmap(param) and returns: jnp