Add python_variable._is_view for debugging. (#18197)
authorGregory Chanan <gchanan@fb.com>
Wed, 20 Mar 2019 15:39:52 +0000 (08:39 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 20 Mar 2019 15:43:02 +0000 (08:43 -0700)
commitbd1271338ada8eda28a72e028a5521480d118bfb
tree9fb093ae2bfe38e07126ea5d95e52cf3471764a0
parent4741d613eed2588a13c0f7a331500716393de3de
Add python_variable._is_view for debugging. (#18197)

Summary:
I don't know if we actually want to expose this or not, but it's useful for debugging.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18197

Reviewed By: ezyang

Differential Revision: D14530712

Pulled By: gchanan

fbshipit-source-id: 98fdba9cf113738f0db3a198c49365de536b9919
tools/autograd/templates/python_variable_methods.cpp