pyFDN.model_response#

pyFDN.model_response(model, excitation=None)[source]#

Run model on an impulse and wrap the result in a Response.

Pass excitation to reuse a tensor across steps; impulse_excitation() builds one.

Gradients flow through the returned response, so this is what the trainer calls each step. To inspect a model as a NumPy array, use pyFDN.flamo_to_impz().

Return type:

Response