import numpy as np
np.random.randn(2, 4)
TypeError Traceback (most recent call last)
<ipython-input-89-6f0359bd85c3> in <module>()
1 import numpy as np
----> 2 np.random.randn(2, 4)
TypeError: 'tuple' object is not callable
因此无法初始化 mlp,但不明白为什么。