a171232886 / a171232886/a171232886.github.io

python、numpy、Pytorch中的索引方式 | 小王同学

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
31fb2a814a654a60245c777fb2140b04 Gitalk
Lingua principale
HTML
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://a171232886.github.io/2021/11/21/python-numpy-Pytorch%E4%B8%AD%E7%9A%84%E7%B4%A2%E5%BC%95%E6%96%B9%E5%BC%8F/

能用索引方式过多,不止下标索引。自己写程序还好,关键是看人家写的程序,有时候会晕掉,不知所云。故在此总结。
首先对Numpy的下标索引、切片索引、布尔索引和花式索引进行介绍和分析,然后研究Python和Pytorch中的索引方式是否包括以上四种。
Numpy
下标索引
123456789101112131415161718192021222324>>> a = numpy

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The issue links to a blog post about indexing in Python, NumPy, and PyTorch. Review the existing content on the site, likely in the _posts directory, to see if this material is already covered. If not, create a new markdown post summarizing the indexing methods, ensuring it aligns with the site's Hexo structure. Test by running the site locally to verify the post appears correctly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
numpy, python, pytorch
Ambito
content, documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.