Files
tensorneat-mend/test/mlp_substrate.py
2024-11-23 15:32:28 +08:00

7 lines
198 B
Python

from tensorneat.algorithm.hyperneat.substrate.mlp import MLPSubstrate, analysis_substrate
layers = [3, 4, 2]
coor_range = (-1, 1, -1, 1)
nodes = analysis_substrate(layers, coor_range)
print(nodes)