+
    ˜°³jÚ  ã                   óV   € R t ^ RIHt  ! R R4      t ! R R]4      t ! R R]4      tR# )	zÈContains definitions of the methods used by the _BaseDataLoaderIter to fetch data from an iterable-style or map-style dataset.

This logic is shared in both single- and multi-processing data loading.
©ÚNoReturnc                   óD   a € ] tR t^
t o V 3R lR ltV 3R lR ltRtV tR# )Ú_BaseDatasetFetcherc                ó   <€ V ^8„  d   QhRR/# ©é   ÚreturnN© )ÚformatÚ__classdict__s   "€Ú^/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/utils/data/_utils/fetch.pyÚ__annotate__Ú _BaseDatasetFetcher.__annotate__   s   ø€ ÷ #ñ #È$ñ #ó    c                ó6   € Wn         W n        W0n        W@n        R # ©N)ÚdatasetÚauto_collationÚ
collate_fnÚ	drop_last)Úselfr   r   r   r   s   &&&&&r   Ú__init__Ú_BaseDatasetFetcher.__init__   s   € ØŒØ,ÔØ$ŒØ"Žr   c                ó    <€ V ^8„  d   QhRS[ /# )r   r	   r   )r   r   s   "€r   r   r      s   ø€ ÷ "ñ "©xñ "r   c                ó   € \         hr   )ÚNotImplementedError)r   Úpossibly_batched_indexs   &&r   ÚfetchÚ_BaseDatasetFetcher.fetch   s   € Ü!Ð!r   )r   r   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__static_attributes__Ú__classdictcell__©r   s   @r   r   r   
   s   ø‡ € ÷#ð #÷"ö "r   r   c                   óD   a a€ ] tR t^t oV3R lV 3R lltR tRtVtV ;t# )Ú_IterableDatasetFetcherc                ó   <€ V ^8„  d   QhRR/# r   r
   )r   r   s   "€r   r   Ú$_IterableDatasetFetcher.__annotate__   s   ø€ ÷ ñ È$ñ r   c                óV   <€ \         SV `  WW44       \        V4      V n        R V n        R# )FN)Úsuperr   ÚiterÚdataset_iterÚended)r   r   r   r   r   Ú	__class__s   &&&&&€r   r   Ú _IterableDatasetFetcher.__init__   s%   ø€ Ü‰Ñ˜°*ÔHÜ  ›MˆÔØˆŽ
r   c                óº  € V P                   '       d   \        hV P                  '       ds   . pV F(  p VP                  \	        V P
                  4      4       K*  	  \        V4      ^ 8X  g,   V P                  '       d    \        V4      \        V4      8  d   \        hM\	        V P
                  4      pV P                  V4      #   \         d    R T n           K~  i ; i)T)	r/   ÚStopIterationr   ÚappendÚnextr.   Úlenr   r   )r   r   ÚdataÚ_s   &&  r   r   Ú_IterableDatasetFetcher.fetch   s°   € Ø�:�:ˆ:ÜÐà××ÐØˆDÛ+�ðØ—K‘K¤ T×%6Ñ%6Ó 7Ö8ñ ,ô �4‹y˜AŒ~Ø——�¤3 t£9¬sÐ3IÓ/JÔ#Jä#Ð#øä˜×)Ñ)Ó*ˆDØ�‰˜tÓ$Ð$øô %ô Ø!%�D”JÛðús   ³$CÃCÃC)r.   r/   )	r    r!   r"   r#   r   r   r$   r%   Ú__classcell__)r0   r   s   @@r   r(   r(      s   ù‡ € ÷ó ÷
%ò %r   r(   c                   ó&   a € ] tR t^0t o R tRtV tR# )Ú_MapDatasetFetcherc                ód  € V P                   '       dw   \        V P                  R 4      '       d9   V P                  P                  '       d   V P                  P                  V4      pM5V Uu. uF  q0P                  V,          NK  	  ppMV P                  V,          pV P	                  V4      # u upi )Ú__getitems__)r   Úhasattrr   r>   r   )r   r   r7   Úidxs   &&  r   r   Ú_MapDatasetFetcher.fetch1   s‰   € Ø××ÐÜ�t—|‘| ^×4Ò4¸¿¹×9R×9RÐ9RØ—|‘|×0Ñ0Ð1GÓH‘á5KÓLÑ5K¨cŸ™ S×)Ð)Ñ5K�ÐL�à—<‘<Ð 6Õ7ˆDØ�‰˜tÓ$Ð$ùò Ms   Á+B-r
   N)r    r!   r"   r#   r   r$   r%   r&   s   @r   r<   r<   0   s   ø‡ € ÷%ð %r   r<   N)Ú__doc__Útypingr   r   r(   r<   r
   r   r   Ú<module>rD      s3   ðñõ
 ÷"ñ "ô%Ð1ô %ô6	%Ð,ö 	%r   