Allow List arguments to Python Ops (#15721)
authorDavid Riazati <davidriazati@fb.com>
Mon, 7 Jan 2019 21:49:20 +0000 (13:49 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 7 Jan 2019 21:51:53 +0000 (13:51 -0800)
commit76feb8c40fcfa49c6555ff7d89a0380406577c7a
treeb17a746104726fccab32a3400827fb01f71861ef
parent668678e753cfd76fe1f0bf36831f7d77dfb4b321
Allow List arguments to Python Ops (#15721)

Summary:
Adds `List` to eval environment for type lines and allows `List` to be used on PythonOps (follows the same style as the `Tuple` code), fixes #15661
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15721

Differential Revision: D13578540

Pulled By: driazati

fbshipit-source-id: fce54dc3c0931d8b017b2e3483f0ac53826dda94
test/test_jit.py
torch/_jit_internal.py
torch/csrc/jit/python_ir.cpp
torch/jit/annotations.py