+
    –°³jÉ  ã                   ó^   € ^ RI t ^ RI Ht ^RIHtHt R
R R lltR
R R lltR R	 lt. ROtR# )é    N)ÚTensor)Ú	_device_tÚ_get_device_indexc                ó0   € V ^8„  d   QhR\         R\        /# ©é   ÚdeviceÚreturn)r   Úint)Úformats   "ÚY/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/accelerator/random.pyÚ__annotate__r      s   € ÷ ,ñ ,œð ,´ñ ,ó    c               óz   € \        V RR7      p\        P                  P                  V4      pVP	                  4       # )aí  Return the initial seed of the default :class:`torch.Generator` for the current :ref:`accelerator<accelerators>`
on the specified device.

Args:
    device (:class:`torch.device`, str, int, optional): The device to return the initial seed of.
        If not given, uses :func:`torch.accelerator.current_device_index` by default.

Returns:
    int: the initial seed of the default generator for the specified device.

.. warning::
    This function eagerly initializes the accelerator runtime.
T©Úoptional)r   ÚtorchÚ_CÚ _accelerator_getDefaultGeneratorÚinitial_seed©r	   Údevice_indexÚdefault_generators   "  r   r   r      s4   € ô % V°dÔ;€LÜŸ™×AÑAÀ,ÓOÐØ×)Ñ)Ó+Ð+r   c                ó0   € V ^8„  d   QhR\         R\        /# r   )r   r   )r   s   "r   r   r      s   € ÷ )ñ )œ)ð )´&ñ )r   c               óz   € \        V RR7      p\        P                  P                  V4      pVP	                  4       # )a%  Return the RNG state of the default :class:`torch.Generator` for the current :ref:`accelerator<accelerators>`
as a `torch.Tensor` of dtype `torch.uint8` for the specified accelerator device.

Args:
    device (:class:`torch.device`, str, int, optional): The device to return the RNG state of.
        If not given, uses :func:`torch.accelerator.current_device_index` by default.

Returns:
    torch.Tensor: the RNG state of the default generator for the specified device.

.. warning::
    This function eagerly initializes the accelerator runtime.
Tr   )r   r   r   r   Ú	get_stater   s   "  r   Úget_rng_stater      s4   € ô % V°dÔ;€LÜŸ™×AÑAÀ,ÓOÐØ×&Ñ&Ó(Ð(r   c                ó:   € V ^8„  d   QhR\         \        ,          /# )r   r
   )Úlistr   )r   s   "r   r   r   -   s   € ÷ 
Oñ 
Oœ4¤�<ñ 
Or   c                 óŒ   € \        \        P                  P                  4       4       U u. uF  p \	        V 4      NK  	  up # u up i )a=  Return a list of `torch.Tensor` of dtype `torch.uint8` representing the RNG states of all devices for
the current :ref:`accelerator<accelerators>`.

Returns:
    list[torch.Tensor]: the RNG states of the default generators for all devices.

.. warning::
    This function eagerly initializes the accelerator runtime.
)Úranger   ÚacceleratorÚdevice_countr   )Úis    r   Úget_rng_state_allr%   -   s7   € ô ',¬E×,=Ñ,=×,JÑ,JÓ,LÔ&MÓNÑ&M ŒM˜!ÖÑ&MÑNÐNùÒNs   ªA)N)r   r   r%   )	r   r   Ú_utilsr   r   r   r   r%   Ú__all__© r   r   Ú<module>r)      s&   ðÛ Ý ç 0÷,÷&)õ&
Oò A‚r   