fix test
This commit is contained in:
parent
7a01605aab
commit
ce04a9f3c1
|
@ -2,7 +2,7 @@ xs = randn(10)
|
|||
|
||||
d = Affine(10, 20)
|
||||
|
||||
@test d(xs) == (xs'*d.W.x + d.b.x)[1,:]
|
||||
@test d(xs) ≈ (xs'*d.W.x + d.b.x)[1,:]
|
||||
|
||||
let
|
||||
@capture(syntax(d), _Frame(_Line(x_[1] * W_ + b_)))
|
||||
|
|
Loading…
Reference in New Issue