mseminatore / ann

LIBANN is a fast, portable and easy to use neural network library written in pure ANSI-C
MIT License
4 stars 1 forks source link

opt: eval_network combine tensor_matvec and tensor_add #28

Open mseminatore opened 1 year ago

mseminatore commented 1 year ago

May be able to do the mul and add in a single call.

Alternatively, add the bias vector as part of the activation function