pytorch
45b2f41c - [package] fix torchscript classes in package (#68028)

Commit
3 years ago
[package] fix torchscript classes in package (#68028) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/68028 Today, we demangle a typename before passing it to the TorchScript compiler. This breaks compilation of torch classes in cases where we are attempting to script the same class name from inside a package and out, since we will return the same qualified name for both. Differential Revision: D32261907 D32261907 Test Plan: Imported from OSS Reviewed By: saketh-are Pulled By: suo fbshipit-source-id: 921bc03ad385d94b9279fbc6f3b7dcd0ddbe5bc7
Author
suo suo
Parents
Loading