pytorch
aafeea3a - Allow extra unused arguments in symbolic shape function (#65095)

Commit
3 years ago
Allow extra unused arguments in symbolic shape function (#65095) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65095 The reason I didn't do this initially was because I was worried that matching one schema to another schema with an extra argument might change semantics, e.g. Add(Tensor, Tensor) to Add(Tensor, Tensor, Tensor) might be different. However we don't actually need to worry about this because the graph schema isn't used for node matching, unlike symbolic_script.cpp Test Plan: Imported from OSS Reviewed By: navahgar Differential Revision: D30972081 Pulled By: eellison fbshipit-source-id: d4089e8feafc330df2ca158866fe779a7da0b073
Author
Elias Ellison
Parents
Loading