add gene type RNN

This commit is contained in:
wls2002
2023-07-19 15:43:49 +08:00
parent 0a2a9fd1be
commit a684e6584d
18 changed files with 248 additions and 129 deletions

View File

@@ -0,0 +1,13 @@
import numpy as np
vals = np.array([1, 2])
weights = np.array([[0, 4], [5, 0]])
ins1 = vals * weights[:, 0]
ins2 = vals * weights[:, 1]
ins_all = vals * weights.T
print(ins1)
print(ins2)
print(ins_all)