I know a bit of tensorflow 2.0, ie. creating and training models. In pytorch I find dificult to use classes. Can i use same similar and simpler syntax ? (like not using subclassing and directly calling functions in tf) in pytorch framework ?
Yes, you can do this… but it’s anyway a good practice to write object oriented code.