Move THPVariable_NewWithVar around (#64550)
authorAlban Desmaison <albandes@fb.com>
Fri, 10 Sep 2021 20:07:37 +0000 (13:07 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Sep 2021 23:49:08 +0000 (16:49 -0700)
commit89f94fc15f672725f5ce2cdc109c8b3310e58de7
treee22693db0b6dbe23bacc78a5af6ef47a06697450
parent2cc97784950739a0a71abad59ee263e7583ea080
Move THPVariable_NewWithVar around (#64550)

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

Just moves a function around to make the next PR easier to read.

Test Plan: Imported from OSS

Reviewed By: ngimel

Differential Revision: D30867570

Pulled By: albanD

fbshipit-source-id: 99ae925568ed29ca7fdea059762c21d430d4a204
torch/csrc/autograd/python_variable.cpp