X = np.array([[1,0],[0.5]])
W1 = np.array([[0.1,0.3,0.4],[0.2,0.4,0.6]])
B1 = np.array([0.1,0.2,0.3])print(X1.shape)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'X1' is not defined
print(X.shape)
(2,)
print(W1.shape)
(2, 3)
print(B1.shape)
(3,)
A1 = np.dot(X,W1) + B1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can't multiply sequence by non-int of type 'float'
ゼロから作るディープラーニングの61Pで重みとかバイアスとかを計算する奴があってそれでこのようなエラーが出てしまったのですがなぜですか?
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。