backprop v0.2.3.0 Release Notes
Release Date: 2018-05-25 // almost 6 years ago-
May 25, 2018
🚀 https://github.com/mstksg/backprop/releases/tag/v0.2.3.0
- Argument order in
backpropWith
family of functions switched around to allow for final gradient to be given after-the-fact. Breaking change for anyone using anybackpropWith
function. - As a consequence of the previous change,
backprop
family of functions in Explicit interfaces also all changed argument order. Breaking change only for those using the Explicit interfaces. - Explicit
collectVar
no longer needs aZeroFunc
for the container, and so all versions ofcollectVar
and functions that use it (fmap
,liftA2
,liftA3
,traverse
,mapAccumL
,mapAccumR
) no longer requireBackprop
orNum
instances for the final returned container type. This enables a lot more flexibility in container types. Breaking change only for those using the Explicit interfaces. -
BV
pattern synonym added to Numeric.Backprop, abstracting over application ofsplitBV
andjoinBV
. -
foldr
andfoldl'
added to Prelude modules, for convenience. -
round
andfromIntegral'
("unround") added to Prelude modules.
- Argument order in