code: def ones_init() -> Initializer:
      """Builds an initializer that returns a constant array full of ones.
  
      >>> import jax, jax.numpy as jnp
      >>> from flax.linen.initializers import ones_init
      >>> ones_initializer = ones_init()
      >>> ones_initializer(jax.random.key(42), (3, 2), jnp.float32)
      Array([[1., 1.],
             [1., 1.],
             [1., 1.]], dtype=float32)
      """
      return ones
  
imports: from jax.nn.initializers import Initializer
  from jax.nn.initializers import constant
  from jax.nn.initializers import delta_orthogonal
  from jax.nn.initializers import glorot_normal
  from jax.nn.initializers import glorot_uniform
  from jax.nn.initializers import he_normal
  from jax.nn.initializers import he_uniform
  from jax.nn.initializers import kaiming_normal
  from jax.nn.initializers import kaiming_uniform
  from jax.nn.initializers import lecun_normal
  from jax.nn.initializers import lecun_uniform
  from jax.nn.initializers import normal
  from jax.nn.initializers import ones
  from jax.nn.initializers import orthogonal
  from jax.nn.initializers import truncated_normal
  from jax.nn.initializers import uniform
  from jax.nn.initializers import variance_scaling
  from jax.nn.initializers import xavier_normal
  from jax.nn.initializers import xavier_uniform
  from jax.nn.initializers import zeros
label_desc: Use image node_id 2 for calling a global function with example usage: ones_init() and returns: ones