From 6e09befd8691ef631c6f4b2215c766514637de19 Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Wed, 21 Apr 2021 12:30:16 +0100 Subject: [PATCH] remove excess whitespace --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index e20b0025..b545a7d3 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,6 @@ r.minimizer ## Custom gradient / adjoint A custom gradient rule for a function should be defined using ChainRulesCore's `rrule`. - For example the following can be used for the function `f` defined above. ```julia @@ -126,7 +125,6 @@ test_rrule(f, [1.2, 3.6]) For full details on `rrules` etc see the [ChainRules documentation](https://juliadiff.org/ChainRulesCore.jl/stable/). - ## Hack to use other automatic differentiation backends For specific functions, if you want to use `ForwardDiff` instead of `Zygote`, one way to do this is to define an `rrule` using `ForwardDiff` to compute the gradient or jacobian, e.g: