futhark
Safe HaskellNone
LanguageGHC2021

Futhark.AD.Rev.Loop

Synopsis

Documentation

diffLoop :: (Stms SOACS -> ADM ()) -> Pat Type -> StmAux () -> Exp SOACS -> ADM () -> ADM () Source #

Transforms a loop into its reverse-mode derivative.