§
    Y�’j«  ã                   óJ   — d Z ddlZddlmZ dededdfd„Z edd	¦  «         dS )
z'Adds docstrings to torch.Size functionsé    N)Ú_add_docstrÚmethodÚdocstrÚreturnc                 ó`   — t          t          t          j        j        | ¦  «        |¦  «         d S )N)Ú
add_docstrÚgetattrÚtorchÚ_CÚSize)r   r   s     ú>C:\Projects\DSCons\.venv\Lib\site-packages\torch\_size_docs.pyÚadd_docstr_allr      s&   € Ý�w•u”x”} fÑ-Ô-¨vÑ6Ô6Ð6Ð6Ð6ó    Únumelaz  
numel() -> int

Returns the number of elements a :class:`torch.Tensor` with the given size would contain.

More formally, for a tensor ``x = tensor.ones(10, 10)`` with size ``s = torch.Size([10, 10])``,
``x.numel() == x.size().numel() == s.numel() == 100`` holds true.

Example::

    >>> x=torch.ones(10, 10)
    >>> s=x.size()
    >>> s
    torch.Size([10, 10])
    >>> s.numel()
    100
    >>> x.numel() == s.numel()
    True


.. warning::

    This function does not return the number of dimensions described by :class:`torch.Size`, but instead the number
    of elements a :class:`torch.Tensor` with that size would contain.

)Ú__doc__Útorch._Cr
   r   r   Ústrr   © r   r   ú<module>r      sw   ðØ -Ð -à €€€Ø .Ð .Ð .Ð .Ð .Ð .ð7˜3ð 7¨ð 7°ð 7ð 7ð 7ð 7ð €Øðñô ð ð ð r   