У меня есть эта строка:
theta1 = zeros((3,2)) #this is a 3x2 matrix
theta0 = zeros((2,1)) #this is a 2x1 matrix
thetares = theta1.dot(theta0) #3x2 * 2x1 -> 3x1
res0 = thetares.T.dot(thetares)[0,0] #result 0.0
res1 = thetares.T.dot(thetares) #result [[0.]]
но я не знаю, что означает [0,0] в конце выражения res0 . Результатом res0 и res1 будет матрица 1x1