code: def _create_trials(num_trials):
      return _TRIALS[:num_trials]
  
file_path: model_search/model_search/controller_test.py
imports: from absl import logging
  from absl.testing import absltest
  from absl.testing import parameterized
  from model_search import controller
  from model_search.metadata import ml_metadata_db
  from model_search.metadata import trial
  from model_search.proto import ensembling_spec_pb2
  from model_search.proto import phoenix_spec_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: _create_trials(num_trials) and returns: _TRIALS