Fix contiguous AD and Autogradzero inconsistency (#18633)
authorWanchao Liang <wanchaol@users.noreply.github.com>
Wed, 3 Apr 2019 18:18:05 +0000 (11:18 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 Apr 2019 19:47:28 +0000 (12:47 -0700)
commita21e256e8db77a339e0e1975a4ea41b671f3b0d9
treeba1f9744f95c83d79f4d2fb36a218b51bcc0c46f
parent5950c1e8c419cb3f51c0222def269ad94a564ff4
Fix contiguous AD and Autogradzero inconsistency (#18633)

Summary:
Fixes #17962
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18633

Differential Revision: D14700449

Pulled By: wanchaol

fbshipit-source-id: 3d15d67c01b69b28394a0f2f001db90ed9fd31dc
test/common_methods_invocations.py
tools/jit/templates/register_aten_ops.cpp
torch/csrc/jit/autodiff.cpp
torch/csrc/jit/symbolic_script.cpp