You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Support \`None\` as a valid input to \`op.OpType()\` calls in the
onnxscript builder. This is needed for ONNX ops with optional inputs
(e.g., Gemm's optional C input).
## Changes
- Add \`None\` to the \`VALUE_LIKE\` union type
- Update \`_input_to_ir_value\` to return \`ir.Value | None\` and pass
\`None\` through
- Update \`_partition_inputs_attributes\` and \`call_op\` type
signatures to accept \`None\`
- Add tests for \`None\` inputs with standard and custom domain ops
Also removed pylint because it is not doing much good nowadays.
---------
Signed-off-by: Justin Chu <justinchuby@noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@noreply.github.com>
0 commit comments