Thanks for replying. I realize where I have gone wrong.
I basically need a model in both Pytorch and keras. So that I can transfer the parameters in Pytorch model to Keras. Is there any way in Pytorch I might be able to extract the parameters in the pytorch model and use them?