import numpy as np

arr1 = np.array([[1,2],[3,4]])
arr2 = np.array([[5,6],[7,8]])
arr3 = np.array([[1,2],[3,4],[5,6]])
arr4 = np.array([7,8])

# 列出矩陣的維度
# print(arr1.shape)
# print(arr1.shape[0])

# 矩陣乘積
# print(np.dot(arr1,arr2)) 
print(np.dot(arr3,arr4))


# print(arr1*arr2)


import numpy as np

arr1 = np.array([[1,2],[3,4]])
arr2 = np.array([[5,6],[7,8]])
arr3 = np.array([[1,2],[3,4],[5,6]])
arr4 = np.array([7,8])

# 列出矩陣的維度
# print(arr1.shape)
# print(arr1.shape[0])

# 矩陣乘積
# print(np.dot(arr1,arr2)) 
print(np.dot(arr3,arr4)) 

print(1*7+2*7)


# print(arr1*arr2)


Create 3 layer nt sample
Create 3 layer nt sample

  import numpy as np
  
  arr1 = np.array([[1,2],[3,4]])
  arr2 = np.array([[5,6],[7,8]])
  arr3 = np.array([[1,2],[3,4],[5,6]])
  arr4 = np.array([7,8])
  
  # 列出矩陣的維度
  # print(arr1.shape)
  # print(arr1.shape[0])
  
  # 矩陣乘積
  # print(np.dot(arr1,arr2)) 
- print(np.dot(arr3,arr4))
+ print(np.dot(arr3,arr4)) 
+ 
+ print(1*7+2*7)
  
  
  # print(arr1*arr2)
  
  
Create 3 layer nt sample
## Code Before:
import numpy as np

arr1 = np.array([[1,2],[3,4]])
arr2 = np.array([[5,6],[7,8]])
arr3 = np.array([[1,2],[3,4],[5,6]])
arr4 = np.array([7,8])

# 列出矩陣的維度
# print(arr1.shape)
# print(arr1.shape[0])

# 矩陣乘積
# print(np.dot(arr1,arr2)) 
print(np.dot(arr3,arr4))


# print(arr1*arr2)


## Instruction:
Create 3 layer nt sample
## Code After:
import numpy as np

arr1 = np.array([[1,2],[3,4]])
arr2 = np.array([[5,6],[7,8]])
arr3 = np.array([[1,2],[3,4],[5,6]])
arr4 = np.array([7,8])

# 列出矩陣的維度
# print(arr1.shape)
# print(arr1.shape[0])

# 矩陣乘積
# print(np.dot(arr1,arr2)) 
print(np.dot(arr3,arr4)) 

print(1*7+2*7)


# print(arr1*arr2)

