Skip to content

Conversation

@edgchen1
Copy link
Contributor

@edgchen1 edgchen1 commented Feb 5, 2021

Description
Enable type reduction for Gather CPU kernel.

Motivation and Context
Allows implementation to be excluded from binary if the type is not enabled.

@edgchen1 edgchen1 requested a review from skottmckay February 5, 2021 00:57
@edgchen1 edgchen1 requested a review from a team as a code owner February 5, 2021 00:57
@@ -0,0 +1,50 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
Copy link
Contributor Author

@edgchen1 edgchen1 Feb 5, 2021

Choose a reason for hiding this comment

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

copied from #6547
will merge after that PR is merged #Resolved

@skottmckay
Copy link
Contributor

skottmckay commented Feb 5, 2021

}

nit: message should probably say 'not supported in this build' as we support both index types that are valid according to the Gather spec. #Resolved


Refers to: onnxruntime/core/providers/cpu/tensor/gather.cc:159 in 63f1fb2. [](commit_id = 63f1fb2, deletion_comment = False)

skottmckay
skottmckay previously approved these changes Feb 5, 2021
Copy link
Contributor

@skottmckay skottmckay left a comment

Choose a reason for hiding this comment

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

:shipit:

@skottmckay skottmckay merged commit 3b376da into master Feb 5, 2021
@skottmckay skottmckay deleted the edgchen1/gather_type_reduction branch February 5, 2021 07:22
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