We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdca95c commit d97535fCopy full SHA for d97535f
docs/src/autodiff/operator_overloading.md
@@ -7,7 +7,7 @@ an overload of an AD system's overloaded type.
7
For example, using the signature type `Tuple{typeof(+), Real, Real}` to make
8
`+(::DualNumber, ::DualNumber)` call the `frule` for `+`.
9
A signature type tuple always has the form:
10
-`Tuple{typeof(operation), typeof{pos_arg1}, typeof{pos_arg2...}}`, where `pos_arg1` is the
+`Tuple{typeof(operation), typeof{pos_arg1}, typeof{pos_arg2}, ...}`, where `pos_arg1` is the
11
first positional argument.
12
One can dispatch on the signature type to make rules with argument types your AD does not support not call `eval`;
13
or more simply you can just use conditions for this.
0 commit comments