Ë
    BÆVh]
  ã                   óî   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 dZ e
d	g¬
«       ej                  de«      d„ «       «       Z e
ddg¬
«       ej                  de«      d„ «       «       Zy)z"SavedModel main op implementation.é    )Úops)Úcontrol_flow_ops)Ú
lookup_ops)Ú	variables)Údeprecation)Ú	tf_exportz”This API was designed for TensorFlow v1. See https://www.tensorflow.org/guide/migrate for instructions on how to migrate your code to TensorFlow v2.zsaved_model.main_op.main_op)Úv1Nc                  ó¨   — t        j                  «       } t        j                  «       }t        j                  «       }t        j                  | ||«      S )a  Returns a main op to init variables and tables.

  Returns the main op including the group of ops that initializes all
  variables, initializes local variables and initialize all tables.

  Returns:
    The set of ops to be run as part of the main op upon the load operation.
  )r   Úglobal_variables_initializerÚlocal_variables_initializerr   Útables_initializerr   Úgroup)ÚinitÚ
init_localÚinit_tabless      úZ/home/dcms/DCMS/lib/python3.12/site-packages/tensorflow/python/saved_model/main_op_impl.pyÚmain_opr      sC   € ô 
×	/Ñ	/Ó	1€$Ü×4Ñ4Ó6€*Ü×-Ñ-Ó/€+Ü	×	Ñ	  j°+Ó	>Ð>ó    z saved_model.main_op_with_restorez(saved_model.main_op.main_op_with_restorec                 ó˜   — t        j                  t        «       g«      5  t        j                  | «      }ddd«       |S # 1 sw Y   S xY w)a‰  Returns a main op to init variables, tables and restore the graph.

  Returns the main op including the group of ops that initializes all
  variables, initialize local variables, initialize all tables and the restore
  op name.

  Args:
    restore_op_name: Name of the op to use to restore the graph.

  Returns:
    The set of ops to be run as part of the main op upon the load operation.
  N)r   Úcontrol_dependenciesr   r   r   )Úrestore_op_nameÚmain_op_with_restores     r   r   r   0   sF   € ô  ×Ñ¤£ Ó,ñ CÜ+×1Ñ1°/ÓBÐ÷Cà	Ð÷Cà	Ðús	   Ÿ?¿A	)Ú__doc__Útensorflow.python.frameworkr   Útensorflow.python.opsr   r   r   Útensorflow.python.utilr   Ú tensorflow.python.util.tf_exportr   Ú_DEPRECATION_MSGÚ
deprecatedr   r   © r   r   ú<module>r!      s—   ðñ )å +Ý 2Ý ,Ý +Ý .Ý 6ð*ð ñ Ð,Ð-Ô.Ø€×Ñ˜Ð.Ó/ñ?ó 0ó /ð?ñ  Ð1Ø9ð;ô <à€×Ñ˜Ð.Ó/ñó 0ó<ñr   