Update test
This commit is contained in:
parent
6a41f823c8
commit
3f6c065523
@ -14,7 +14,7 @@ using Flux.Tracker: TrackedArray, data
|
|||||||
|
|
||||||
@test cpu(data(cy)) ≈ data(y)
|
@test cpu(data(cy)) ≈ data(y)
|
||||||
|
|
||||||
g = ones(size(y)...)
|
g = rand(size(y))
|
||||||
Flux.back!(y, g)
|
Flux.back!(y, g)
|
||||||
Flux.back!(cy, gpu(g))
|
Flux.back!(cy, gpu(g))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user