code: def _host_to_device_funcs():
      """Generates host-to-device transfer functions."""
      return [
          # (function name, is an explicit transfer?, function)
          (
              "host_to_device_jax_device_put",
              True,
              lambda: jax.device_put(np.ones(10)),
          ),
          (
              "host_to_device_jax_jit",
              False,
              lambda: jax.jit(lambda x: x)(np.ones(1)),
          ),
          ("host_to_device_jnp_one", False, lambda: jnp.ones(1)),
      ]
  
imports: import contextlib
  import pickle
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import jax
  import jax._src.test_util
  import jax.numpy
  from jax import config
label_desc: Use image node_id 1 for calling a global function with example usage: _host_to_device_funcs() and returns: list