code: def default_trajectory_length_init(
      init_trajectory_length: fun_mc.FloatArray,
  ) -> DefaultTrajectoryLengthParams:
      """Initializes trajectory parameters.
  
      Args:
        init_trajectory_length: Initial mean trajectory length.
  
      Returns:
        trajectory_length_params: Initialized trajectory parameters.
      """
      return DefaultTrajectoryLengthParams(
          log_mean_trajectory_length=jnp.log(init_trajectory_length)
      )
  
imports: from collections.abc import Mapping
  from typing import Any, Callable, NamedTuple, Optional
  import immutabledict
  from fun_mc import backend
  from fun_mc import fun_mc_lib
label_desc: Use image node_id 7 for calling a global function with example usage: default_trajectory_length_init(init_trajectory_length) and returns: DefaultTrajectoryLengthParams