a
    Sic  ã                   @   s*   d Z ddlZddlm  mZ dd„ ZdS )z9TFDecorator-aware replacements for the contextlib module.é    Nc                 C   s   t  | ¡}tjj | |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   ÚtfÚ__internal__Ú	decoratorÚmake_decorator)ÚtargetÚcontext_manager© r
   úU/var/www/html/django/DPS/env/lib/python3.9/site-packages/keras/utils/tf_contextlib.pyr      s    

ÿr   )Ú__doc__Ú
contextlibr   Útensorflow.compat.v2ÚcompatÚv2r   r   r
   r
   r
   r   Ú<module>   s   