
    BVhiD                     	   d Z ddlZddlZddlZddlZddlZddl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d	Zd
ZdZej(                  j+                  dd      rej(                  d   Zej(                  j+                  dd      Zd Zddddddddddddddddej0                  d k(  rd!ndd"d#d$d%d&gZeD  cg c]  } | | 	 c} Z ed'd(      d)z   ez   d*z   gZ ej6                         d+k(  r% ej8                         d,k(  rej;                  e       er ed'd(      d)z   ez   d*z   gZi Zg d-ed.<   e j?                  d/      Z d0d1d2d3 ed4d      d5gZ!e!D cg c]  }||	 c}Z! G d6 d7e      Z" G d8 d9e      Z# G d: d;e      Z$d< Z% ejL                  d=      D cg c]2  }ejN                  jQ                  |      r ej                  |d>      r|4 c}Z)g Z*e)D ]0  Z'e*jW                   e%d?e'      D cg c]  }d@|vsdA|z    c}       2 dBev r eeedCz   ej                  jY                  ejZ                  j\                  D       ej^                  dEF      z
  ja                  dG      z   dHz         Z1ej;                  dIe1 g       e!jW                  dJdKg       ejd                  dLk(  rdMZ3ndNZ3 e4 e%dOdP             e4 e%dOdQ            z    e4 e%dOdR            z    e4 e%dOdS            z    e4 e%dOdT            z    e4 e%dUdP            z    e4 e%dVdW            z    e4 e%dVdX            z    e4 e%dVdP            z    e4 e%dYdP            z    e4 e%dVdQ            z    e4 e%dVdZ            z    e4 e%dVdR            z    e4 e%dVd[            z    e4 e%dVdS            z    e4 e%dVd\            z    e4 e%dVd]            z    e4 e%dVdT            z    e4 e%dVd^            z    e4 e%d_d^            z    e4 e%d?d`            z    e4 e%dVda            z    e4 e%d_da            z    e4 e%dVdb            z    e4 e%d?dc            z    e4 e%dVdd            z   Z5eri di g dg i deZ6ne$e#dfe"dge!ie5dh e	       de3ge*z   ideZ6 e
di diedjejo                  dkdl      dme d   dnd/jq                  e dod       dpdqdrdsdtdudvdwdxdydzed{ed|dd}d~d e9g d      dddde6 yc c} w c c}w c c}w c c}w )a  TensorFlow is an open source machine learning framework for everyone.

[![Python](https://img.shields.io/pypi/pyversions/tensorflow.svg?style=plastic)](https://badge.fury.io/py/tensorflow)
[![PyPI](https://badge.fury.io/py/tensorflow.svg)](https://badge.fury.io/py/tensorflow)

TensorFlow is an open source software library for high performance numerical
computation. Its flexible architecture allows easy deployment of computation
across a variety of platforms (CPUs, GPUs, TPUs), and from desktops to clusters
of servers to mobile and edge devices.

Originally developed by researchers and engineers from the Google Brain team
within Google's AI organization, it comes with strong support for machine
learning and deep learning and the flexible numerical computation core is used
across many other scientific domains. TensorFlow is licensed under [Apache
2.0](https://github.com/tensorflow/tensorflow/blob/master/LICENSE).
    N)Command)find_namespace_packages)setup)install)Distributionz2.19.0z0.0.10z0.0.11
tensorflowproject_namecollaborator_buildFc                     dt         v r|S | S )N
tf_nightly)r	   )standardnightlys     R/home/dcms/DCMS/lib/python3.12/site-packages/tensorflow/tools/pip_package/setup.pystandard_or_nightlyr   E   s     L0>h>    zabsl-py >= 1.0.0zastunparse >= 1.6.0zflatbuffers >= 24.3.25z$gast >=0.2.1,!=0.5.0,!=0.5.1,!=0.5.2zgoogle_pasta >= 0.1.1zlibclang >= 13.0.0zopt_einsum >= 2.3.2	packagingzPprotobuf>=3.20.3,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5zrequests >= 2.21.0, < 3
setuptoolszsix >= 1.12.0ztermcolor >= 1.1.0ztyping_extensions >= 3.6.6zwrapt >= 1.11.0z@tensorflow-io-gcs-filesystem >= 0.23.1 ; python_version < "3.12"littlezgrpcio >= 1.24.3, < 2.0ztensorboard ~= 2.19.0zkeras >= 3.5.0znumpy >= 1.26.0, < 2.2.0zh5py >= 3.11.0zml_dtypes >= 0.5.1, < 1.0.0ztensorflow-intelztf-nightly-intelz==z;platform_system=="Windows"Linuxx86_64)znvidia-cublas-cu12 == 12.5.3.2z!nvidia-cuda-cupti-cu12 == 12.5.82z nvidia-cuda-nvcc-cu12 == 12.5.82z!nvidia-cuda-nvrtc-cu12 == 12.5.82z#nvidia-cuda-runtime-cu12 == 12.5.82znvidia-cudnn-cu12 == 9.3.0.75znvidia-cufft-cu12 == 11.2.3.61znvidia-curand-cu12 == 10.3.6.82z!nvidia-cusolver-cu12 == 11.6.3.83z nvidia-cusparse-cu12 == 12.5.1.3znvidia-nccl-cu12 == 2.23.4z nvidia-nvjitlink-cu12 == 12.5.82zand-cuda
z;tflite_convert = tensorflow.lite.python.tflite_convert:mainz1toco = tensorflow.lite.python.tflite_convert:mainz>saved_model_cli = tensorflow.python.tools.saved_model_cli:mainzPimport_pb_to_tensorboard = tensorflow.python.tools.import_pb_to_tensorboard:mainz'tensorboard = tensorboard.main:run_mainzFtf_upgrade_v2 = tensorflow.tools.compatibility.tf_upgrade_v2_main:mainc                       e Zd Zd Zy)BinaryDistributionc                      y)NT selfs    r   has_ext_modulesz"BinaryDistribution.has_ext_modules   s    r   N)__name__
__module____qualname__r   r   r   r   r   r      s    r   r   c                       e Zd ZdZd Zy)InstallCommandz&Override the dir where the headers go.c                     t        j                  |       }t        j                  j	                  | j
                  dd      | _        | j
                  | _        |S )Nr   include)InstallCommandBasefinalize_optionsospathjoininstall_platlibinstall_headersinstall_lib)r   rets     r   r'   zInstallCommand.finalize_options   sG    

-
-d
3C77<<(<(<l(13D++DJr   N)r   r    r!   __doc__r'   r   r   r   r#   r#      s
    .r   r#   c                   F    e Zd ZdZdZddgZdgZd Zd Zd Z	d	 Z
d
 Zd Zy)InstallHeaderszOverride how headers are copied.

  The install_headers that comes with setuptools copies all files to
  the same directory. But we need the files to be in a specific directory
  hierarchy for -I <include_dir> to work correctly.
  zinstall C/C++ header files)zinstall-dir=dz$directory to install header files to)forcefz-force installation (overwrite existing files)r3   c                 .    d | _         d| _        g | _        y )Nr   )install_dirr3   outfilesr   s    r   initialize_optionsz!InstallHeaders.initialize_options   s    DDJDMr   c                 *    | j                  ddd       y )Nr   )r,   r6   )r3   r3   )set_undefined_optionsr   s    r   r'   zInstallHeaders.finalize_options   s    y*L13r   c                 >   t         j                  j                  | j                  t         j                  j	                  |            }|j                  dd      }t        j                  dd|      }ddddddd}|D ]^  }||v s|j                  |||         }t         j                  j                  |      s| j                  |       | j                  ||       ` t         j                  j                  |      s| j                  |       | j                  ||      S )	N\/z/google/protobuf_archive/src z/duccz/tensorflow/include/xlaz/tensorflow/include/tsl)z,/tensorflow/include/external/com_google_abslz!/tensorflow/include/external/duccz*/tensorflow/include/external/eigen_archivez)/tensorflow/include/external/ml_dtypes_pyz+/tensorflow/include/tensorflow/compiler/xlaz"/tensorflow/include/tensorflow/tsl)r(   r)   r*   r6   dirnamereplaceresubexistsmkpath	copy_file)r   headerr6   external_header_locationslocation	extra_dirs         r   mkdir_and_copy_filez"InstallHeaders.mkdir_and_copy_file   s    '',,t//1HIK %%dC0K &&7[IK 9;-46857%.G	! . *	[	 ''(A((KM	ww~~i(
++i
 vy)* 77>>+&
kk+>>&+..r   c                     | j                   j                  }|sy | j                  | j                         |D ]1  }| j	                  |      \  }}| j
                  j                  |       3 y N)distributionheadersrD   r6   rJ   r7   append)r   hdrsrF   out_s        r   runzInstallHeaders.run  s`    $$DKK  !  ))&1hsA
mm3 r   c                 6    | j                   j                  xs g S rL   )rM   rN   r   s    r   
get_inputszInstallHeaders.get_inputs  s    $$**r   c                     | j                   S rL   )r7   r   s    r   get_outputszInstallHeaders.get_outputs  s    ==r   N)r   r    r!   r/   descriptionuser_optionsboolean_optionsr8   r'   rJ   rS   rU   rW   r   r   r   r1   r1      sF     -+ DE,
 I/
3%/N +r   r1   c              #      K   t        j                  |      D ]C  \  }}}t        j                  ||       D ]$  }t         j                  j                  ||       & E yw)z5Return all the files matching pattern below root dir.N)r(   walkfnmatchfilterr)   r*   )patternrootdirpathrR   filesfilenames         r   
find_filesrd   "  sS     774= ,gq%NN5'2 ,GGLL(++,,s   AA.z_solib_**z.pyz../_tpuz.dev)tz   )hoursz%Y%m%dz+nightlyzlibtpu==zCstart_grpc_tpu_worker = tensorflow.python.tools.grpc_tpu_worker:runzLstart_grpc_tpu_service = tensorflow.python.tools.grpc_tpu_worker_service:runntz&python/_pywrap_tensorflow_internal.pydz%python/_pywrap_tensorflow_internal.soz*.protoztensorflow/compilerztensorflow/coreztensorflow/pythonztensorflow/python/frameworkztensorflow/tslz*.defz*.hztensorflow/cztensorflow/ccz*.h.incztensorflow/lite/kernels/shimztensorflow/python/clientztensorflow/stream_executorz'tensorflow/compiler/xla/stream_executorzgoogle/com_google_protobuf/srcz*.inczthird_party/gpusz+tensorflow/include/external/com_google_abslz'tensorflow/include/external/ducc/googlez)tensorflow/include/external/eigen_archivez(tensorflow/include/external/ml_dtypes_py)cmdclass	distclassentry_pointsrN   include_package_datapackagespackage_data)r,   r   console_scriptsTnameversion-r>   rX   long_description   long_description_content_typeztext/markdownurlzhttps://www.tensorflow.org/download_urlz-https://github.com/tensorflow/tensorflow/tagsauthorzGoogle Inc.author_emailzpackages@tensorflow.orginstall_requiresextras_requirezip_safepython_requiresz>=3.9classifiers)z+Development Status :: 5 - Production/Stablez'Environment :: GPU :: NVIDIA CUDA :: 12z/Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.2zIntended Audience :: DeveloperszIntended Audience :: Educationz%Intended Audience :: Science/Researchz2License :: OSI Approved :: Apache Software Licensez#Programming Language :: Python :: 3z%Programming Language :: Python :: 3.9z&Programming Language :: Python :: 3.10z&Programming Language :: Python :: 3.11z&Programming Language :: Python :: 3.12z+Programming Language :: Python :: 3 :: OnlyzTopic :: Scientific/Engineeringz.Topic :: Scientific/Engineering :: Mathematicsz:Topic :: Scientific/Engineering :: Artificial IntelligencezTopic :: Software Developmentz*Topic :: Software Development :: Librariesz<Topic :: Software Development :: Libraries :: Python Moduleslicensez
Apache 2.0keywordsz"tensorflow tensor machine learningr   ):r/   datetimer]   r(   platformrA   sysr   r   r   r   setuptools.command.installr   r&   setuptools.distr   _VERSIONLATEST_RELEASE_LIBTPU_VERSIONNEXT_LIBTPU_VERSIONr	   environgetr
   r   	byteorderREQUIRED_PACKAGESFAKE_REQUIRED_PACKAGESsystemmachinerO   EXTRA_PACKAGESsplitDOCLINESCONSOLE_SCRIPTSr   r#   r1   rd   listdirr)   isdirso_lib_pathsmatchesextendnowtimezoneutc	timedeltastrftime_libtpu_versionrs   EXTENSION_NAMElistrN   $collaborator_build_dependent_optionsr@   r*   sorted)psixs   0000r   <module>r      s  "   	  	 
  .  D (  !)  
 ::>>.$'N+,ZZ^^$8%@ 
? * 	[ F "%(!: !M' R !2C1Q]QC  *,>?$F,-  8??$4H$4$4$6($B12 ,.@A 	&& z   == B7D	A A4HL  .?1? ' NW Nb, rzz#
	ww}}QOGOOAz: 
  OD	..ZT%:Me1n%!)MNO 
\
 (#F"




8#4#4#8#8

9HQ'(	 (	(/ h&789:K=  77d?;.:. 	I4	56
:i!2345
:i!4567 :i!>?@A :i!123	4
 :g4567 :e^,-. :e_-./ :e2345 :i!678	9 :e./0
1 :e;<=> :e0123 :e789: :e:;<= :e9:;<  :eFGH!I" :e-./#0$ :e=>?%@& :g?@A'B( :c-./)0* :eJKL+M, :gLMN-O. :eFGH/I0 :cFGH1I2 :eGHI3J B "*& ,# &
_ ")+
(72*&"  *	*S"%* * YYx|,	*
 #2* 	&* A* * +* '* "* * *"   #*N O*P 2*S*e DD @Z Ns*   8S SS!S!7S&3	S+
=S+
