Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOSA][Constant Fold] Support floating point for reduce_sum, reduce_prod, reduce_max, reduce_min #180

Conversation

ge28boj
Copy link

@ge28boj ge28boj commented May 7, 2024

close this PR, please see #181

@ge28boj ge28boj requested review from ttjost and mgehre-amd May 7, 2024 15:53
@@ -49,8 +49,7 @@ OffsetType indexToOffset(DimensionType shape, DimensionType index) {
return offset;
}

SmallVector<int64_t> offsetToIndex(DimensionType shape,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please revert all reformatting changes from this file? Upstream typically doesn't accept them and it will make our fork diverge more from upstream, making upstreaming harder.

@ge28boj ge28boj force-pushed the liangta.tosa_const_fold_reduce_sum_floating_point branch from d8ae7eb to 63db985 Compare May 8, 2024 07:48
@ge28boj ge28boj closed this May 8, 2024
@ge28boj ge28boj deleted the liangta.tosa_const_fold_reduce_sum_floating_point branch May 8, 2024 14:31
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.

2 participants