這個(gè)什么狀況?
?Y1=(1-X/float(n))*np.random.uniform(0.5,1.0,n)
ValueError: operands could not be broadcast together with shapes (128,) (10,)?
?Y1=(1-X/float(n))*np.random.uniform(0.5,1.0,n)
ValueError: operands could not be broadcast together with shapes (128,) (10,)?
舉報(bào)
2019-08-10
首先要定義X和n,定義了之后這段代碼在notebook中可以執(zhí)行