test normalise
This commit is contained in:
parent
4f6432d133
commit
37385e0dbd
|
@ -180,6 +180,9 @@ end
|
|||
@test gradtest(x -> std(x, dims = 1), rand(5,5))
|
||||
@test gradtest(x -> std(x, dims = 1, corrected = false), rand(5,5))
|
||||
|
||||
@test gradtest(x -> Flux.normalise(x), rand(4,3))
|
||||
@test gradtest(x -> Flux.normalise(x, 1), rand(3,4))
|
||||
|
||||
@test gradtest((x, y) -> x .* y, rand(5), rand(5))
|
||||
@test gradtest(dot, rand(5), rand(5))
|
||||
|
||||
|
|
Loading…
Reference in New Issue