docstr: Change the phase of the agent
  :param val: the new phase
  :return: None
docstr_tok: ["Change","the","phase","of","the","agent",":","param","val",":","the","new","phase",":","return",":","None"]
code: def phase(self, val: RunPhase):
      """
      Change the phase of the agent
      :param val: the new phase
      :return: None
      """
      self._phase = val
  
imports: from typing import Union, List, Dict
  import numpy
  from rl_coach.core_types import EnvResponse, ActionInfo, RunPhase, PredictionType, ActionType, Transition
  from rl_coach.saver import SaverCollection
label_desc: Use image node_id 5 for calling the AgentInterface obj's underlying member method code with example usage: obj.phase(val) without return types