Skip to content

Commit 6895926

Browse files
committed
output -> f.
1 parent efdc3d8 commit 6895926

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/derivatives/gradient.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ nn = SymbolicNeuralNetwork(c)
3333
Internally the constructors are using [`symbolic_pullback`](@ref).
3434
"""
3535
struct Gradient{OT, SDT, ST} <: Derivative{OT, SDT, ST}
36-
output::OT
36+
f::OT
3737
::SDT
3838
nn::ST
3939
end
@@ -73,7 +73,7 @@ function Gradient(nn::SymbolicNeuralNetwork)
7373
end
7474

7575
@doc raw"""
76-
symbolic_pullback(nn, f)
76+
symbolic_pullback(f, nn)
7777
7878
This takes a symbolic `f`` that depends on the parameters in `nn` and returns the corresponding pullback (a symbolic expression).
7979

src/derivatives/jacobian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ true
7575
```
7676
"""
7777
struct Jacobian{OT, SDT, ST} <: Derivative{OT, SDT, ST}
78-
output::OT
78+
f::OT
7979
::SDT
8080
nn::ST
8181
end

0 commit comments

Comments
 (0)