code: def choose_random_trial_and_get_architecture(trials):
      """Returns (architecture, trial) of a randomly chosen `trial`."""
      idx = np.random.randint(0, len(trials))
      chosen_trial = trials[idx]
      architecture = architecture_utils.get_architecture(
          architecture_utils.DirectoryHandler.trial_dir(chosen_trial)
      )
      return architecture, chosen_trial.id
  
file_path: model_search/model_search/search/common.py
imports: import os
  from model_search import block_builder
  from model_search.architecture import architecture_utils
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 7 for calling a global function with example usage: choose_random_trial_and_get_architecture(trials) and returns: architecture,  chosen_trial