`xfer_func` is not an explicit name. I would either rename it to `transfer_function`, `activation_function` or `link_function`