Revert "Specialize optional tensor inputs to graphs in the JIT (#18360)" (#18411)
authorThomas Viehmann <tv.code@beamnet.de>
Mon, 25 Mar 2019 04:26:45 +0000 (21:26 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 25 Mar 2019 04:29:29 +0000 (21:29 -0700)
commit9e176fe5fe85dda2fa45700cbbeeb2d517f00b3a
treea4d2e739b3382b57cc2a079ec16c4ec90301753b
parent5acac411e4eb682019fc093f8c32b59d4b9fb82c
Revert "Specialize optional tensor inputs to graphs in the JIT (#18360)" (#18411)

Summary:
This reverts commit 7cc7ed1322405ba3c627b9c5661a330f92c4183d.

I think it's better to sort out the issues raised in #18407 firs. I'm sorry for not stopping it earlier.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18411

Differential Revision: D14594937

Pulled By: soumith

fbshipit-source-id: 3c90b7fa7694e2f59e55607acecde4a47af801ea
test/test_jit.py
torch/csrc/jit/argument_spec.h
torch/csrc/jit/passes/shape_analysis.cpp