Move module tests to common_nn (#14578)
authorDavid Riazati <davidriazati@fb.com>
Fri, 30 Nov 2018 20:10:49 +0000 (12:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 30 Nov 2018 20:14:59 +0000 (12:14 -0800)
commit814b5715ba42449f2231a40cdd93273ec6f7e76c
tree6994fa2bffb66f046e39805d680dc50dc58bd273
parentc042f69dbbcf8b613fca3a2343dca3fca2c80732
Move module tests to common_nn (#14578)

Summary:
This moves `new_module_tests` from `test_nn.py` to `common_nn.py` so
that they can be used in `test_jit.py` without running any of
`test_nn.py`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14578

Differential Revision: D13268286

Pulled By: driazati

fbshipit-source-id: 6e8654a4c29ab754d656ac83820c14d1c1843e03
test/common_nn.py
test/test_jit.py
test/test_nn.py