Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forward :: Backprop cat input output -> Backprop cat input (output, cache)inf-backprop InfBackprop Returns forward category. In the case cat = (->), the method coincides with Backprop cat input output itself but the output contains an additional data term cache with some calculation result that can be reused on in backward.
forward :: Backprop cat input output -> Backprop cat input (output, cache)inf-backprop InfBackprop.Common Returns forward category. In the case cat = (->), the method coincides with Backprop cat input output itself but the output contains an additional data term cache with some calculation result that can be reused on in backward.
-
inf-backprop InfBackprop.Common Implementation of the process illustrated in the diagram. The first argument is a backprop morphism y -> dy The second argument is a backprop morphism x -> y The output is the backprop x -> dx build according the diagram
forget :: Additive x => BackpropFunc x ()inf-backprop Prelude.InfBackprop Transforms any function to unit (). It is not differentiable until StartBackprop is defined for (). However forget is useful if need to remove some data in the differentiable pipeline.
Examples of usage
>>> import InfBackprop (call, derivative)
>>> f = first forget >>> (iso :: BackpropFunc ((), a) a) :: Additive a => BackpropFunc (a, a) a
>>> call f (24, 42) 42
>>> derivative f (24, 42) (0,1)
forgetFirst :: Additive x => BackpropFunc (x, y) yinf-backprop Prelude.InfBackprop Remove the first element of a tuple.
Examples of usage
>>> import InfBackprop (call, derivative)
>>> call forgetFirst (24, 42) 42
>>> derivative forgetFirst (24, 42) (0,1)
forgetSecond :: forall x y . Additive y => BackpropFunc (x, y) xinf-backprop Prelude.InfBackprop Remove the second element of a tuple.
Examples of usage
>>> import InfBackprop (call, derivative)
>>> call forgetSecond (24, 42) 24
>>> derivative forgetSecond (24, 42) (1,0)
forward :: MonadDOM m => History -> m ()jsaddle-dom JSDOM.Generated.History formData :: MonadDOM m => Response -> m Blobjsaddle-dom JSDOM.Generated.Response formData_ :: MonadDOM m => Response -> m ()jsaddle-dom JSDOM.Generated.Response forceRedraw :: MonadDOM m => SVGSVGElement -> m ()jsaddle-dom JSDOM.Generated.SVGSVGElement