简体   繁体   中英

Custom NN architecture using Pytorch

I am trying to make a custom CNN architecture using Pytorch. I want to have about the same control as what I would get if I make the architecture using numpy only.

I am new to Pytorch and would like to see some code samples of CNNs implemented without the nn.module class, if possible.

You have to implement backward() function in your custom class.

However from your question it is not clear whether

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM