arrayfire / arrayfire/arrayfire-python
arrayfire imax function
- Lingua principale
- Python
- Stelle
- 422
- Fork
- 63
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`max_val, max_idx = af.imax(img)`
running this function seems to have wrong behavior and finds wrong max value for an image with pixels in range [0,1].
When running `max_val, max_idx = af.imax(af.flat(img))` the correct max value is found.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Reproduce the discrepancy with an image whose pixels are in [0,1], comparing af.imax(img) with af.imax(af.flat(img)). Start at the Python binding entry point for af.imax and inspect how image shape is handled; done means both forms return the same correct maximum value and index.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- data
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100