ó
    Eñii  ã                  óF   • S SK Jr  S SKJr  S SKrSSKJr   " S S\5      rg)é    )Úannotations)ÚAnyNé   )ÚTVTensorc                  óR   • \ rS rSrSrSSSS.         S	S jjrSS.S
S jjrSrg)ÚVideoé
   a¤  :class:`torch.Tensor` subclass for videos with shape ``[..., T, C, H, W]``.

Args:
    data (tensor-like): Any data that can be turned into a tensor with :func:`torch.as_tensor`.
    dtype (torch.dtype, optional): Desired data type. If omitted, will be inferred from
        ``data``.
    device (torch.device, optional): Desired device. If omitted and ``data`` is a
        :class:`torch.Tensor`, the device is taken from it. Otherwise, the video is constructed on the CPU.
    requires_grad (bool, optional): Whether autograd should record operations. If omitted and
        ``data`` is a :class:`torch.Tensor`, the value is taken from it. Otherwise, defaults to ``False``.
N©ÚdtypeÚdeviceÚrequires_gradc               óp   • U R                  XX4S9nUR                  S:  a  [        eUR                  U 5      $ )Nr
   é   )Ú
_to_tensorÚndimÚ
ValueErrorÚas_subclass)ÚclsÚdatar   r   r   Útensors         ÚZ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/torchvision/tv_tensors/_video.pyÚ__new__ÚVideo.__new__   s8   € ð —‘ ¸&�Ð^ˆØ�9‰9�q‹=ÜÐØ×!Ñ! #Ó&Ð&ó    )Útensor_contentsc               ó"   • U R                  5       $ )N)Ú
_make_repr)Úselfr   s     r   Ú__repr__ÚVideo.__repr__$   s   € Ø�‰Ó Ð r   © )
r   r   r   ztorch.dtype | Noner   ztorch.device | str | int | Noner   zbool | NoneÚreturnr   )r   r   r"   Ústr)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Ú__static_attributes__r!   r   r   r   r   
   sV   † ñ
ð  %)Ø26Ø%)ñ'àð'ð "ð	'ð
 0ð'ð #ð'ð 
õ'ð 26÷ !ò !r   r   )Ú
__future__r   Útypingr   ÚtorchÚ
_tv_tensorr   r   r!   r   r   Ú<module>r.      s   ðÝ "å ã å  ô!ˆHõ !r   