Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OptionalIntArrayRef used by torchgen. (#6145)
Add OptionalIntArrayRef used by torchgen. (#5735) Summary: Pull Request resolved: #5735 Adds OptionalIntArrayRef for generated cpp using torchgen. Generated code with torchgen.api.types.CppSignatureGroup uses additional aliases that are not currently defined in exec_aten.h. This diff adds support for OptionalIntArrayRef. Example: aten::mean.dim uses an optional int array that would end up using `OptionalIntArrayRef`. Reviewed By: zonglinpeng Differential Revision: D63568016 fbshipit-source-id: fc87338632c5d2e84f1dd9b088d69ad304a13d1c (cherry picked from commit 0e5b92d) Co-authored-by: Matthias Cremon <[email protected]>
- Loading branch information