onnxruntime/onnxruntime
Gary Miguel dc5d6b9515
register signal ops for opset 17 (#11778)
* Register signal ops for op set 17

Note code is mostly being moved, not added. These ops were previously
only registered as Microsoft contrib ops and only built if
`BUILD_MS_EXPERIMENTAL_OPS=1`. They've been added to the ai.onnx
standard op set in version 17.

Main components of this change:

* Move the kernels from the conrib_ops directory to the
  core directory.
* Add function bodies for ms experimental ops. This will allow
  old models that use the contrib ops to continue to function.
  All the function bodies consist of a single op (the
  new standard op), so performance overhead should be minimal.

Minor clean-up also in this change:

* De-duplicate get_scalar_value_from_tensor: put it in a new utils.h.
* Fix some bugs that caused compilation errors with the experimental
  ops. Tested with `build.sh --ms_experimental`
* Fix some spelling errors and lint violations.
* Replace a couple of switch statements with `MLTypeCallDispatcher`.
* Use `InlineVector` instead of `std::vector`.

Unblocks https://github.com/microsoft/onnxruntime/issues/11640
2022-06-27 10:26:55 +10:00
..
contrib_ops register signal ops for opset 17 (#11778) 2022-06-27 10:26:55 +10:00
core register signal ops for opset 17 (#11778) 2022-06-27 10:26:55 +10:00
gsl
python MT5 onnx conversion for beam search (#11958) 2022-06-23 10:23:28 -07:00
test register signal ops for opset 17 (#11778) 2022-06-27 10:26:55 +10:00
tool/etw
wasm EP factory creation cleanup and enhancements. (#11798) 2022-06-16 07:01:41 +10:00
__init__.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
ReformatSource.ps1
ReformatSourcePython.bat Add python docstring linting in vscode settings (#11316) 2022-04-23 06:23:04 -07:00
VSCodeCoverage.runsettings