-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
@cuijia1247
Description
In[10]:# 画出参数更新之前的结果
w0 = w[0].data[0]
w1 = w[1].data[0]
b0 = b.data[0]
plot_x = np.arange(0.2, 1, 0.01)
plot_y = (-w0 * plot_x - b0) / w1
TypeError
TypeError: mul() received an invalid combination of arguments - got (numpy.ndarray), but expected one of:
- (Tensor other)
didn't match because some of the arguments have invalid types: (numpy.ndarray) - (Number other)
didn't match because some of the arguments have invalid types: (numpy.ndarray)
Metadata
Metadata
Assignees
Labels
No labels