|
QDpy
|
A reference simulator, policy architecture, and compiled batch adapter. More...
Public Member Functions | |
| sample (self, count, *, seed=0) | |
| Draw independent initialized networks using the reference initializer. | |
| evaluate_batch (self, genomes, *, seed=0) | |
| Score a matrix of flat networks in one batched reference rollout. | |
A reference simulator, policy architecture, and compiled batch adapter.
Construct with kheperax_maze or qdax_brax. Scores keep upstream units.
Definition at line 22 of file jax_reference.py.
| qdpy.benchmarks.jax_reference.JAXPolicyBenchmark.evaluate_batch | ( | self, | |
| genomes, | |||
| * | , | ||
| seed = 0 ) |
Score a matrix of flat networks in one batched reference rollout.
| genomes | Nonempty matrix of finite weights in the same order as sample(). |
| seed | Unsigned 32-bit seed for the entire batch. |
Definition at line 63 of file jax_reference.py.