241005
This commit is contained in:
9
mlcode/22.py
Normal file
9
mlcode/22.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import numpy as np
|
||||
|
||||
w = np.array([1, 2, 3])
|
||||
b = 4
|
||||
x = np.array([10, 20, 30])
|
||||
|
||||
f = np.dot(w, x) + b
|
||||
|
||||
print(f)
|
||||
Reference in New Issue
Block a user