|
QDpy
|
Generate repeatable binary maps with a small neural cellular automaton. More...
Public Member Functions | |
| dimension (self) | |
| __call__ (self, genome) | |
Generate repeatable binary maps with a small neural cellular automaton.
Iterate shared local rules on a seed map using NumPy and SciPy. Each hidden channel computes a 3x3 correlation and a ReLU. A pointwise sigmoid readout updates the map. Threshold the final map at one half. One denotes an obstacle and zero denotes open space. :param seed_map: Fixed binary starting map. :param iterations: Number of full cellular updates. :param hidden: Number of local correlation channels.
Definition at line 37 of file qd_mapper.py.
| qdpy.algorithms.qd_mapper.NeuralCellularMap.__call__ | ( | self, | |
| genome ) |
Generate a binary map for a vector of the configured dimension.
Definition at line 59 of file qd_mapper.py.
| qdpy.algorithms.qd_mapper.NeuralCellularMap.dimension | ( | self | ) |
Return the total number of kernel and readout parameters.
Definition at line 55 of file qd_mapper.py.