add feedforward substrate and hyperneat and related example;
see https://github.com/EMI-Group/tensorneat/issues/9; fix bugs in genome visualize (add plt.close())
This commit is contained in:
@@ -3,6 +3,9 @@ from .default import DefaultSubstrate
|
||||
|
||||
|
||||
class FullSubstrate(DefaultSubstrate):
|
||||
|
||||
connection_type = "recurrent"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
input_coors=((-1, -1), (0, -1), (1, -1)),
|
||||
@@ -60,6 +63,7 @@ def analysis_substrate(input_coors, output_coors, hidden_coors):
|
||||
) # input_idx, output_idx, weight
|
||||
conns[:, :2] = correspond_keys
|
||||
|
||||
print(query_coors, nodes, conns)
|
||||
return query_coors, nodes, conns
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user