Add input information in RecordFunction calls (#18717)
authorIlia Cherniavskii <iliacher@fb.com>
Tue, 16 Apr 2019 03:24:10 +0000 (20:24 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 16 Apr 2019 03:28:08 +0000 (20:28 -0700)
commitf1c8e01524067f6eb0976ade32139e591b907f24
tree69abd32038d30ec9c5447c89b6146467dccd9468
parent84b264b17dd59d9db8a1afc88f2509af74cbfdfe
Add input information in RecordFunction calls (#18717)

Summary:
Add input information into generated RecordFunction calls in
VariableType wrappers, JIT operators and a few more locations
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18717

Differential Revision: D14729156

Pulled By: ilia-cher

fbshipit-source-id: 811ac4cbfd85af5c389ef030a7e82ef454afadec
test/cpp/jit/test_misc.h
tools/autograd/gen_variable_type.py
tools/jit/gen_jit_dispatch.py
tools/jit/templates/register_aten_ops.cpp
torch/csrc/autograd/VariableTypeManual.cpp
torch/csrc/autograd/function.h
torch/csrc/autograd/python_function.cpp
torch/csrc/autograd/record_function.cpp
torch/csrc/autograd/record_function.h
torch/csrc/jit/register_prim_ops.cpp
torch/csrc/jit/register_special_ops.cpp