funcs.zeros_like.auto.rst.txt 1019 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
zeros\_like
================

.. currentmodule:: treetensor.torch

    
Documentation
------------------

.. autofunction:: zeros_like

    
.. admonition:: Torch Version Related
    :class: tip

    This documentation is based on
17 18
    `torch.zeros_like <https://pytorch.org/docs/1.9.0+cu102/generated/torch.zeros_like.html>`_
    in `torch v1.9.0+cu102 <https://pytorch.org/docs/1.9.0+cu102/>`_.
19 20 21 22 23 24 25 26 27 28 29 30
    **Its arguments' arrangements depend on the version of pytorch you installed**.
    
    If some arguments listed here are not working properly, please check your pytorch's version 
    with the following command and find its documentation.
    
    .. code-block:: shell
        :linenos:
    
        python -c 'import torch;print(torch.__version__)'
    
    
    
31
    The arguments and keyword arguments supported in torch v1.9.0+cu102 is listed below.
32 33 34
    
    

35 36
Description From Torch v1.9.0+cu102
----------------------------------------
37 38 39 40 41 42 43 44

.. currentmodule:: torch

    
.. autofunction:: torch.zeros_like