Skip to content

Commit 21da4f4

Browse files
add some literature background
1 parent 4b1f42d commit 21da4f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/models/functors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Flux makes use of the Functors.jl to represent many of the core functionalities it provides.
44

5+
Functors.jl is a collection of tools designed to represent a [functor](https://en.wikipedia.org/wiki/Functor_(functional_programming)). Flux makes use of it to treat certain structs as functors. Notable examples include the layers that Flux defines.
6+
57
```@docs
68
Functors.isleaf
79
Functors.children

0 commit comments

Comments
 (0)