code: def set_random_seed(
      config: Dict[Any, Any], seed: int
  ) -> Dict[Any, Any]:
      config = config.copy()
      config.setdefault("reproducibility", {})
      config["reproducibility"]["experiment_seed"] = seed
      return config
  
imports: import os
  from pathlib import Path
  from typing import Any, Dict, List, Union
  from determined.common import api, util
  from determined.common.api import authentication
label_desc: Use image node_id 23 for calling a global function with example usage: set_random_seed(config, seed) and returns: config