class_docstr: Base class for Meta-RL Algorithms.
class_docstr_tok: ["Base","class","for","Meta-RL","Algorithms","."]
docstr: Produce a policy adapted for a task.
  
  Args:
      exploration_policy (Policy): A policy which was returned from
          get_exploration_policy(), and which generated
          exploration_trajectories by interacting with an environment.
          The caller may not use this object after passing it into this
          method.
      exploration_episodes (EpisodeBatch): Episodes with which to adapt.
          These are generated by exploration_policy while exploring the
          environment.
  
  Returns:
      Policy: A policy adapted to the task represented by the
          exploration_episodes.
docstr_tok: ["Produce","a","policy","adapted","for","a","task",".","Args",":","exploration_policy","(","Policy",")",":","A","policy","which","was","returned","from","get_exploration_policy","(",")",",","and","which","generated","exploration_trajectories","by","interacting","with","an","environment",".","The","caller","may","not","use","this","object","after","passing","it","into","this","method",".","exploration_episodes","(","EpisodeBatch",")",":","Episodes","with","which","to","adapt",".","These","are","generated","by","exploration_policy","while","exploring","the","environment",".","Returns",":","Policy",":","A","policy","adapted","to","the","task","represented","by","the","exploration_episodes","."]
code: def adapt_policy(self, exploration_policy, exploration_episodes):
      """Produce a policy adapted for a task.
  
      Args:
          exploration_policy (Policy): A policy which was returned from
              get_exploration_policy(), and which generated
              exploration_trajectories by interacting with an environment.
              The caller may not use this object after passing it into this
              method.
          exploration_episodes (EpisodeBatch): Episodes with which to adapt.
              These are generated by exploration_policy while exploring the
              environment.
  
      Returns:
          Policy: A policy adapted to the task represented by the
              exploration_episodes.
  
      """
  
imports: import abc
  from garage.np.algos.rl_algorithm import RLAlgorithm
label_desc: Use image node_id 2 for calling the MetaRLAlgorithm obj's underlying member method code with example usage: obj.adapt_policy(exploration_policy, exploration_episodes) without return types