code: def _create_frozen_trial(
      number: int, values: List[float]
  ) -> multi_objective.trial.FrozenMultiObjectiveTrial:
      trial = optuna.trial.FrozenTrial(
          number=number,
          trial_id=number,
          state=optuna.trial.TrialState.COMPLETE,
          value=None,
          datetime_start=None,
          datetime_complete=None,
          params={},
          distributions={},
          user_attrs={},
          system_attrs={},
          intermediate_values=dict(enumerate(values)),
      )
      return multi_objective.trial.FrozenMultiObjectiveTrial(
          len(values), trial
      )
  
file_path: optuna/tests/multi_objective_tests/samplers_tests/test_nsga2.py
imports: from collections import Counter
  from typing import List
  from typing import Tuple
  from unittest.mock import patch
  import pytest
  import optuna
  from optuna import multi_objective
  from optuna.study._study_direction import StudyDirection
label_desc: Use image node_id 9 for calling a global function with example usage: _create_frozen_trial(number, values) and returns: multi_objective