The Chain Rule, Forward and Reverse Accumulation
Fundamental to AD is the decomposition of differentials provided by the chain rule. For the simple composition the chain rule gives
Usually, two distinct modes of AD are presented, forward accumulation (or forward mode) and reverse accumulation (or reverse mode). Forward accumulation specifies that one traverses the chain rule from right to left (that is, first one computes and then ), while reverse accumulation has the traversal from left to right.
Read more about this topic: Automatic Differentiation
Famous quotes containing the words chain, reverse and/or accumulation:
“Oh yes, thats right. They chain up wild animals. Thats all I am, an animal.”
—John Elder [Anthony Hinds], British screenwriter, and Terence Fisher. Leon (Oliver Reed)
“Now listen, buddy, there are a few corny ideas you got to get out of your head if youre going to fly an airplane. Most things are just the reverse from what people think. The higher you are the safer you are. The Earth down there, that, thats your enemy because once you hit that, boy, you splatter.”
—Dalton Trumbo (19051976)
“You watched and you saw what happened and in the accumulation of episodes you saw the pattern: Daddy ruled the roost, called the shots, made the money, made the decisions, so you signed up on his side, and fifteen years later when the womens movement came along with its incendiary manifestos telling you to avoid marriage and motherhood, it was as if somebody put a match to a pile of dry kindling.”
—Anne Taylor Fleming (20th century)