Skip to content

Commit 5e8ecb4

Browse files
committed
Add Colors.jl for better error handling
1 parent d6fa200 commit 5e8ecb4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[deps]
22
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
33
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
4+
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
45
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
56
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
6-
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
77
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
8+
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
89

910
[compat]
1011
Documenter = "0.26"

docs/src/models/recurrence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ julia> x = [rand(Float32, 2) for i = 1:3];
117117
julia> [m(xi) for xi in x]
118118
3-element Vector{Vector{Float32}}:
119119
[0.36080405]
120-
[-0.1391441]
120+
[-0.13914406]
121121
[0.9310162]
122122
```
123123

docs/src/saving.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ julia> evalcb = throttle(30) do
108108
# Show loss
109109
@save "model-checkpoint.bson" model
110110
end
111-
(::Flux.var"#throttled#70"{Flux.var"#throttled#66#71"{Bool, Bool, var"#1#2", Int64}}) (generic function with 1 method)
111+
(::Flux.var"#throttled#109"{Flux.var"#throttled#105#110"{Bool, Bool, var"#1#2", Int64}}) (generic function with 1 method)
112112
```
113113

114114
This will update the `"model-checkpoint.bson"` file every thirty seconds.

0 commit comments

Comments
 (0)