1
কেন এনপি.ডট অপ্রচলিত? (এন-ডিমে অ্যারে)
ধরুন আমরা np.dotদুটি 'float32'2 ডি অ্যারে গ্রহণ করি: res = np.dot(a, b) # see CASE 1 print(list(res[0])) # list shows more digits [-0.90448684, -1.1708503, 0.907136, 3.5594249, 1.1374011, -1.3826287] নাম্বার। বাদে তারা পরিবর্তন করতে পারে: ক্যাসি 1 : টুকরাa np.random.seed(1) a = np.random.randn(9, 6).astype('float32') b = np.random.randn(6, 6).astype('float32') for i in …