Skip to content

Commit

Permalink
add premodulo to restrict huge dataset impact
Browse files Browse the repository at this point in the history
  • Loading branch information
neurlang authored and Your Name committed Jan 25, 2025
1 parent ea78365 commit e5958f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo/hashtron_phonemizer_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (r *HashtronPhonemizerRepository) LoadLanguage(isReverse bool, lang string)
//net.NewCombiner(majpool2d.MustNew2(fanout1*fanout2*fanout3*fanout4*fanout5*fanout6*fanout8, 1, fanout7, 1, fanout8, 1, 1, 0))
//net.NewLayerP(fanout1*fanout2*fanout3*fanout4*fanout5*fanout6, 0, 1<<(fanout6*fanout6*2/3))
//net.NewCombiner(majpool2d.MustNew2(fanout1*fanout2*fanout3*fanout4*fanout6, 1, fanout5, 1, fanout6, 1, 1, 0))
net.NewLayer(fanout1*fanout2*fanout3*fanout4, 0)
net.NewLayerP(fanout1*fanout2*fanout3*fanout4, 0, 1<<13)
net.NewCombiner(majpool2d.MustNew2(fanout1*fanout2*fanout4, 1, fanout3, 1, fanout4, 1, 1, 0))
net.NewLayer(fanout1*fanout2, 0)
//net.NewCombiner(full.MustNew(fanout2, 1, 1))
Expand Down

0 comments on commit e5958f8

Please sign in to comment.