Skip to content

Conversation

@zpcore
Copy link
Member

@zpcore zpcore commented Sep 15, 2023

resolves #5583

Codegen for op argmin and argmax.

@zpcore zpcore added the codegen label Sep 15, 2023
Copy link
Collaborator

@lsy323 lsy323 left a comment

Choose a reason for hiding this comment

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

LGTM

@lsy323 lsy323 merged commit a008de3 into master Sep 18, 2023
@JackCaoG
Copy link
Collaborator

Shouldn't we also remove

return BuildArgMin(operands[0], dim, keepdim);
and corresponding .h and arg_max files?

@lsy323
Copy link
Collaborator

lsy323 commented Sep 18, 2023

@JackCaoG Good catch, yes, we need to remove arg_min/max.h/cpp. @zpcore Let's open a follow up PR to remove those unused files.

@lsy323
Copy link
Collaborator

lsy323 commented Sep 18, 2023

Also maybe paste the generated code in the description for reference like this PR #4449

@zpcore
Copy link
Member Author

zpcore commented Sep 18, 2023

Thanks, created a new pull request here: #5605.

@miladm
Copy link
Collaborator

miladm commented Jan 18, 2024

Looks like this PR contributed to #3560. @wonjoolee95 are you maintaining the status of codegen ops on this issue?

cc @zpcore @bhavya01

@wonjoo-wj
Copy link
Collaborator

Looks like this PR contributed to #3560. @wonjoolee95 are you maintaining the status of codegen ops on this issue?

cc @zpcore @bhavya01

Yep, thanks for bringing this up. Just updated #3560 to include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codegen argmin and argmax op

6 participants