B
    Ó»ˆdô  ã               @   s$   d Z ddlZddlmZ dd„ ZdS )z9TFDecorator-aware replacements for the contextlib module.é    N)Útf_decoratorc             C   s   t  | ¡}t | |d¡S )a  A tf_decorator-aware wrapper for `contextlib.contextmanager`.

  Usage is identical to `contextlib.contextmanager`.

  Args:
    target: A callable to be wrapped in a contextmanager.
  Returns:
    A callable that can be used inside of a `with` statement.
  Úcontextmanager)Ú_contextlibr   r   Zmake_decorator)ÚtargetZcontext_manager© r   ú]/var/www/html/venv/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_contextlib.pyr      s    

r   )Ú__doc__Ú
contextlibr   Ztensorflow.python.utilr   r   r   r   r   r   Ú<module>   s   