- genann-weight-set! genann i xprocedure
- genann-weight-ref genann iprocedure
Set or get the ith weight of genann, with the former being a setter for the latter, so you can use set! with genann-weight-ref. Useful for training with random search, as in example2.scm.