10 lines
109 B
Python
10 lines
109 B
Python
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)
|