Home > other >  Pycharm program in
Pycharm program in

Time:01-29

Def forward (x) :
Print (x * w)

Def loss (x, y) :
Y_pred=forward (x)
Return (y_pred - y) * (y_pred - y)

X_data=https://bbs.csdn.net/topics/1
Y_data=https://bbs.csdn.net/topics/3
W=2
Forward (x_data)
Loss (x_data y_data)

Code error: this mistake how to solve the
TypeError: unsupported operand type (s) for: 'NoneType' and 'int'
  • Related