I also tried
class CNNModel1():
now the same error does not appeared but it was:
runfile(‘C:/- DOCKING/Macros/py/inouts/pthModels/pthModels.py’, wdir=‘C:/- DOCKING/Macros/py/inouts/pthModels’)
Traceback (most recent call last):
File “C:- DOCKING\Macros\py\inouts\pthModels\pthModels.py”, line 55, in 
x=CNNModel1.forward()
TypeError: forward() missing 2 required positional arguments: ‘self’ and ‘x’
does that clarifies the problem?