NVIDIA / NVIDIA/DALI

Need argmax/argmin operator

Open
#5,255 2 comments 2 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
5.8k
Forks
678
Avg merge
3d 1h
Merged PRs (30d)
27

Description

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Must have (e.g. DALI adoption is impossible due to lack in functionality).

Please provide a clear description of problem this feature solves

Object detection postprocessing, for example, slicing model output according to confidence, class, etc.

Feature Description

We already have dali.fn.reductions.max, just add argmax and argmin that returns index rather than value.

Describe your ideal solution

Add argmax.

Describe any alternatives you have considered

No response

Additional context

No response

Check for duplicates
  • I have searched the open bugs/issues and have found no duplicates for this bug report

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.