pytorch/torch/onnx/ops
Justin Chu 3efa211e48 [ONNX] Annotate None inputs in symbolic ops (#150038)
Add `None` to type annotations of `torch.onnx.ops.symbolic*` ops and improve tests to test support for optional inputs. Previously it was omitted mistakenly even though the implementation supports it.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/150038
Approved by: https://github.com/titaiwangms
2025-03-27 00:01:09 +00:00
..
__init__.py [ONNX] Annotate None inputs in symbolic ops (#150038) 2025-03-27 00:01:09 +00:00
_symbolic_impl.py