neuralnet-pytorch icon indicating copy to clipboard operation
neuralnet-pytorch copied to clipboard

How to modify original pytorch code into this?

Open xiaomingjie opened this issue 5 years ago • 1 comments
trafficstars

Hi @justanhduc , I am very interested in your GraphX. It seems that your nnt mainly rewrite nn.sequential which need to add output_shape in each torch operation such as FC and Conv2d. So can original pytorch code be easily transform to nnt type?

xiaomingjie avatar Dec 25 '19 08:12 xiaomingjie

thanks for your interest. it's very easy. you can use this to wrap a pure Pytorch module. i will release a new version of nnt soon (and GraphX as well) which supports better wrapping.

justanhduc avatar Dec 26 '19 05:12 justanhduc