all AI news
min(), max(), argmin() and argmax() in PyTorch
April 18, 2024, 4:09 a.m. | Super Kai (Kazuya Ito)
DEV Community dev.to
*Memos:
My post explains aminmax(), amin() and amax().
My post explains minimum(), maximum(), kthvalue() and topk().
min() can get the one or more minimum values of a 0D or more D tensor as shown below:
*Memos:
min() can be called both from torch and a tensor.- Setting a dimension(dim) to the 2nd argument with torch or the 1st argument with a tensor gets zero or more 1st minimum values and the indices of them.
- Only …
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US