Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Mar 29, 2018

Fixes #5946.

return meth(*args, **kwargs)

deprecated_init.__doc__ = r"""
{old_name}(...)

This comment was marked as off-topic.

.. autofunction:: uniform_
.. autofunction:: normal_
.. autofunction:: constant_
.. autofunction:: eye_

This comment was marked as off-topic.

This comment was marked as off-topic.

@ezyang ezyang merged commit 4f05cb7 into pytorch:master Mar 29, 2018
@ssnl ssnl deleted the init_ branch March 29, 2018 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request] Add underscore to nn.init functions

4 participants