Support attributes when copying modules (#19040)
authorDavid Riazati <davidriazati@fb.com>
Thu, 11 Apr 2019 22:33:51 +0000 (15:33 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 11 Apr 2019 22:38:06 +0000 (15:38 -0700)
commitfea0a0be5375e9b09c7048dd0f4ec225b17cf225
tree624e1f1b2678f95b09c57397a904bacd7283fb18
parent4ae59e47440429fdec40d728facfc8fb3730c16e
Support attributes when copying modules (#19040)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19040
ghimport-source-id: 37933efd717795751283cae8141e2e2caaae2e95

Reviewed By: eellison

Differential Revision: D14895573

Pulled By: driazati

fbshipit-source-id: bc2723212384ffa673d2a8df2bb57f38c62cc104
test/test_jit.py
torch/csrc/jit/script/module.h