Instance MethodSwiftDifferentiation

differentiableReduce(_:_:)

@differentiable(reverse, wrt: (self, initialResult)) func differentiableReduce<Result>(_ initialResult: Result, _ nextPartialResult: (Result, Element) -> Result) -> Result where Result : Differentiable