Skip to content

Conversation

@skottmckay
Copy link
Contributor

Description:
Fix kernel registrations to not skip versions.

Motivation and Context
A versioned registration needs to match the onnx spec.

@skottmckay skottmckay requested a review from a team as a code owner November 7, 2020 07:32
BuildKernelCreateInfo<ONNX_OPERATOR_VERSIONED_KERNEL_CLASS_NAME(kCpuExecutionProvider, kOnnxDomain, 1, 10, If)>,
BuildKernelCreateInfo<ONNX_OPERATOR_VERSIONED_KERNEL_CLASS_NAME(kCpuExecutionProvider, kOnnxDomain, 1, 10,
Loop)>,
BuildKernelCreateInfo<void>, //default entry to avoid the list become empty after ops-reducing
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the clang-format default indentation. Non-whitespace diffs are just matching the changes to the forward declarations.

@skottmckay skottmckay merged commit c0c9ab4 into master Nov 7, 2020
@skottmckay skottmckay deleted the skottmckay/FixKernelRegistrations branch November 7, 2020 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants