-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jit][tracer] allow traced modules to return dicts with tuple values …
…when strict=False (#49568) Summary: Pull Request resolved: #49568 We have some inference use cases where the expected output of a module is of the form `{"key": (t1, t1)}` and are currently jit tracing the modules until we can reach jit script compatibility. Test Plan: buck test mode/dev caffe2/test:jit -- 'test_trace_returning_complex_dict' Reviewed By: houseroad Differential Revision: D25624152 fbshipit-source-id: 5adef0e3c9d54cd31ad5fece4ac6530d541fd673
- Loading branch information
1 parent
46c9a0e
commit 5b163e2
Showing
2 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters