Don't DCE PythonOp
authorAdam Paszke <adam.paszke@gmail.com>
Wed, 5 Dec 2018 05:35:48 +0000 (21:35 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 5 Dec 2018 05:37:36 +0000 (21:37 -0800)
commitc79e305addc4f5494f29826da8c34768fa80f942
treebcd32678d4d72f035ac4e3a5a06194a4fa45d3cc
parent8dfebc16cc2dbd6e4f9fd03515428d5b8d49c4c3
Don't DCE PythonOp

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14773

Reviewed By: eellison

Differential Revision: D13327673

Pulled By: suo

fbshipit-source-id: 236db3407c7eacac470530836e3d4d0dc323110c
test/test_jit.py
torch/csrc/jit/passes/dead_code_elimination.cpp
torch/nn/modules/batchnorm.py