fix tuple matching (#17687)
authorElias Ellison <eellison@fb.com>
Wed, 6 Mar 2019 19:21:09 +0000 (11:21 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 6 Mar 2019 19:25:36 +0000 (11:25 -0800)
commit10ea02facf024ad728c3d80de7c8b8ce0b0099c9
tree5f0dd3a3c87b1c3dd2073de7f7dc6f03fb34986d
parentc658d9b21bd453904ff9c485e8a9e65608b1eabb
fix tuple matching (#17687)

Summary:
Check for Tuple Matching in isSubvalueOf, since they may contain container types that need to be recursed within isSubvalueOf

Fix for https://github.com/pytorch/pytorch/issues/17650
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17687

Differential Revision: D14324642

Pulled By: eellison

fbshipit-source-id: 7f1e019875286b2640a3b9c003d1635dda8cf543
aten/src/ATen/core/type.cpp
test/cpp/api/jit.cpp