Johnny Chen
81811a01ce
Update testset for ==, ≈, and <
2018-08-25 14:52:08 +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
4baf85bbe2
update Testset of basic.jl
2018-08-23 22:29:03 +08:00
Johnny Chen
81e5f7c991
Update test/layers/basic.jl
2018-08-23 21:59:41 +08:00
Johnny Chen
c9d6b5648f
Fix issue #354
2018-08-23 21:56:32 +08:00
Johnny Chen
6743d52d08
Fix issue #354
2018-08-23 21:34:11 +08: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 Innes
dfe7578216
test repeat fix
2018-08-23 11:29:43 +01: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 J Innes
930776eb1a
Merge pull request #352 from domluna/mnist-image-init
...
properly initialize MNIST array for 1.0
2018-08-20 19:57:42 +01:00
Mike Innes
216d278e7b
fix mnist loader
2018-08-20 16:57:43 +01:00
Mike J Innes
86683e5991
Merge pull request #362 from FluxML/cuda-1.0
...
1.0 CUDA support
2018-08-20 16:09:02 +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
Mike J Innes
0ef6456903
Merge pull request #356 from domluna/recurrent-fix
...
recurrent bug fixes
2018-08-20 11:27:49 +01:00
Dhairya Gandhi
624dc6cb85
changed training loop test
2018-08-20 15:09:07 +05:30
Dhairya Gandhi
756207e782
added docs
2018-08-20 14:20:33 +05:30
Dhairya Gandhi
51578177a5
removed arguments from StopException
2018-08-20 14:08:23 +05:30
Dhairya Gandhi
df22bc5c8f
removed argument from stop function
2018-08-20 14:02:09 +05:30
Dhairya Gandhi
06db6ed314
housekeeping: fixing typo
2018-08-20 13:48:28 +05:30
Dhairya Gandhi
394b4167ce
moving stop to Optimise
2018-08-20 13:43:08 +05:30
Dhairya Gandhi
06aad375fc
properly importing functions
2018-08-20 13:35:55 +05:30
Dhairya Gandhi
e239eb1105
properly importing functions
2018-08-20 13:30:05 +05:30
Dhairya Gandhi
1228e9c5e2
removed include statement
2018-08-19 22:55:14 +05:30
Dhairya Gandhi
9c98272cf0
catching exception
2018-08-19 17:38:00 +05:30
Dhairya Gandhi
257e2a7d2e
checking exception
2018-08-19 17:11:11 +05:30
Dhairya Gandhi
5c42c8689c
printing expception
2018-08-19 17:04:31 +05:30
Dhairya Gandhi
b0f83f93ff
exported StopException
2018-08-19 16:41:13 +05:30
Dhairya Gandhi
a53a5c8350
exporting stop
2018-08-19 15:31:33 +05:30
Dhairya Gandhi
fbd82a6925
added end
2018-08-19 15:19:45 +05:30
Dhairya Gandhi
8229c8e045
modified training loop
2018-08-19 15:17:07 +05:30