nengo/nengo-fpga

Suggested change to learning example

celiasmith opened this issue · 0 comments

I'd replace the current input to the error with:
nengo.Connection(input_node, error, function=lambda x: x**2, transform=-1)

or with a previous declared function so it's easy to use this code to learn any nonlinearity as well (as written only linear functions are easy).