cleanup
This commit is contained in:
parent
2a4b39054f
commit
52d3ab148e
@ -4,9 +4,7 @@ d = Affine(10, 20)
|
|||||||
|
|
||||||
@test d(xs) == xs*d.W.x + d.b.x
|
@test d(xs) == xs*d.W.x + d.b.x
|
||||||
|
|
||||||
@testset begin
|
let
|
||||||
@capture(syntax(d), x_[1] * W_ + b_)
|
@capture(syntax(d), x_[1] * W_ + b_)
|
||||||
@test isa(x, Input)
|
@test isa(x, Input) && isa(W, Param) && isa(b, Param)
|
||||||
@test isa(W, Param)
|
|
||||||
@test isa(b, Param)
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user