
    BVh	                     V    d Z ddlmZ ddlmZ ddlmZ  G d dej
                        Zy)zIUpgrader for Python scripts from 1.* to 2.0 TensorFlow using SAFETY mode.    )all_renames_v2)	ast_edits)module_deprecations_v2c                       e Zd ZdZd Zy)TFAPIChangeSpecz3List of maps that describe what changed in the API.c                 ~   i | _         i | _        i | _        i | _        i | _        i | _        t        j                  | _        t        j                  j                         D ]6  \  }}t        j                  dj                  ||      f}|| j                  |<   8 dt        j                  dg d      i| _        d| _        y )Nz(Manual edit required) `{}` has been migrated to `{}` in TensorFlow Addons. The API spec may have changed during the migration. Please see https://github.com/tensorflow/addons for more info.
tensorflowtensorflow.compat.v1)ztensorflow.contribztensorflow.flagsztensorflow.compatr
   ztensorflow.compat.v2ztensorflow.google)excluded_prefixes   )function_keyword_renamessymbol_renameschange_to_functionfunction_reordersfunction_warningsfunction_transformersr   MODULE_DEPRECATIONSmodule_deprecationsr   addons_symbol_mappingsitemsr   WARNINGformatImportRenameimport_renamesmax_submodule_depth)selfsymbolreplacementwarnings       c/home/dcms/DCMS/lib/python3.12/site-packages/tensorflow/tools/compatibility/tf_upgrade_v2_safety.py__init__zTFAPIChangeSpec.__init__   s    $&D!D DDD!#D5IID  .DDJJL /


 !'v{ ;=g (/dV$/ 	""&#D  !D    N)__name__
__module____qualname____doc__r!    r"   r    r   r      s
    ;!!r"   r   N)r&   tensorflow.tools.compatibilityr   r   r   APIChangeSpecr   r'   r"   r    <module>r*      s&    P 9 4 A$!i-- $!r"   