modify pipeline for "update_by_data";

fix bug in speciate. currently, node_delete and conn_delete can successfully work
This commit is contained in:
wls2002
2024-05-31 15:32:56 +08:00
parent 3ea9986bd4
commit 6aa9011043
12 changed files with 132 additions and 45 deletions

View File

@@ -16,12 +16,16 @@ class XOR3d(FuncFit):
[1, 0, 1],
[1, 1, 0],
[1, 1, 1],
]
],
dtype=np.float32,
)
@property
def targets(self):
return np.array([[0], [1], [1], [0], [1], [0], [0], [1]])
return np.array(
[[0], [1], [1], [0], [1], [0], [0], [1]],
dtype=np.float32,
)
@property
def input_shape(self):