B
    ѻd                 @   s   d Z ddlmZ dadadadadaedg ddd Zedg dd	d
 Z	edg ddd Z
edg ddd Zedg ddd Zdd Zdd Zdd Zdd Zdd ZdS )a  Interface that provides access to Keras dependencies.

This library is a common interface that contains Keras functions needed by
TensorFlow and TensorFlow Lite and is required as per the dependency inversion
principle (https://en.wikipedia.org/wiki/Dependency_inversion_principle). As per
this principle, high-level modules (eg: TensorFlow and TensorFlow Lite) should
not depend on low-level modules (eg: Keras) and instead both should depend on a
common interface such as this file.
    )	tf_exportNz+__internal__.register_call_context_function)v1c             C   s   | a d S )N)_KERAS_CALL_CONTEXT_FUNCTION)func r   S/var/www/html/venv/lib/python3.7/site-packages/tensorflow/python/util/keras_deps.pyregister_call_context_function'   s    r   z,__internal__.register_clear_session_functionc             C   s   | a d S )N)_KERAS_CLEAR_SESSION_FUNCTION)r   r   r   r   register_clear_session_function-   s    r
   z*__internal__.register_get_session_functionc             C   s   | a d S )N)_KERAS_GET_SESSION_FUNCTION)r   r   r   r   register_get_session_function3   s    r   z)__internal__.register_load_model_functionc             C   s   | a d S )N)_KERAS_LOAD_MODEL_FUNCTION)r   r   r   r   register_load_model_function9   s    r   z+__internal__.register_load_context_functionc             C   s   | a d S )N)_KERAS_LOAD_CONTEXT_FUNCTION)r   r   r   r   register_load_context_functionB   s    r   c               C   s   t S )N)r   r   r   r   r   get_call_context_functionI   s    r   c               C   s   t S )N)r	   r   r   r   r   get_clear_session_functionN   s    r   c               C   s   t S )N)r   r   r   r   r   get_get_session_functionS   s    r   c               C   s   t S )N)r   r   r   r   r   get_load_model_functionX   s    r   c               C   s   t S )N)r   r   r   r   r   get_load_context_function]   s    r   )__doc__ tensorflow.python.util.tf_exportr   r   r	   r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   <module>   s    	