pytorch
8a2c7d90 - [static runtime] Add DCHECK to ensure that outputs do not overlap with immutable inputs (#61301)

Commit
3 years ago
[static runtime] Add DCHECK to ensure that outputs do not overlap with immutable inputs (#61301) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61301 This change adds a `DCHECK` to ensure that outputs do not overlap with immutable inputs. Test Plan: Added unittests as follows: - `ProcessedNode.VerifyOutputsNotOverlappingWithImmutableInputsWithImmutableArguments` - `ProcessedNode.VerifyOutputsNotOverlappingWithImmutableInputsWithMutableArguments` Reviewed By: hlu1 Differential Revision: D29564158 fbshipit-source-id: bf14b4978ab544af79010cf724ed28202b4521cc
Author
Parents
Loading