Skip to content

Commit

Permalink
bug fix for CRF test
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasvaidhyadev committed Aug 24, 2020
1 parent c56b65b commit 808c8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/crf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ using TextAnalysis: score_sequence, forward_score
opt = Descent(0.01)
data = zip(X, Y)

ps = params(params(lstm)..., params(d_out)..., params(c)...)
ps = Tracker.params(Tracker.params(lstm)..., Tracker.params(d_out)..., Tracker.params(c)...)

function train()
for d in data
Expand Down

0 comments on commit 808c8a8

Please sign in to comment.