fromIntegral package:backprop

Lifted conversion between two Integral instances.
fromIntegral, but taking explicit add and zero.
fromIntegral, but with Num constraints instead of Backprop constraints.
Lifted version of fromIntegral, defined to let you return RealFrac instances as targets, instead of only other Integrals. Essentially the opposite of round. The gradient should technically diverge whenever the fractional part of the downstream gradient is 0.5, but does not do this for convenience reasons.
fromIntegral', but taking explicit add and zero.
fromIntegral', but with Num constraints instead of Backprop constraints.