Keno Fischer
be0133fb67
Make LSTMCell non-mutable
2019-01-28 20:26:04 -05:00
Keno Fischer
770f601897
Some memory improvements to OneHotMatrix
...
1. Parameterize OneHotVector on Integer type, to avoid using more memory
than required for vectors of them.
2. Switch OneHotMatrix from storing a vector of OneHotVectors to only storing
the data and the size of the vector (reconstructing the vector locally), thus
saving half the memory required and eliminating a transpose operation for
matmul with OneHotMatrix on TPU.
2019-01-28 20:23:50 -05:00
Elliot Saba
a7143553df
Change name to σ² for better consistency
2019-01-20 23:57:19 +00:00
Elliot Saba
c5d5a5c2a8
Cleanup BatchNorm implementation
...
This provides greater datatype persistence
2019-01-20 23:50:13 +00:00
Keno Fischer
943deea92d
Improvements for ResNet
2018-10-28 15:30:25 -04:00
Keno Fischer
77bb2a66de
Use lower level conv interface
2018-10-23 16:15:39 -04:00
Keno Fischer
f98d289579
kf/tpu_wip
2018-10-09 21:28:29 -04:00
Alex Bird
d131853587
add inv/ldivide/rdivide + test
2018-09-19 13:08:30 +01:00
Isaac Tay
e803117e25
updated loadparams! function
2018-09-15 16:45:04 +08:00
Mike J Innes
08fb9b7df1
Merge pull request #397 from FluxML/nest-bcast
...
Nested Derivatives of Broadcast
2018-09-14 20:23:28 +01:00
Mike Innes
d797999fc5
fix sentiment model
2018-09-14 18:10:24 +01:00
James Bradbury
e7783ace12
1.0 compat for normalise
2018-09-06 18:38:11 -07:00
Mike J Innes
6bbed07e96
enable nested broadcast
2018-09-07 02:05:03 +01:00
Mike J Innes
5e4ee827e9
Merge pull request #371 from johnnychen94/issue-#323
...
Fix issue #323
2018-09-06 15:28:15 +01:00
Mike J Innes
ec16a2c77d
todone: nicer syntax on 0.7
2018-09-05 15:55:08 +01:00
Mike J Innes
1e0fd07b09
use expand
2018-09-04 14:30:02 +01:00
Mike J Innes
e6be639436
Merge branch 'master' into HEAD
2018-09-04 14:03:46 +01:00
Mike J Innes
93c4a6b4b5
fixes #343
2018-09-04 13:37:54 +01:00
Mike Innes
53be49b102
fix #377
2018-08-28 11:02:38 +01:00
Mike J Innes
fac06751ea
Merge pull request #361 from dhairyagandhi96/with_stop
...
Add stop() to train loop when callback conditions are met
2018-08-28 10:56:15 +01:00
Mike Innes
2ca189bc96
newlines
2018-08-28 10:54:50 +01:00
Dhairya Gandhi
89bca2d98d
remove merge conflicts
2018-08-28 15:14:12 +05:30
Dhairya Gandhi
a964debd8a
fixed example in docs
2018-08-28 15:02:47 +05:30
Johnny Chen
0c4fb9655a
Fix a bug
2018-08-25 15:12:01 +08:00
Johnny Chen
4ac76c35b0
fix MethodError for == and ≈
...
```julia
param([2]).^2 == [4.0]
ERROR: MethodError: ==(::TrackedArray{…,Array{Float64,1}}, ::Array{Float64,1}) is ambiguous. Candidates:
==(x::TrackedArray, y) in Main.Flux.Tracker at /Users/jc/.julia/dev/Flux/src/tracker/array.jl:63
==(A::AbstractArray, B::AbstractArray) in Base at abstractarray.jl:1686
Possible fix, define
==(::TrackedArray, ::AbstractArray)
```
2018-08-25 14:51:40 +08:00
Mike Innes
7d6ec2365f
fixes #367
2018-08-24 14:30:39 +01:00
Mike Innes
86cf22675f
rewrite broadcast
2018-08-24 14:07:08 +01:00
Mike Innes
e13d28a7a2
cruft
2018-08-24 13:44:21 +01:00
Dhairya Gandhi
c035fe22d7
added deprecation warning
2018-08-24 13:08:03 +05:30
Yueh-Hua Tu
634d34686e
Add new constructors and test
2018-08-24 10:31:13 +08:00
Mike J Innes
953280d57f
Merge pull request #364 from boathit/master
...
fix argmax and add test
2018-08-23 15:52:06 +01:00
Mike Innes
dcde6d2217
tweaks
2018-08-23 15:44:28 +01:00
Johnny Chen
7bfe431321
Fix issue #323
2018-08-23 20:58:58 +08:00
boathit
6c97846551
rename argmax as onecold
2018-08-23 20:47:43 +08:00
Mike J Innes
6c355e93d2
Merge pull request #363 from pshashk/patch-1
...
Fix repeat
2018-08-23 11:28:13 +01:00
Mike Innes
9d1d5187f3
fix activations for 1.0
2018-08-23 10:56:31 +01:00
boathit
33c901c191
redo
2018-08-23 16:01:42 +08:00
boathit
5dca80bd68
fix argmax and batch deprecations
2018-08-23 13:17:58 +08:00
Dhairya Gandhi
2f1a9847fa
deprecate :stop from optimizers; housekeeping
2018-08-22 21:25:26 +05:30
Dhairya Gandhi
a7ad620f01
exporting stop
2018-08-22 00:33:30 +05:30
Dhairya Gandhi
3d11322d37
fixed docstring and not exporting stop
2018-08-22 00:29:07 +05:30
Dhairya Gandhi
ed044e2df7
changes as requested
2018-08-21 23:22:20 +05:30
boathit
616ed194df
fix argmax and add test
2018-08-21 11:29:57 +08:00
Mike Innes
216d278e7b
fix mnist loader
2018-08-20 16:57:43 +01:00
Mike Innes
3cfecaa4db
test cleanup
2018-08-20 15:38:25 +01:00
Mike Innes
e68b8765b6
broadcast fixes
2018-08-20 14:41:46 +01:00
pshashk
1115eda6af
repeat fix
...
ERROR: UndefVarError: A not defined
2018-08-20 16:11:56 +03:00
Dhairya Gandhi
1af7a53e1f
housekeeping: removed commented code
2018-08-20 18:10:20 +05:30
Mike Innes
5a023a9ccc
WIP 1.0 support
...
closes #353
2018-08-20 13:08:04 +01:00
Dhairya Gandhi
756207e782
added docs
2018-08-20 14:20:33 +05:30