class_docstr: Environment wrapper to convert TF environments in DM environments.
class_docstr_tok: ["Environment","wrapper","to","convert","TF","environments","in","DM","environments","."]
code: def close(self):
      self._environment.close()
  
file_path: agents/tf_agents/environments/py_to_dm_wrapper.py
imports: from typing import Text
  import dm_env
  from dm_env import specs
  from tf_agents.environments import py_environment
  from tf_agents.specs import array_spec
  from tf_agents.trajectories import time_step
  import tree
label_desc: Use image node_id 9 for calling the PyToDMWrapper obj's underlying member method code with example usage: obj.close() without return types