mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Functions `nn.init.ones_` and `nn.init.zeros_` were not documented. As mentioned in https://github.com/pytorch/pytorch/issues/9886 Pull Request resolved: https://github.com/pytorch/pytorch/pull/23145 Differential Revision: D16427108 Pulled By: soumith fbshipit-source-id: 4fac31e79717a436411ef5e107a829b403e576c9
22 lines
510 B
ReStructuredText
22 lines
510 B
ReStructuredText
.. role:: hidden
|
|
:class: hidden-section
|
|
|
|
torch.nn.init
|
|
=============
|
|
|
|
.. currentmodule:: torch.nn.init
|
|
.. autofunction:: calculate_gain
|
|
.. autofunction:: uniform_
|
|
.. autofunction:: normal_
|
|
.. autofunction:: constant_
|
|
.. autofunction:: ones_
|
|
.. autofunction:: zeros_
|
|
.. autofunction:: eye_
|
|
.. autofunction:: dirac_
|
|
.. autofunction:: xavier_uniform_
|
|
.. autofunction:: xavier_normal_
|
|
.. autofunction:: kaiming_uniform_
|
|
.. autofunction:: kaiming_normal_
|
|
.. autofunction:: orthogonal_
|
|
.. autofunction:: sparse_
|