all AI news
permute() and movedim() in PyTorch
April 5, 2024, 6:53 a.m. | Super Kai (Kazuya Ito)
DEV Community dev.to
permute() or movedim() can permute the dimensions of a 1D or more D tensor without losing data as shown below:
*Memos:
permute() and movedim() can be used both from torch and a tensor.- The 2nd argument of permute() is one or more dimensions with torch.
- The 1st argument of permute() is one or more dimensions with a tensor.
- The 2nd argument of movedim() is one or more dimensions. These must be unique with torch.
- The 1st argument of movedim() is …
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Sr. VBI Developer II
@ Atos | Texas, US, 75093
Wealth Management - Data Analytics Intern/Co-op Fall 2024
@ Scotiabank | Toronto, ON, CA