WHITEDEC
ABOUT CATEGORIES ARCHIVE Login
ABOUT CATEGORIES ARCHIVE
Login

Posts tagged with "張量"

There are a total of 2 posts.

Published 十二月 17, 2025 by whitedec

深度學習程式碼中常見的 NumPy 與 PyTorch:實際關係與學習順序指南

對於深度學習開發者而言,NumPy 與 PyTorch 的關係常令人困惑。本文清晰說明 NumPy 主要用於 CPU 數值計算、資料前處理與視覺化,而 PyTorch 則負責 GPU 張量運算與自動微分。兩者可共享記憶體,實務中需頻繁轉換…

#pytorch #gpu #深度學習 #numpy #張量 #資料前處理 #前處理

Published 十二月 16, 2025 by whitedec

NumPy 索引與切片:自由切割張量的方法

本篇文章以實例說明 NumPy 與 PyTorch 中張量的索引與切片技巧,從 1 維到 4 維以上,涵蓋視圖與複製、布林索引、整數陣列索引,協助讀者快速掌握深度學習資料前處理與模型操作。

#pytorch #numpy #索引 #切片 #張量 #資料前處理
Subscribe to my RSS feed

© 2025 whitedec. All rights reserved. Powered by Mikihands.