all AI news
rot90() and roll() in PyTorch
April 24, 2024, 4:32 a.m. | Super Kai (Kazuya Ito)
DEV Community dev.to
rot90() can rotate a 2D or more D tensor by 90 degrees as shown below:
*Memos:
rot90() can be used with torch or a tensor.- The tensor of zero or more integers, floating-point numbers, complex numbers or boolean values can be used.
- The 2nd argument(int) with torch or the 1st argument(int) with a tensor is k(Optional).
- The 3rd argument(tuple of int or list of int) with torch or the 2nd argument(tuple of int or list of int) with a tensor …
function integers memos numbers pytorch roll tensor torch values
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