Flux.jl/test/backend.jl
2017-01-25 18:10:56 +05:30

8 lines
70 B
Julia

xs = rand(20)
d = Affine(20, 10)
dt = tf(d)
@test d(xs) dt(xs)