B
    Ñ»ˆdÇ  ã               @   s   d Z dd„ ZdS )z.Functions related to Python memory management.c             C   s>   | j  dd¡}|r:y|d dd…= W n tk
r8   Y nX dS )a  Remove reference cycle in OrderedDict `ordered_dict`.

  Helpful for making sure the garbage collector doesn't need to run after
  using an OrderedDict.

  Args:
    ordered_dict: A `OrderedDict` object to destroy. This object is unusable
      after this function runs.
  Z_OrderedDict__rootNé    )Ú__dict__ÚgetÚ	TypeError)Zordered_dictZproblematic_cycle© r   úO/var/www/html/venv/lib/python3.7/site-packages/tensorflow/python/util/memory.pyÚdismantle_ordered_dict   s    r   N)Ú__doc__r   r   r   r   r   Ú<module>   s   