docstr: Loop over all trials.
  
  :param dact: data container that is not yet splitted
  :param context: execution context
  :return:
docstr_tok: ["Loop","over","all","trials",".",":","param","dact",":","data","container","that","is","not","yet","splitted",":","param","context",":","execution","context",":","return",":"]
code: def loop(self, round_scope: Round) -> Iterator[Trial]:
      """
      Loop over all trials.
  
      :param dact: data container that is not yet splitted
      :param context: execution context
      :return:
      """
      for _ in range(self.n_trials):
          with self.next_trial(round_scope) as managed_trial_scope:
              managed_trial_scope: Trial = (
                  managed_trial_scope  # typing helps
              )
  
              yield managed_trial_scope
  
imports: import gc
  from copy import copy
  from typing import ContextManager, Iterator, List, Optional, Tuple
  from neuraxle.base import CX, BaseService, BaseStep, BaseStepT, ExecutionContext, ExecutionMode, ForceHandleMixin, TruncableService, _HasChildrenMixin
  from neuraxle.data_container import ARG_X_INPUTTED, IDT
  from neuraxle.data_container import DataContainer
  from neuraxle.data_container import TrainDACT
  from neuraxle.hyperparams.space import HyperparameterSpace
  from neuraxle.metaopt.callbacks import ARG_Y_EXPECTED, ARG_Y_PREDICTD, BaseCallback, CallbackList, MetricCallback, ScoringCallback
  from neuraxle.metaopt.context import AutoMLContext
  from neuraxle.metaopt.data.aggregates import Client, Project, Root, Round, Trial, TrialSplit
  from neuraxle.metaopt.data.reporting import RoundReport
  from neuraxle.metaopt.data.vanilla import DEFAULT_CLIENT, DEFAULT_PROJECT, RoundDataclass, ScopedLocation
  from neuraxle.metaopt.optimizer import BaseHyperparameterOptimizer, GridExplorationSampler, RandomSearchSampler
  from neuraxle.metaopt.repositories.repo import HyperparamsRepository
  from neuraxle.metaopt.validation import BaseValidationSplitter, ValidationSplitter
label_desc: Use image node_id 4 for calling the BaseControllerLoop obj's underlying member method code with example usage: obj.loop(round_scope) without return types