code: def _start_trial(
      client: experimental.Determined,
      trial_id: int,
      resume: bool,
      distributed: Optional[core.DistributedContext] = None,
  ) -> bindings.v1StartTrialResponse:
      return _run_on_rank_0_and_broadcast(
          lambda: _start_trial_inner(client, trial_id, resume),
          distributed,
      )
  
imports: import logging
  from typing import Callable, Optional, Tuple, TypeVar, Union
  import determined
  from determined import core, experimental
  from determined.common import api, util
  from determined.common.api import bindings
label_desc: Use image node_id 13 for calling a global function with example usage: _start_trial(client, trial_id, resume, distributed) and returns: _run_on_rank_0_and_broadcast