o
    ?er                     @   s>   d Z ddlmZ ddlmZ edgddedefdd	Zd
S )z&Helper functions for TPU device names.    )Text)	tf_exportztpu.core)v1numreturnc                 C   s
   d | S )zReturns the device name for a core in a replicated TPU computation.

  Args:
    num: the virtual core number within each replica to which operators should
    be assigned.
  Returns:
    A device name, suitable for passing to `tf.device()`.
  zdevice:TPU_REPLICATED_CORE:{})format)r    r   d/home/www/facesmatcher.com/pyenv/lib/python3.10/site-packages/tensorflow/python/tpu/tpu_name_util.pycore   s   

r
   N)__doc__typingr   Z tensorflow.python.util.tf_exportr   intr
   r   r   r   r	   <module>   s
   
